From 60684d720674259c89a52363ba2c94871d745911 Mon Sep 17 00:00:00 2001 From: Liora Milbaum Date: Sat, 4 May 2024 01:18:53 +0300 Subject: [PATCH] Build and Install Bootc Image Signed-off-by: Liora Milbaum --- .github/workflows/training-e2e.yaml | 1 + training/provision/playbook.yml | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/training-e2e.yaml b/.github/workflows/training-e2e.yaml index 6f0038725..dd599649b 100644 --- a/.github/workflows/training-e2e.yaml +++ b/.github/workflows/training-e2e.yaml @@ -10,6 +10,7 @@ on: - main paths: - .github/workflows/training-e2e.yaml + - training workflow_dispatch: diff --git a/training/provision/playbook.yml b/training/provision/playbook.yml index c40be8e62..878f0c63a 100644 --- a/training/provision/playbook.yml +++ b/training/provision/playbook.yml @@ -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: @@ -54,3 +54,4 @@ - name: Restart instance ansible.builtin.reboot: test_command: which ilab + remote_user: root