Skip to content

Commit 5cd891f

Browse files
committed
Use dependencies and remove apk.
1 parent eb787a1 commit 5cd891f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

ci/input_files/build.yaml.tpl

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)