From 298092116768608aa7d3cb874c475140574c8546 Mon Sep 17 00:00:00 2001 From: Xav Paice Date: Mon, 24 Nov 2025 16:38:38 +1300 Subject: [PATCH] update cluster creation action in regression-test.yaml --- .github/workflows/regression-test.yaml | 23 ++++------------------- 1 file changed, 4 insertions(+), 19 deletions(-) diff --git a/.github/workflows/regression-test.yaml b/.github/workflows/regression-test.yaml index 3cdb5cb81..10a4d94c2 100644 --- a/.github/workflows/regression-test.yaml +++ b/.github/workflows/regression-test.yaml @@ -29,19 +29,10 @@ jobs: run: mkdir -p test/output - name: Create k3s cluster - id: create-cluster - uses: replicatedhq/compatibility-actions/create-cluster@v1 + id: k3s + uses: replicatedhq/action-k3s@main with: - api-token: ${{ secrets.REPLICATED_API_TOKEN }} - kubernetes-distribution: k3s - cluster-name: regression-${{ github.run_id }}-${{ github.run_attempt }} - ttl: 25m - timeout-minutes: 5 - - - name: Configure kubeconfig - run: | - echo "${{ steps.create-cluster.outputs.cluster-kubeconfig }}" > $GITHUB_WORKSPACE/kubeconfig.yaml - echo "KUBECONFIG=$GITHUB_WORKSPACE/kubeconfig.yaml" >> $GITHUB_ENV + version: v1.31.2-k3s1 - name: Verify cluster access run: kubectl get nodes -o wide @@ -284,10 +275,4 @@ jobs: git push # 6. CLEANUP - - name: Remove cluster - if: always() - uses: replicatedhq/compatibility-actions/remove-cluster@v1 - continue-on-error: true - with: - api-token: ${{ secrets.REPLICATED_API_TOKEN }} - cluster-id: ${{ steps.create-cluster.outputs.cluster-id }} + # Note: k3s cluster cleanup is handled automatically by the action