Skip to content

Commit 47fd32e

Browse files
committed
Use loop and main.
1 parent ae1fa34 commit 47fd32e

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

ci/input_files/build.yaml.tpl

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -259,15 +259,13 @@ e2e-test:
259259
trigger:
260260
project: DataDog/serverless-e2e-tests
261261
strategy: depend
262-
branch: rey.abolofia/variable-passing
263262
variables:
264263
LANGUAGES_SUBSET: python
265-
PYTHON_38_VERSION: $PYTHON_38_VERSION
266-
PYTHON_39_VERSION: $PYTHON_39_VERSION
267-
PYTHON_310_VERSION: $PYTHON_310_VERSION
268-
PYTHON_311_VERSION: $PYTHON_311_VERSION
269-
PYTHON_312_VERSION: $PYTHON_312_VERSION
270-
PYTHON_313_VERSION: $PYTHON_313_VERSION
264+
{{- range $runtime := (ds "runtimes").runtimes }}
265+
{{- if eq $runtime.arch "amd64" }}
266+
PYTHON_{{ $runtime.name | strings.Trim "python" }}_VERSION: $PYTHON_{{ $runtime.name | strings.Trim "python" }}_VERSION
267+
{{- end }}
268+
{{- end }}
271269
needs: {{ range (ds "runtimes").runtimes }}
272270
{{- if eq .arch "amd64" }}
273271
- "publish-layer-sandbox ({{ .name }}-{{ .arch }}): [{{ $e2e_region }}]"

0 commit comments

Comments
 (0)