Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 59bee4c

Browse files
committed
Push check status to file in e2e repo.
1 parent cb0bdee commit 59bee4c

File tree

1 file changed

+3
-20
lines changed

1 file changed

+3
-20
lines changed

ci/input_files/build.yaml.tpl

Lines changed: 3 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -269,23 +269,6 @@ e2e-status:
269269
needs:
270270
- e2e-test
271271
script:
272-
- echo "Python layer ARNs used in E2E tests:"
273-
{{- range (ds "runtimes").runtimes }}
274-
{{- if eq .arch "amd64" }}
275-
{{- $version := print (.name | strings.Trim "python") }}
276-
- echo " PYTHON_{{ $version }}_VERSION=$PYTHON_{{ $version }}_VERSION"
277-
{{- end }}
278-
{{- end }}
279-
- |
280-
if [ "$CI_JOB_STATUS" = "success" ]; then
281-
echo "✅ E2E tests completed successfully"
282-
elif [ "$CI_JOB_STATUS" = "failed" ]; then
283-
echo "❌ E2E tests failed"
284-
exit 1
285-
elif [ "$CI_JOB_STATUS" = "canceled" ]; then
286-
echo "❌ E2E tests were canceled"
287-
exit 1
288-
else
289-
echo "❌ E2E tests unknown status: ${CI_JOB_STATUS}"
290-
exit 1
291-
fi
272+
- git clone -b rey.abolofia/status-check --single-branch https://gitlab-ci-token:${CI_JOB_TOKEN}@gitlab.ddbuild.io/DataDog/serverless-e2e-tests.git
273+
- cd ./serverless-e2e-tests
274+
- ./scripts/check_e2e_status.sh

0 commit comments

Comments
 (0)