Skip to content

Commit fe77f31

Browse files
committed
Cleanup version env vars.
1 parent 3f5bc43 commit fe77f31

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

ci/input_files/build.yaml.tpl

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,9 +261,11 @@ e2e-test:
261261
strategy: depend
262262
variables:
263263
LANGUAGES_SUBSET: python
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
264+
# These env vars are inherited from the dotenv reports of the publish-layer jobs
265+
{{- range (ds "runtimes").runtimes }}
266+
{{- if eq .arch "amd64" }}
267+
{{- $version := print (.name | strings.Trim "python") }}
268+
PYTHON_{{ $version }}_VERSION: $PYTHON_{{ $version }}_VERSION
267269
{{- end }}
268270
{{- end }}
269271
needs: {{ range (ds "runtimes").runtimes }}

0 commit comments

Comments
 (0)