Skip to content

Commit

Permalink
restart test environment instance after bootc install
Browse files Browse the repository at this point in the history
Signed-off-by: Liora Milbaum <[email protected]>
  • Loading branch information
lmilbaum committed May 2, 2024
1 parent 00a213a commit 1f60f9e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Bootc Images Testing Framework
name: traning E2E

on:
schedule: # schedule the job to run every day at midnight
Expand All @@ -9,7 +9,7 @@ on:
branches:
- main
paths:
- .github/workflows/bootc_testing_framework.yaml
- .github/workflows/training-e2e.yaml

workflow_dispatch:

Expand All @@ -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:
Expand Down
4 changes: 4 additions & 0 deletions training/provision/playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 1f60f9e

Please sign in to comment.