@@ -53,6 +53,7 @@ build-layer ({{ $runtime.name }}-{{ $runtime.arch }}):
5353 variables:
5454 CI_ENABLE_CONTAINER_IMAGE_BUILDS: " true"
5555 script:
56+ - exit 0
5657 - PYTHON_VERSION= {{ $runtime .python_version }} ARCH= {{ $runtime .arch }} . /scripts/build_layers.sh
5758
5859#check-layer-size ({{ $runtime .name }}-{{ $runtime .arch }}):
@@ -176,6 +177,7 @@ publish-layer-{{ $environment_name }} ({{ $runtime.name }}-{{ $runtime.arch }}):
176177 - EXTERNAL_ID_NAME= {{ $environment .external_id }} ROLE_TO_ASSUME= {{ $environment .role_to_assume }} AWS_ACCOUNT= {{ $environment .account }} source . /ci/get_secrets.sh
177178 script:
178179 - |
180+ exit 0
179181 STAGE= {{ $environment_name }} PYTHON_VERSION= {{ $runtime .python_version }} ARCH= {{ $runtime .arch }} . /ci/publish_layers.sh | tee publish.log
180182 # Extract the arn from the publish log to be used as envvar in e2e tests
181183 layer_arn= " $(grep 'Published arn' publish.log | grep -oE 'arn:aws:lambda:.*')"
@@ -300,11 +302,11 @@ e2e-status:
300302 # Poll for e2e-test job completion
301303 while true; do
302304 # Get the e2e-test job status
303- URL= " ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/pipelines/${CI_PIPELINE_ID}/jobs "
305+ URL= " ${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/pipelines/${CI_PIPELINE_ID}/bridges "
304306 echo " Fetching E2E job status from: $URL"
305307 RESPONSE= $ (curl -s --header " JOB-TOKEN: ${CI_JOB_TOKEN}" " $URL" )
306308 echo " Response: $RESPONSE"
307- E2E_JOB_STATUS= $ (echo " $RESPONSE" | jq -r '. [] | select(.name == " e2e-test" ) | .status ')
309+ E2E_JOB_STATUS= $ (echo " $RESPONSE" | jq -r '. [] | select(.name == " e2e-test" ) | .pipeline. status ')
308310 echo " E2E job status: $E2E_JOB_STATUS"
309311 case " $E2E_JOB_STATUS" in
310312 " success" )
0 commit comments