mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-04-20 23:36:29 -04:00
cleanup after failure or cancel
This commit is contained in:
parent
79d3781f3e
commit
92f13a6e5c
8
.github/actions/e2e_mini/action.yml
vendored
8
.github/actions/e2e_mini/action.yml
vendored
@ -38,9 +38,17 @@ runs:
|
||||
|
||||
- name: MiniConstellation E2E
|
||||
shell: bash
|
||||
id: e2e-test
|
||||
env:
|
||||
ARM_CLIENT_ID: ${{ inputs.azureClientID }}
|
||||
ARM_SUBSCRIPTION_ID: ${{ inputs.azureSubscriptionID }}
|
||||
ARM_TENANT_ID: ${{ inputs.azureTenantID }}
|
||||
run: |
|
||||
bazel run --test_timeout=14400 //e2e/miniconstellation:push_remote_test
|
||||
|
||||
- name: Clean up after failure
|
||||
shell: bash
|
||||
# clean up if e2e test failed or if the run was cancelled
|
||||
if: (failure() && steps.e2e-test.conclusion == 'failure') || cancelled()
|
||||
run: |
|
||||
terraform destroy -auto-approve
|
||||
|
Loading…
x
Reference in New Issue
Block a user