Skip to content

Commit 976fbe5

Browse files
committed
[NDR-323] Run E2E tests on pre prod deploy
1 parent 7f097db commit 976fbe5

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

.github/workflows/full-deploy-to-pre-prod.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,3 +133,12 @@ jobs:
133133
sandbox: pre-prod
134134
secrets:
135135
AWS_ASSUME_ROLE: ${{ secrets.AWS_ASSUME_ROLE }}
136+
137+
run_e2e_tests:
138+
name: Run E2E Tests
139+
needs: ["deploy_all_lambdas", "deploy_ui", "deploy_data_collection"]
140+
uses: ./.github/workflows/ndr-e2e-test-sandbox.yml
141+
with:
142+
build_branch: ${{ needs.tag_and_release.outputs.version }}
143+
environment: pre-prod
144+
sandbox: pre-prod

.github/workflows/ndr-e2e-test-sandbox.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,21 @@ on:
1818
type: string
1919
default: development
2020

21+
workflow_call:
22+
inputs:
23+
build_branch:
24+
required: true
25+
type: string
26+
sandbox:
27+
required: true
28+
type: string
29+
environment:
30+
required: true
31+
type: string
32+
secrets:
33+
AWS_ASSUME_ROLE:
34+
35+
2136
permissions:
2237
pull-requests: write
2338
id-token: write

0 commit comments

Comments
 (0)