@@ -53,6 +53,7 @@ build-layer ({{ $runtime.name }}-{{ $runtime.arch }}):
53
53
variables:
54
54
CI_ENABLE_CONTAINER_IMAGE_BUILDS: "true"
55
55
script:
56
+ - exit 0
56
57
- PYTHON_VERSION={ { $runtime .python_version } } ARCH={ { $runtime .arch } } ./scripts/build_layers.sh
57
58
58
59
#check-layer-size ({ { $runtime .name } }-{ { $runtime .arch } }):
@@ -176,6 +177,7 @@ publish-layer-{{ $environment_name }} ({{ $runtime.name }}-{{ $runtime.arch }}):
176
177
- EXTERNAL_ID_NAME={ { $environment .external_id } } ROLE_TO_ASSUME={ { $environment .role_to_assume } } AWS_ACCOUNT={ { $environment .account } } source ./ci/get_secrets.sh
177
178
script:
178
179
- |
180
+ exit 0
179
181
STAGE={ { $environment_name } } PYTHON_VERSION={ { $runtime .python_version } } ARCH={ { $runtime .arch } } ./ci/publish_layers.sh | tee publish.log
180
182
# Extract the arn from the publish log to be used as envvar in e2e tests
181
183
layer_arn="$(grep 'Published arn' publish.log | grep -oE 'arn:aws:lambda:.*')"
@@ -300,11 +302,11 @@ e2e-status:
300
302
# Poll for e2e-test job completion
301
303
while true; do
302
304
# 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 "
304
306
echo "Fetching E2E job status from: $URL"
305
307
RESPONSE=$(curl -s --header "JOB-TOKEN: ${ CI_JOB_TOKEN} " "$URL")
306
308
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')
308
310
echo "E2E job status: $E2E_JOB_STATUS"
309
311
case "$E2E_JOB_STATUS" in
310
312
"success")
0 commit comments