Skip to content

Commit

Permalink
Papercut[3]: Attempt to delete Prow clusters that fail to create
Browse files Browse the repository at this point in the history
Signed-off-by: Connor Catlett <[email protected]>
  • Loading branch information
ConnorJC3 committed Feb 14, 2024
1 parent e9b2a94 commit 70de213
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions hack/prow-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,12 @@ export KOPS_BUCKET=${KOPS_BUCKET:-"k8s-kops-csi-shared-e2e"}
# Always use us-west-2 in CI, no matter where the local client is
export AWS_REGION=us-west-2

make cluster/create || exit 1
make e2e/${TEST}
E2E_PASSED=$?
if make cluster/create; then
make e2e/${TEST}
E2E_PASSED=$?
else
E2E_PASSED=1
fi
make cluster/delete

echo "E2E_PASSED: ${E2E_PASSED}"
Expand Down

0 comments on commit 70de213

Please sign in to comment.