File tree Expand file tree Collapse file tree 1 file changed +4
-19
lines changed Expand file tree Collapse file tree 1 file changed +4
-19
lines changed Original file line number Diff line number Diff line change @@ -29,19 +29,10 @@ jobs:
2929 run : mkdir -p test/output
3030
3131 - name : Create k3s cluster
32- id : create-cluster
33- uses : replicatedhq/compatibility-actions/create-cluster@v1
32+ id : k3s
33+ uses : replicatedhq/action-k3s@main
3434 with :
35- api-token : ${{ secrets.REPLICATED_API_TOKEN }}
36- kubernetes-distribution : k3s
37- cluster-name : regression-${{ github.run_id }}-${{ github.run_attempt }}
38- ttl : 25m
39- timeout-minutes : 5
40-
41- - name : Configure kubeconfig
42- run : |
43- echo "${{ steps.create-cluster.outputs.cluster-kubeconfig }}" > $GITHUB_WORKSPACE/kubeconfig.yaml
44- echo "KUBECONFIG=$GITHUB_WORKSPACE/kubeconfig.yaml" >> $GITHUB_ENV
35+ version : v1.31.2-k3s1
4536
4637 - name : Verify cluster access
4738 run : kubectl get nodes -o wide
@@ -284,10 +275,4 @@ jobs:
284275 git push
285276
286277 # 6. CLEANUP
287- - name : Remove cluster
288- if : always()
289- uses : replicatedhq/compatibility-actions/remove-cluster@v1
290- continue-on-error : true
291- with :
292- api-token : ${{ secrets.REPLICATED_API_TOKEN }}
293- cluster-id : ${{ steps.create-cluster.outputs.cluster-id }}
278+ # Note: k3s cluster cleanup is handled automatically by the action
You can’t perform that action at this time.
0 commit comments