Skip to content

Commit 8fbe980

Browse files
committed
ci, e2e tests: provide crio target
Signed-off-by: Miguel Duarte Barroso <[email protected]>
1 parent 17b3b93 commit 8fbe980

File tree

1 file changed

+39
-0
lines changed

1 file changed

+39
-0
lines changed

.github/workflows/e2e-crio.yaml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: e2e tests - crio
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/setup-python@v2
14+
with:
15+
python-version: 3.x
16+
17+
- run: |
18+
pip3 install --user --upgrade j2cli
19+
j2 --version
20+
- uses: actions/checkout@v3
21+
22+
- name: Set up Go
23+
uses: actions/setup-go@v3
24+
with:
25+
go-version: 1.18
26+
27+
- name: Install qemu dependencies
28+
uses: docker/setup-qemu-action@v2
29+
30+
- name: Setup kubevirtci cluster
31+
run: hack/e2e-crio-cluster-setup.sh
32+
33+
- name: Test - provisioning the examples
34+
run: e2e/test-provisioning-examples.sh
35+
36+
- name: Cleanup cluster
37+
run: |
38+
kind delete cluster # gracefully remove the cluster
39+
docker rm -f $(docker ps -qa) # remove the registry + any leftover

0 commit comments

Comments
 (0)