3838 - ' dev'
3939 - ' paca'
4040 default : ' dev'
41+ eoy_mode :
42+ description : Flag which indicates if smoke tests should be run in EOY mode
43+ required : true
44+ type : boolean
45+ default : false
4146 smoke_tests :
4247 description : Flag which indicates if smoke integration tests should be run
4348 required : true
7580 required : true
7681 type : ' string'
7782 default : ' dev'
83+ eoy_mode :
84+ description : Flag which indicates if smoke tests should be run in EOY mode
85+ required : true
86+ type : boolean
87+ default : false
7888 smoke_tests :
7989 description : Flag which indicates if smoke integration tests should be run
8090 required : true
99109 RELEASE_ENV : ${{ inputs.env || 'dev' }}
100110 COMPOSE_INTERACTIVE_NO_CLI : 1
101111 TEST_ACO : ${{ inputs.test_aco || 'dev' }}
112+ EOY_MODE : ${{ (inputs.eoy_mode && 'eoy') || '' }}
102113
103114jobs :
104115 smoke_tests :
@@ -167,7 +178,7 @@ jobs:
167178 --global-var clientId=${CLIENT_ID} --global-var clientSecret=${CLIENT_SECRET} \
168179 --global-var v2Disabled=false \
169180 --global-var blacklistedClientId=${DENYLIST_CLIENT_ID} --global-var blacklistedClientSecret=${DENYLIST_CLIENT_SECRET} \
170- --global-var maintenanceMode=""
181+ --global-var maintenanceMode="${{ env.EOY_MODE }} "
171182 - name : Run Smoke Tests
172183 if : ${{ inputs.smoke_tests }}
173184 run : |
@@ -177,7 +188,9 @@ jobs:
177188 -e test/postman_test/${{ env.RELEASE_ENV }}.postman_environment.json \
178189 --global-var clientId=$CLIENT_ID \
179190 --global-var clientSecret=$CLIENT_SECRET \
180- --global-var maintenanceMode=""
191+ --global-var maintenanceMode="${{ env.EOY_MODE }}"
192+ # Sleep a bit to hopefully prevent intermittent failures
193+ - run : sleep 60
181194 - name : Run PACA Tests
182195 run : |
183196 CLIENT_ID=$(echo $PACA_CLIENT_CREDENTIALS_PARAMS | jq -r .client_id)
@@ -186,7 +199,7 @@ jobs:
186199 -e test/postman_test/${{ env.RELEASE_ENV }}.postman_environment.json \
187200 --global-var clientId=$CLIENT_ID \
188201 --global-var clientSecret=$CLIENT_SECRET \
189- --global-var maintenanceMode=""
202+ --global-var maintenanceMode="${{ env.EOY_MODE }} "
190203 - name : Run v3 Tests
191204 if : ${{ inputs.v3_tests }}
192205 run : |
@@ -197,7 +210,7 @@ jobs:
197210 --global-var clientId=${CLIENT_ID} \
198211 --global-var clientSecret=${CLIENT_SECRET} \
199212 --global-var v3Disabled=false \
200- --global-var maintenanceMode=""
213+ --global-var maintenanceMode="${{ env.EOY_MODE }} "
201214 - name : Success Alert
202215 if : ${{ success() }}
203216 uses : slackapi/slack-github-action@v2.0.0
0 commit comments