diff --git a/.github/workflows/bootc_testing_framework.yaml b/.github/workflows/training-e2e.yaml similarity index 96% rename from .github/workflows/bootc_testing_framework.yaml rename to .github/workflows/training-e2e.yaml index 29125edb5..2a67c653c 100644 --- a/.github/workflows/bootc_testing_framework.yaml +++ b/.github/workflows/training-e2e.yaml @@ -1,4 +1,4 @@ -name: Bootc Images Testing Framework +name: traning E2E on: schedule: # schedule the job to run every day at midnight @@ -9,7 +9,7 @@ on: branches: - main paths: - - .github/workflows/bootc_testing_framework.yaml + - .github/workflows/training-e2e.yaml workflow_dispatch: @@ -26,7 +26,7 @@ concurrency: cancel-in-progress: false jobs: - integration-tests: + e2e: if: github.repository == 'containers/ai-lab-recipes' runs-on: ubuntu-22.04 strategy: diff --git a/training/provision/playbook.yml b/training/provision/playbook.yml index 746e39a24..566afc6df 100644 --- a/training/provision/playbook.yml +++ b/training/provision/playbook.yml @@ -37,3 +37,7 @@ privileged: yes pid_mode: host command: "bootc install to-filesystem --karg=console=ttyS0,115200n8 --replace=alongside /target" + + - name: Restart instance + ansible.builtin.reboot: + test_command: pwd