Skip to content

Commit 0c3f604

Browse files
committed
Improve output of job.
1 parent b159dcf commit 0c3f604

File tree

1 file changed

+17
-3
lines changed

1 file changed

+17
-3
lines changed

ci/input_files/build.yaml.tpl

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,20 @@ e2e-status:
281281
needs:
282282
- e2e-test
283283
script:
284-
- echo "✅ e2e tests completed successfully"
285-
rules:
286-
- when: on_success
284+
- echo "Python layer ARNs used in E2E tests:"
285+
{{- range (ds "runtimes").runtimes }}
286+
{{- if eq .arch "amd64" }}
287+
{{- $version := print (.name | strings.Trim "python") }}
288+
- echo " PYTHON_{{ $version }}_VERSION=$PYTHON_{{ $version }}_VERSION"
289+
{{- end }}
290+
{{- end }}
291+
- |
292+
# TODO: link to the test results
293+
# make this job start running at same time as e2e-test job
294+
# do not wait around for the scheduled job to complete
295+
if [ "${CI_JOB_STATUS}" = "failed" ]; then
296+
echo "❌ E2E tests failed"
297+
exit 1
298+
else
299+
echo "✅ E2E tests completed successfully"
300+
fi

0 commit comments

Comments
 (0)