Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: add a final dd-gitlab/finished job #10307

Merged
merged 10 commits into from
Aug 22, 2024
13 changes: 13 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,16 @@ deploy_to_di_backend:manual:
UPSTREAM_COMMIT_AUTHOR: $CI_COMMIT_AUTHOR
UPSTREAM_TAG: $CI_COMMIT_TAG
UPSTREAM_PACKAGE_JOB: build


# Final step which only runs when a pipeline has finished successfully.
# This gives us something block on/wait for in GitHub
finished:
image: registry.ddbuild.io/images/mirror/library/alpine:3.19.3
tags: [ "arch:amd64" ]
stage: .post
rules:
- when: on_success
script:
# TODO: Can we get this to reflect the status from the whole pipeline?
- exit 0
Loading