File tree Expand file tree Collapse file tree 6 files changed +33
-41
lines changed
Expand file tree Collapse file tree 6 files changed +33
-41
lines changed Original file line number Diff line number Diff line change 1616 required : false
1717 default : " patch"
1818 type : string
19- secrets : {}
19+ secrets : inherit
2020
2121jobs :
2222 metadata :
Original file line number Diff line number Diff line change @@ -130,12 +130,8 @@ jobs:
130130 title: "Pushed to main"
131131 version: "${{ needs.metadata.outputs.version }}"
132132
133-
134- regression_tests :
135- needs : publish
136- name : Regression Tests
137- uses : ./.github/workflows/regression-tests.yml
138- with :
139- ENVIRONMENT : " dev"
140- VERSION_NUMBER : " main"
141- secrets : inherit
133+ - name : Regression Tests
134+ uses : ./.github/workflows/regression-tests.yml
135+ with :
136+ ENVIRONMENT : " dev"
137+ VERSION_NUMBER : " main"
Original file line number Diff line number Diff line change @@ -129,11 +129,9 @@ jobs:
129129 make terraform env=$ENVIRONMENT stack=api-layer tf-command=apply workspace=$WORKSPACE
130130 working-directory : ./infrastructure
131131
132- regression_tests :
133- needs : deploy
134- name : Regression Tests
135- uses : ./.github/workflows/regression-tests.yml
136- with :
137- ENVIRONMENT : " test"
138- VERSION_NUMBER : " main"
139- secrets : inherit
132+ - name : Regression Tests
133+ uses : ./.github/workflows/regression-tests.yml
134+ with :
135+ ENVIRONMENT : " test"
136+ VERSION_NUMBER : " main"
137+
Original file line number Diff line number Diff line change @@ -103,11 +103,9 @@ jobs:
103103 make terraform env=$ENVIRONMENT stack=api-layer tf-command=apply workspace=$WORKSPACE
104104 working-directory : ./infrastructure
105105
106- regression_tests :
107- needs : deploy
108- name : Regression Tests
109- uses : ./.github/workflows/regression-tests.yml
110- with :
111- ENVIRONMENT : " test"
112- VERSION_NUMBER : " main"
113- secrets : inherit
106+ - name : Regression Tests
107+ uses : ./.github/workflows/regression-tests.yml
108+ with :
109+ ENVIRONMENT : " test"
110+ VERSION_NUMBER : " main"
111+
Original file line number Diff line number Diff line change 2323 - major
2424
2525jobs :
26- call :
27- uses : ./.github/workflows/base-deploy.yml
28- with :
29- environment : preprod
30- ref : ${{ inputs.ref }}
31- release_type : ${{ inputs.release_type }}
32- secrets : inherit
26+ deploy :
27+ runs-on : ubuntu-latest
28+ steps :
29+ - name : " Deploy"
30+ uses : ./.github/workflows/base-deploy.yml
31+ with :
32+ environment : preprod
33+ ref : ${{ inputs.ref }}
34+ release_type : ${{ inputs.release_type }}
3335
34- regression_tests :
35- needs : call
36- name : Regression Tests
37- uses : ./.github/workflows/regression-tests.yml
38- with :
39- ENVIRONMENT : " pre-prod"
40- VERSION_NUMBER : " main"
41- secrets : inherit
36+ - name : Regression Tests
37+ uses : ./.github/workflows/regression-tests.yml
38+ with :
39+ ENVIRONMENT : " preprod"
40+ VERSION_NUMBER : " main"
Original file line number Diff line number Diff line change 1111 type : string
1212 PRODUCT :
1313 type : string
14+ secrets : inherit
1415
1516jobs :
1617 regression-tests :
You can’t perform that action at this time.
0 commit comments