File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -177,9 +177,11 @@ publish-layer-{{ $environment_name }} ({{ $runtime.name }}-{{ $runtime.arch }}):
177177 before_script:
178178 - EXTERNAL_ID_NAME= {{ $environment .external_id }} ROLE_TO_ASSUME= {{ $environment .role_to_assume }} AWS_ACCOUNT= {{ $environment .account }} source . /ci/get_secrets.sh
179179 script:
180- - STAGE= {{ $environment_name }} PYTHON_VERSION= {{ $runtime .python_version }} ARCH= {{ $runtime .arch }} . /ci/publish_layers.sh | tee publish.log
181- # Extract the arn from the publish log to be used as envvar in e2e tests
182- - echo " PYTHON_{{ $runtime.name | strings.Trim " python" }}_VERSION=$(grep 'Published arn' publish.log | grep -oE 'arn:aws:lambda:.*:\d +')" > {{ $dotenv }}
180+ - |
181+ STAGE= {{ $environment_name }} PYTHON_VERSION= {{ $runtime .python_version }} ARCH= {{ $runtime .arch }} . /ci/publish_layers.sh | tee publish.log
182+ # Extract the arn from the publish log to be used as envvar in e2e tests
183+ echo " PYTHON_{{ $runtime.name | strings.Trim " python" }}_VERSION=$(grep 'Published arn' publish.log | grep -oE 'arn:aws:lambda:.*:\d +')" > {{ $dotenv }}
184+ cat {{ $dotenv }}
183185
184186
185187{{- end }}
You can’t perform that action at this time.
0 commit comments