55 pull_request :
66 push :
77 tags :
8- - ' v* '
8+ - " v* "
99 branches :
1010 - master
1111 - release-*
@@ -32,13 +32,13 @@ jobs:
3232 if [[ ! "$REF" =~ ^release-.* ]]; then
3333 REF="master"
3434 fi
35-
35+
3636 EVENT_NAME=${{ github.event_name }}
3737 # Fallback to pull_request for manual triggers
3838 if [ "$EVENT_NAME" = "workflow_dispatch" ]; then
3939 EVENT_NAME="pull_request"
4040 fi
41-
41+
4242 # SECURITY: curl output piped to GITHUB_OUTPUT -- ensure tyktechnologies.github.io is trusted
4343 curl -s -L --retry 5 --retry-delay 10 --fail-with-body "https://tyktechnologies.github.io/gromit/v2/$VARIATION/tyk-pro/$REF/$EVENT_NAME/api.gho" | tee -a "$GITHUB_OUTPUT"
4444 if ! [[ $VARIATION =~ prod ]] ;then
8383 - id : ecr
8484 uses : aws-actions/amazon-ecr-login@183a1442edf41672e66566b7fc560e297a290896 # v2
8585 with :
86- mask-password : ' true'
86+ mask-password : " true"
8787 - name : Setup tmate session only in debug mode
8888 uses : mxschmitt/action-tmate@c0afd6f790e3a5564914980036ebf83216678101 # v3
8989 if : runner.debug == '1'
@@ -101,7 +101,7 @@ jobs:
101101 working-directory : auto
102102 id : env_up
103103 env :
104- pull_policy : ' if_not_present'
104+ pull_policy : " if_not_present"
105105 GH_TOKEN : ${{ steps.app-token.outputs.token }}
106106 TYK_DB_LICENSEKEY : ${{ secrets.DASH_LICENSE }}
107107 TYK_MDCB_LICENSE : ${{ secrets.MDCB_LICENSE }}
@@ -164,8 +164,8 @@ jobs:
164164 echo "Current commit: $(git rev-parse HEAD)"
165165 - uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5
166166 with :
167- cache : ' pip'
168- python-version : ' 3.10'
167+ cache : " pip"
168+ python-version : " 3.10"
169169 - name : Run API tests
170170 id : test_execution
171171 working-directory : tyk-analytics/tests/api
@@ -190,6 +190,7 @@ jobs:
190190 USER_API_SECRET=${{ steps.env_up.outputs.USER_API_SECRET }}
191191 TYK_TEST_KEYCLOAK_INTERNAL_URL=http://keycloak:8080
192192 TYK_TEST_MCP_URL=http://mcp-server:7878
193+ TYK_TEST_VAULT_URL=http://localhost:8200
193194 EOF
194195 env $(cat pytest.env | xargs) $pytest -m "${{ matrix.envfiles.apimarkers }}"
195196 - name : Generate metadata and upload test reports
@@ -220,7 +221,7 @@ jobs:
220221 if : failure() && (steps.test_execution.outcome != 'success' || steps.env_up.outcome != 'success')
221222 working-directory : auto
222223 env :
223- pull_policy : ' if_not_present'
224+ pull_policy : " if_not_present"
224225 GH_TOKEN : ${{ steps.app-token.outputs.token }}
225226 TYK_DB_LICENSEKEY : ${{ secrets.DASH_LICENSE }}
226227 TYK_MDCB_LICENSE : ${{ secrets.MDCB_LICENSE }}
@@ -256,13 +257,13 @@ jobs:
256257 if [[ ! "$REF" =~ ^release-.* ]]; then
257258 REF="master"
258259 fi
259-
260+
260261 EVENT_NAME=${{ github.event_name }}
261262 # Fallback to pull_request for manual triggers
262263 if [ "$EVENT_NAME" = "workflow_dispatch" ]; then
263264 EVENT_NAME="pull_request"
264265 fi
265-
266+
266267 # SECURITY: curl output piped to GITHUB_OUTPUT -- ensure tyktechnologies.github.io is trusted
267268 curl -s -L --retry 5 --retry-delay 10 --fail-with-body "https://tyktechnologies.github.io/gromit/v2/$VARIATION/tyk-pro/$REF/$EVENT_NAME/ui.gho" | tee -a "$GITHUB_OUTPUT"
268269 if ! [[ $VARIATION =~ prod ]] ;then
@@ -307,7 +308,7 @@ jobs:
307308 - id : ecr
308309 uses : aws-actions/amazon-ecr-login@183a1442edf41672e66566b7fc560e297a290896 # v2
309310 with :
310- mask-password : ' true'
311+ mask-password : " true"
311312 - name : Setup tmate session only in debug mode
312313 uses : mxschmitt/action-tmate@c0afd6f790e3a5564914980036ebf83216678101 # v3
313314 if : runner.debug == '1'
@@ -325,7 +326,7 @@ jobs:
325326 working-directory : auto
326327 id : env_up
327328 env :
328- pull_policy : ' if_not_present'
329+ pull_policy : " if_not_present"
329330 GH_TOKEN : ${{ steps.app-token.outputs.token }}
330331 TYK_DB_LICENSEKEY : ${{ secrets.DASH_LICENSE }}
331332 TYK_MDCB_LICENSE : ${{ secrets.MDCB_LICENSE }}
@@ -391,7 +392,7 @@ jobs:
391392 with :
392393 node-version : " 18.16"
393394 cache-dependency-path : tyk-analytics/tests/ui
394- cache : ' npm'
395+ cache : " npm"
395396 - name : Fix private module deps
396397 env :
397398 TOKEN : ${{ steps.app-token.outputs.token }}
@@ -401,7 +402,7 @@ jobs:
401402 working-directory : tyk-analytics/tests/ui
402403 id : test_execution
403404 env :
404- GW_URL : ' https://localhost:8080/'
405+ GW_URL : " https://localhost:8080/"
405406 NODE_TLS_REJECT_UNAUTHORIZED : 0
406407 UI_MARKERS : ${{ matrix.envfiles.uimarkers && format('--grep {0}', matrix.envfiles.uimarkers ) || '' }}
407408 run : " npm ci\n npx playwright install --with-deps chromium\n PLAYWRIGHT_JUNIT_OUTPUT_NAME=${XUNIT_REPORT_PATH} npx playwright test --project=chromium --reporter=junit,html $UI_MARKERS \n "
@@ -411,7 +412,7 @@ jobs:
411412 env :
412413 AWS_ACCESS_KEY_ID : ${{ secrets.UI_AWS_ACCESS_KEY_ID }}
413414 AWS_SECRET_ACCESS_KEY : ${{ secrets.UI_AWS_SECRET_ACCESS_KEY }}
414- RUN_ID : ' tyk-analytics/${{ github.run_id }}'
415+ RUN_ID : " tyk-analytics/${{ github.run_id }}"
415416 working-directory : tyk-analytics/tests/ui
416417 - name : Share S3 report link into summary
417418 if : failure() && steps.test_execution.outcome != 'success' && steps.env_up.outcome == 'success'
@@ -447,7 +448,7 @@ jobs:
447448 if : failure() && (steps.test_execution.outcome != 'success' || steps.env_up.outcome != 'success')
448449 working-directory : auto
449450 env :
450- pull_policy : ' if_not_present'
451+ pull_policy : " if_not_present"
451452 GH_TOKEN : ${{ steps.app-token.outputs.token }}
452453 TYK_DB_LICENSEKEY : ${{ secrets.DASH_LICENSE }}
453454 TYK_MDCB_LICENSE : ${{ secrets.MDCB_LICENSE }}
0 commit comments