Skip to content

Commit 80e090d

Browse files
committed
ci, e2e tests: provide crio target
Signed-off-by: Miguel Duarte Barroso <[email protected]>
1 parent 772b876 commit 80e090d

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

.github/workflows/e2e-crio.yaml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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: Setup kind cluster
28+
run: hack/e2e-crio-cluster-setup.sh
29+
30+
- name: Test - provisioning the examples
31+
run: e2e/test-provisioning-examples.sh
32+
33+
- name: Cleanup cluster
34+
run: |
35+
kind delete cluster # gracefully remove the cluster
36+
docker rm -f $(docker ps -qa) # remove the registry + any leftover

0 commit comments

Comments
 (0)