-
Notifications
You must be signed in to change notification settings - Fork 30
50 lines (42 loc) · 1.25 KB
/
kind-e2e.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
44
45
46
47
48
49
50
name: e2e
on:
pull_request:
branches: [ 'main' ]
jobs:
kind:
runs-on: ubuntu-latest
strategy:
fail-fast: false # Keep running if one leg fails.
matrix:
k8s-version:
- v1.28.x
- v1.29.x
ingress:
- istio
- contour
env:
KO_DOCKER_REPO: kind.local
# Use a semi-random cluster suffix, but somewhat predictable
# so reruns don't just give us a completely new value.
CLUSTER_SUFFIX: c${{ github.run_id }}.local
steps:
- uses: knative/actions/setup-go@main
- uses: ko-build/setup-ko@v0.6
- uses: chainguard-dev/actions/setup-kind@main
with:
k8s-version: ${{ matrix.k8s-version }}
kind-worker-count: 3
- uses: actions/checkout@v4
- name: test
run: |
./test/e2e-tests.sh \
--${{ matrix.ingress }} \
--run-tests \
--kind \
--skip-dump-on-failure
- uses: chainguard-dev/actions/kind-diag@main
if: ${{ failure() }}
with:
cluster-resources: nodes,namespaces,crds,gatewayclass
namespace-resources: pods,svc,king,gateway,httproute,referencegrant,tcproute,tlsroute,udproute
artifact-name: logs-${{ matrix.k8s-version}}-${{ matrix.ingress }}