Skip to content

Commit 4a27723

Browse files
committed
re-enable teardown
1 parent 8b3c58c commit 4a27723

File tree

1 file changed

+27
-27
lines changed

1 file changed

+27
-27
lines changed

.github/workflows/stage-4-acceptance.yaml

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -227,30 +227,30 @@ jobs:
227227
with:
228228
name: e2e test report
229229
path: "tests/test-team/playwright-report"
230-
# sandbox-tear-down:
231-
# name: "Sandbox tear down"
232-
# if: success() || failure()
233-
# runs-on: ubuntu-latest
234-
# needs:
235-
# - test-accessibility
236-
# - test-ui-component
237-
# - test-api
238-
# - test-e2e
239-
# environment: dev
240-
# steps:
241-
# - uses: hashicorp/setup-terraform@v3
242-
# - uses: asdf-vm/actions/setup@v3
243-
# - name: "Checkout code"
244-
# uses: actions/checkout@v4
245-
# - name: Configure AWS credentials
246-
# uses: aws-actions/configure-aws-credentials@v4
247-
# with:
248-
# role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/${{ secrets.AWS_ASSUME_ROLE_NAME }}
249-
# role-session-name: templates-ci-sandbox-teardown
250-
# aws-region: eu-west-2
251-
# - name: "Get normalized branch name"
252-
# id: normalize_branch_name
253-
# uses: ./.github/actions/normalize-branch-name
254-
# - name: "Destroy Backend sandbox"
255-
# run: |
256-
# npm run destroy-backend-sandbox ${{ steps.normalize_branch_name.outputs.normalized_branch_name }}
230+
sandbox-tear-down:
231+
name: "Sandbox tear down"
232+
if: success() || failure()
233+
runs-on: ubuntu-latest
234+
needs:
235+
- test-accessibility
236+
- test-ui-component
237+
- test-api
238+
- test-e2e
239+
environment: dev
240+
steps:
241+
- uses: hashicorp/setup-terraform@v3
242+
- uses: asdf-vm/actions/setup@v3
243+
- name: "Checkout code"
244+
uses: actions/checkout@v4
245+
- name: Configure AWS credentials
246+
uses: aws-actions/configure-aws-credentials@v4
247+
with:
248+
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/${{ secrets.AWS_ASSUME_ROLE_NAME }}
249+
role-session-name: templates-ci-sandbox-teardown
250+
aws-region: eu-west-2
251+
- name: "Get normalized branch name"
252+
id: normalize_branch_name
253+
uses: ./.github/actions/normalize-branch-name
254+
- name: "Destroy Backend sandbox"
255+
run: |
256+
npm run destroy-backend-sandbox ${{ steps.normalize_branch_name.outputs.normalized_branch_name }}

0 commit comments

Comments
 (0)