Skip to content

Commit ca5d195

Browse files
authored
chore: remove environment on failure (#93)
downward spiral. If test fails, the namespace stays, more namespaces stay, and then even more tests will fail
1 parent 3cb22b7 commit ca5d195

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/deploy-and-e2e.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ jobs:
276276
cleanup-stack-docker:
277277
needs: [test, debug]
278278
runs-on: ubuntu-24.04
279-
if: always() && needs.debug.outputs.keep_e2e == 'false' && needs.debug.outputs.runtime == 'docker' && needs.test.result == 'success'
279+
if: always() && needs.debug.outputs.keep_e2e == 'false' && needs.debug.outputs.runtime == 'docker'
280280
env:
281281
stack: ${{ github.event.client_payload.stack || inputs.stack }}
282282
keep_e2e: ${{ github.event.client_payload.keep-e2e || inputs.keep-e2e }}
@@ -310,7 +310,7 @@ jobs:
310310
runs-on: [self-hosted]
311311
env:
312312
ENV: ${{ github.event.client_payload.stack || inputs.stack }}
313-
if: always() && needs.debug.outputs.keep_e2e == 'false' && needs.debug.outputs.runtime == 'k8s' && needs.test.result == 'success'
313+
if: always() && needs.debug.outputs.keep_e2e == 'false' && needs.debug.outputs.runtime == 'k8s'
314314
steps:
315315
- name: Checkout repo
316316
uses: actions/checkout@v4

0 commit comments

Comments
 (0)