Skip to content

Commit

Permalink
ci, e2e tests: provide crio target
Browse files Browse the repository at this point in the history
Signed-off-by: Miguel Duarte Barroso <[email protected]>
  • Loading branch information
maiqueb committed Oct 26, 2022
1 parent 17b3b93 commit 8fbe980
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/e2e-crio.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: e2e tests - crio

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v2
with:
python-version: 3.x

- run: |
pip3 install --user --upgrade j2cli
j2 --version
- uses: actions/checkout@v3

- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.18

- name: Install qemu dependencies
uses: docker/setup-qemu-action@v2

- name: Setup kubevirtci cluster
run: hack/e2e-crio-cluster-setup.sh

- name: Test - provisioning the examples
run: e2e/test-provisioning-examples.sh

- name: Cleanup cluster
run: |
kind delete cluster # gracefully remove the cluster
docker rm -f $(docker ps -qa) # remove the registry + any leftover

0 comments on commit 8fbe980

Please sign in to comment.