Skip to content

Commit 30e7960

Browse files
committed
Even more debugging.
1 parent 6356961 commit 30e7960

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ci/input_files/build.yaml.tpl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,8 @@ publish-layer-{{ $environment_name }} ({{ $runtime.name }}-{{ $runtime.arch }}):
182182
STAGE={{ $environment_name }} PYTHON_VERSION={{ $runtime.python_version }} ARCH={{ $runtime.arch }} ./ci/publish_layers.sh | tee publish.log
183183
# Extract the arn from the publish log to be used as envvar in e2e tests
184184
cat publish.log
185+
grep 'Published arn' publish.log
186+
grep 'Published arn' publish.log | grep -oE 'arn:aws:lambda:.*:\d+'
185187
layer_arn="$(grep 'Published arn' publish.log | grep -oE 'arn:aws:lambda:.*:\d+')"
186188
if [ -z "$layer_arn" ]; then
187189
echo "Error: Layer ARN not found in publish log"

0 commit comments

Comments
 (0)