Skip to content

Commit

Permalink
Merge pull request #838 from aws-observability/thpierce-patch-2
Browse files Browse the repository at this point in the history
Clean up E2E Operator resources if tests fail or are cancelled
  • Loading branch information
thpierce authored Jul 10, 2024
2 parents 90901b1 + 7922a65 commit a359284
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/e2e-tests-with-operator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ jobs:
# file locks are being held from SIGTERMS dispatched in previous
# steps.
- name: Destroy resources
if: ${{ cancelled() }}
if: ${{ cancelled() || failure() }}
shell: bash {0}
working-directory: testing-framework/terraform
run: |
Expand All @@ -209,4 +209,4 @@ jobs:
success: ${{ needs.run-batch-job.result == 'success' }}
region: us-west-2
secrets:
roleArn: ${{ secrets.METRICS_ROLE_ARN }}
roleArn: ${{ secrets.METRICS_ROLE_ARN }}

0 comments on commit a359284

Please sign in to comment.