-
Notifications
You must be signed in to change notification settings - Fork 13
43 lines (34 loc) · 988 Bytes
/
e2e-containerd.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: End-to-end tests (containerd)
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
e2e-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v4
with:
python-version: 3.x
- run: |
pip3 install --user --upgrade jinjanator
j2 --version
- uses: actions/checkout@v3
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: 1.22
- name: Setup kind cluster
run: hack/e2e-kind-cluster-setup.sh
- name: Test provisioning examples
run: e2e/test-provisioning-examples.sh
- name: Run e2e tests
env:
KUBECONFIG: /home/runner/.kube/config
LOWER_DEVICE: eth1
run: make e2e/test
- name: Cleanup cluster
run: |
kind delete cluster # gracefully remove the cluster
docker rm -f $(docker ps -qa) # remove the registry + any leftover