Skip to content

Commit

Permalink
ci: add skip-undeploy to peerpods test
Browse files Browse the repository at this point in the history
  • Loading branch information
burgerdev committed Dec 6, 2024
1 parent 086294c commit 949fb68
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/e2e_peerpods.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@ on:
image-id:
description: "ID of the guest VM image to test (default: build a fresh image)"
required: false
skip-undeploy:
description: "Skip undeploy"
required: false
type: boolean
default: false
pull_request:
paths:
- .github/workflows/e2e_peerpods.yml
Expand Down Expand Up @@ -56,6 +61,6 @@ jobs:
EOF
nix run .#scripts.test-peerpods
- name: Terminate cluster
if: always()
if: always() && !inputs.skip-undeploy
run: |
nix run -L .#terraform -- -chdir=infra/azure-peerpods destroy --auto-approve

0 comments on commit 949fb68

Please sign in to comment.