Skip to content

Commit e3c57be

Browse files
committed
No more multiline.
1 parent 1c6a7e3 commit e3c57be

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

ci/input_files/build.yaml.tpl

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -176,12 +176,12 @@ publish-layer-{{ $environment_name }} ({{ $runtime.name }}-{{ $runtime.arch }}):
176176
{{- end}}
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
179-
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-
layer_arn="$(grep 'Published arn' publish.log | grep -oE 'arn:aws:lambda:.*:\d+')"
183-
echo "Found published arn: $layer_arn"
184-
echo "PYTHON_{{ $runtime.name | strings.Trim "python" }}_VERSION=$layer_arn" > {{ $dotenv }}
179+
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+
- layer_arn="$(grep 'Published arn' publish.log | grep -oE 'arn:aws:lambda:.*:\d+')"
183+
- echo "Found published arn: $layer_arn"
184+
- echo "PYTHON_{{ $runtime.name | strings.Trim "python" }}_VERSION=$layer_arn" > {{ $dotenv }}
185185

186186
{{- end }}
187187

0 commit comments

Comments
 (0)