From ff94f45bd98a9acef78f496f37fcfc4b733855ba Mon Sep 17 00:00:00 2001 From: Joel Studler Date: Thu, 6 Mar 2025 08:33:17 +0100 Subject: [PATCH 1/2] Remove duplicate start kind cluster (kind cluster implicitly created in make test-e2e-* --- .github/workflows/e2e-tests.yaml | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/.github/workflows/e2e-tests.yaml b/.github/workflows/e2e-tests.yaml index b8ee4f25..1e88bfd9 100644 --- a/.github/workflows/e2e-tests.yaml +++ b/.github/workflows/e2e-tests.yaml @@ -25,14 +25,6 @@ jobs: - name: Import environment variables from file run: | cat ".github/env" >> "$GITHUB_ENV" - - name: Start kind cluster - uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1.12.0 - with: - version: ${{ env.kind-version }} - node_image: ${{ env.kind-image }} - wait: 300s - config: ./tests/e2e/kind-config.yaml - cluster_name: e2e - name: Wait for cluster to finish bootstraping run: | echo "Waiting for all nodes to be ready..." @@ -57,14 +49,6 @@ jobs: - name: Import environment variables from file run: | cat ".github/env" >> "$GITHUB_ENV" - - name: Start kind cluster - uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1.12.0 - with: - version: ${{ env.kind-version }} - node_image: ${{ env.kind-image }} - wait: 300s - config: ./tests/e2e/kind-config.yaml - cluster_name: e2e - name: Wait for cluster to finish bootstraping run: | echo "Waiting for all nodes to be ready..." @@ -89,14 +73,6 @@ jobs: - name: Import environment variables from file run: | cat ".github/env" >> "$GITHUB_ENV" - - name: Start kind cluster - uses: helm/kind-action@a1b0e391336a6ee6713a0583f8c6240d70863de3 # v1.12.0 - with: - version: ${{ env.kind-version }} - node_image: ${{ env.kind-image }} - wait: 300s - config: ./tests/e2e/kind-config.yaml - cluster_name: e2e - name: Wait for cluster to finish bootstraping run: | echo "Waiting for all nodes to be ready..." From bcfb28a755da51151b411848bfcd81273b013045 Mon Sep 17 00:00:00 2001 From: Joel Studler Date: Thu, 6 Mar 2025 08:38:12 +0100 Subject: [PATCH 2/2] Remove duplicate wait for kind cluster --- .github/workflows/e2e-tests.yaml | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/.github/workflows/e2e-tests.yaml b/.github/workflows/e2e-tests.yaml index 1e88bfd9..047ffff3 100644 --- a/.github/workflows/e2e-tests.yaml +++ b/.github/workflows/e2e-tests.yaml @@ -25,16 +25,6 @@ jobs: - name: Import environment variables from file run: | cat ".github/env" >> "$GITHUB_ENV" - - name: Wait for cluster to finish bootstraping - run: | - echo "Waiting for all nodes to be ready..." - kubectl wait --for=condition=Ready nodes --all --timeout=120s - kubectl get nodes - echo "Waiting for all pods to be ready..." - kubectl wait --for=condition=Ready pods --all --all-namespaces --timeout=300s - kubectl get pods -A - echo "Cluster information" - kubectl cluster-info - name: Run e2e tests run: | make test-e2e-3.7.8 @@ -49,16 +39,6 @@ jobs: - name: Import environment variables from file run: | cat ".github/env" >> "$GITHUB_ENV" - - name: Wait for cluster to finish bootstraping - run: | - echo "Waiting for all nodes to be ready..." - kubectl wait --for=condition=Ready nodes --all --timeout=120s - kubectl get nodes - echo "Waiting for all pods to be ready..." - kubectl wait --for=condition=Ready pods --all --all-namespaces --timeout=300s - kubectl get pods -A - echo "Cluster information" - kubectl cluster-info - name: Run e2e tests run: | make test-e2e-4.0.11 @@ -73,16 +53,6 @@ jobs: - name: Import environment variables from file run: | cat ".github/env" >> "$GITHUB_ENV" - - name: Wait for cluster to finish bootstraping - run: | - echo "Waiting for all nodes to be ready..." - kubectl wait --for=condition=Ready nodes --all --timeout=120s - kubectl get nodes - echo "Waiting for all pods to be ready..." - kubectl wait --for=condition=Ready pods --all --all-namespaces --timeout=300s - kubectl get pods -A - echo "Cluster information" - kubectl cluster-info - name: Run e2e tests run: | make test-e2e-4.1.8