1313
1414jobs :
1515 conform-kubernetes :
16- # Hosted on Equinix
17- # Docs: https://github.com/fluxcd/flux2/tree/main/.github/runners
18- runs-on : [self-hosted, Linux, ARM64, equinix]
16+ runs-on :
17+ group : " ARM64"
1918 strategy :
2019 matrix :
2120 # Keep this list up-to-date with https://endoflife.date/kubernetes
@@ -40,18 +39,15 @@ jobs:
4039 - name : Build
4140 run : |
4241 make build
43- - name : Setup Kubernetes Kind
44- run : |
45- kind create cluster \
46- --wait 5m \
47- --name ${{ steps.prep.outputs.CLUSTER }} \
48- --kubeconfig=/tmp/${{ steps.prep.outputs.CLUSTER }} \
49- --image=ghcr.io/fluxcd/kindest/node:v${{ matrix.KUBERNETES_VERSION }}-arm64
42+ - name : Setup Kubernetes
43+ uses : helm/kind-action@0025e74a8c7512023d06dc019c617aa3cf561fde # v1.10.0
44+ with :
45+ version : v0.22.0
46+ cluster_name : ${{ steps.prep.outputs.CLUSTER }}
47+ node_image : ghcr.io/fluxcd/kindest/node:v${{ matrix.KUBERNETES_VERSION }}-arm64
5048 - name : Run e2e tests
51- run : TEST_KUBECONFIG=/tmp/${{ steps.prep.outputs.CLUSTER }} make e2e
49+ run : TEST_KUBECONFIG=$HOME/.kube/config make e2e
5250 - name : Run multi-tenancy tests
53- env :
54- KUBECONFIG : /tmp/${{ steps.prep.outputs.CLUSTER }}
5551 run : |
5652 ./bin/flux install
5753 ./bin/flux create source git flux-system \
@@ -68,18 +64,11 @@ jobs:
6864 kubectl -n apps wait helmrelease/podinfo --for=condition=ready --timeout=1m
6965 - name : Debug failure
7066 if : failure()
71- env :
72- KUBECONFIG : /tmp/${{ steps.prep.outputs.CLUSTER }}
7367 run : |
7468 kubectl -n flux-system get all
7569 kubectl -n flux-system describe po
7670 kubectl -n flux-system logs deploy/source-controller
7771 kubectl -n flux-system logs deploy/kustomize-controller
78- - name : Cleanup
79- if : always()
80- run : |
81- kind delete cluster --name ${{ steps.prep.outputs.CLUSTER }}
82- rm /tmp/${{ steps.prep.outputs.CLUSTER }}
8372
8473 conform-k3s :
8574 runs-on : ubuntu-latest
0 commit comments