Skip to content

Commit 3677cf5

Browse files
committed
Always remove test cluster
1 parent 08e73dd commit 3677cf5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build-image-deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
-e cluster_name="caas-ci-${GITHUB_SHA::7}" \
9090
slurm-infra.yml
9191
if: |
92-
( failure() || cancelled() ) &&
92+
( success() || failure() || cancelled() ) &&
9393
steps.build.outcome == 'success'
9494
9595
- name: Delete built image after testing
@@ -125,4 +125,4 @@ jobs:
125125
with:
126126
name: packer-build-log
127127
path: ${{ github.workspace }}/packer-build.log
128-
if: failure() || success()
128+
if: failure() || success()

0 commit comments

Comments
 (0)