From bd090d13c5187154a174d0eed3ed5514d5b95d0e Mon Sep 17 00:00:00 2001 From: Artur Troian Date: Wed, 9 Aug 2023 11:38:15 -0400 Subject: [PATCH] refactor(ci): use helm/kind-action for e2e Signed-off-by: Artur Troian --- .github/workflows/integration-tests.yaml | 6 ++++-- go.mod | 2 +- go.sum | 4 ++-- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/integration-tests.yaml b/.github/workflows/integration-tests.yaml index e02e5f2a..572b5996 100644 --- a/.github/workflows/integration-tests.yaml +++ b/.github/workflows/integration-tests.yaml @@ -35,11 +35,13 @@ jobs: run: make chmod-akash-scripts - name: Prepare images run: make -s -C _run/kube kube-prepare-images - - uses: engineerd/setup-kind@v0.5.0 + - uses: helm/kind-action@v1 with: version: "${{ env.KIND_VERSION }}" - image: "kindest/node:${{ env.KINDEST_VERSION }}" + node_image: "kindest/node:${{ env.KINDEST_VERSION }}" + cluster_name: "kube" config: ./_run/kube/kind-config.yaml + - run: kubectl get nodes - name: Setup Ingress K8S run: KUSTOMIZE_INSTALLS=akash-operator-inventory make -s -C _run/kube kube-cluster-setup-e2e-ci - name: k8s-ingress diff --git a/go.mod b/go.mod index 7d69afa4..40c91112 100644 --- a/go.mod +++ b/go.mod @@ -37,7 +37,7 @@ require ( k8s.io/code-generator v0.26.1 k8s.io/kubectl v0.24.2 k8s.io/metrics v0.24.2 - sigs.k8s.io/kind v0.17.0 + sigs.k8s.io/kind v0.20.0 ) replace ( diff --git a/go.sum b/go.sum index ff266f29..4e7d43cb 100644 --- a/go.sum +++ b/go.sum @@ -2651,8 +2651,8 @@ sigs.k8s.io/json v0.0.0-20211020170558-c049b76a60c6/go.mod h1:p4QtZmO4uMYipTQNza sigs.k8s.io/json v0.0.0-20211208200746-9f7c6b3444d2/go.mod h1:B+TnT182UBxE84DiCz4CVE26eOSDAeYCpfDnC2kdKMY= sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2 h1:iXTIw73aPyC+oRdyqqvVJuloN1p0AC/kzH07hu3NE+k= sigs.k8s.io/json v0.0.0-20220713155537-f223a00ba0e2/go.mod h1:B8JuhiUyNFVKdsE8h686QcCxMaH6HrOAZj4vswFpcB0= -sigs.k8s.io/kind v0.17.0 h1:CScmGz/wX66puA06Gj8OZb76Wmk7JIjgWf5JDvY7msM= -sigs.k8s.io/kind v0.17.0/go.mod h1:Qqp8AiwOlMZmJWs37Hgs31xcbiYXjtXlRBSftcnZXQk= +sigs.k8s.io/kind v0.20.0 h1:f0sc3v9mQbGnjBUaqSFST1dwIuiikKVGgoTwpoP33a8= +sigs.k8s.io/kind v0.20.0/go.mod h1:aBlbxg08cauDgZ612shr017/rZwqd7AS563FvpWKPVs= sigs.k8s.io/kustomize/api v0.11.4/go.mod h1:k+8RsqYbgpkIrJ4p9jcdPqe8DprLxFUUO0yNOq8C+xI= sigs.k8s.io/kustomize/cmd/config v0.10.6/go.mod h1:/S4A4nUANUa4bZJ/Edt7ZQTyKOY9WCER0uBS1SW2Rco= sigs.k8s.io/kustomize/kustomize/v4 v4.5.4/go.mod h1:Zo/Xc5FKD6sHl0lilbrieeGeZHVYCA4BzxeAaLI05Bg=