From 8f47d95ca0019ac99d6020c0b168a590e7f090df Mon Sep 17 00:00:00 2001 From: nwaiyatharee Date: Fri, 27 Sep 2024 22:38:33 +0700 Subject: [PATCH] test(e2e): update kind and k8s image Signed-off-by: nwaiyatharee --- .github/workflows/ci.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8eec33ab..8cdd5ba9 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -93,6 +93,9 @@ jobs: restore-keys: ${{ runner.os }}-pkg- - name: Create k8s Kind Cluster uses: helm/kind-action@v1.2.0 + with: + version: v0.24.0 + node_image: kindest/node:v1.29.8 - name: Build Image run: | make image @@ -135,6 +138,9 @@ jobs: run: curl -L https://raw.githubusercontent.com/open-cluster-management-io/clusteradm/main/install.sh | bash - name: Create k8s Kind Cluster uses: helm/kind-action@v1.2.0 + with: + version: v0.24.0 + node_image: kindest/node:v1.29.8 - name: Prepare OCM testing environment run: | clusteradm init --output-join-command-file join.sh --wait @@ -152,6 +158,11 @@ jobs: cluster-gateway ./charts/addon-manager \ --set tag=latest go run ./e2e/env/prepare | kubectl apply -f - + kubectl get managedclusteraddons.addon.open-cluster-management.io -A + kubectl get managedclusters.cluster.open-cluster-management.io + kubectl get virtualclusters.cluster.core.oam.dev + kubectl get clustergateway + kubectl get --raw '/apis/cluster.core.oam.dev/v1alpha1/clustergateways/loopback/proxy/healthz' -v=9 - name: Run e2e test run: | make test-e2e-ocm