Skip to content

Commit

Permalink
Build and Install Bootc Image
Browse files Browse the repository at this point in the history
Signed-off-by: Liora Milbaum <[email protected]>
  • Loading branch information
lmilbaum committed May 3, 2024
1 parent e9d5aa8 commit 60684d7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/training-e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ on:
- main
paths:
- .github/workflows/training-e2e.yaml
- training

workflow_dispatch:

Expand Down
3 changes: 2 additions & 1 deletion training/provision/playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
register: build_result
ansible.builtin.shell: |
podman build -t derived_image:latest -f /tmp/Containerfile --authfile=/etc/containers/auth.json .
podman run --rm --privileged --pid=host --security-opt label=type:unconfined_t -v /:/target -v /var/lib/containers:/var/lib/containers derived_image:latest bootc install to-filesystem --karg=console=ttyS0,115200n8 --replace=alongside /target
# podman run --rm --privileged --pid=host --security-opt label=type:unconfined_t -v /:/target -v /var/lib/containers:/var/lib/containers derived_image:latest bootc install to-filesystem --karg=console=ttyS0,115200n8 --replace=alongside /target
- name: Check on Build and Install Bootc Image
async_status:
Expand All @@ -54,3 +54,4 @@
- name: Restart instance
ansible.builtin.reboot:
test_command: which ilab
remote_user: root

0 comments on commit 60684d7

Please sign in to comment.