File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -266,15 +266,14 @@ e2e-test-status:
266266 stage: e2e
267267 image: registry.ddbuild.io /images/docker:20.10 -py3
268268 tags: [" arch:amd64" ]
269- needs :
269+ dependencies :
270270 - e2e-test
271- script:
272- - apk add --no-cache curl jq
273- - |
271+ script: |
274272 GITLAB_API_TOKEN= $ (aws ssm get-parameter --region us-east-1 --name " ci.${CI_PROJECT_NAME}.serverless-e2e-gitlab-token" --with -decryption --query " Parameter.Value" --out text)
275273 URL= " ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/pipelines/${CI_PIPELINE_ID}/bridges"
276274 echo " Fetching E2E job status from: $URL"
277275 RESPONSE= $ (curl -s --header " PRIVATE-TOKEN: ${GITLAB_API_TOKEN}" " $URL" )
276+ echo " Response from GitLab API: $RESPONSE"
278277 E2E_JOB_STATUS= $ (echo " $RESPONSE" | jq -r '. [] | select(.name == " e2e-test" ) | .pipeline.status ')
279278 echo " E2E job status: $E2E_JOB_STATUS"
280279 if [ " $E2E_JOB_STATUS" == " success" ]; then
You can’t perform that action at this time.
0 commit comments