You need to sign in or sign up before continuing.
Add `dependencies` to .gitlab-ci.yml (EE-only?)
Moved
To https://gitlab.com/gitlab-org/gitlab-ee/issues/1681
Description including problem, use cases, benefits, and/or goals
Developers need to be able to link projects together to trigger CI to run on one project after CI succeeds on another project.
Proposal
@ayufan's has a proposal in https://gitlab.com/gitlab-org/gitlab-ce/issues/3743#note_5111288 for declaring dependencies. The summary example for Omnibus GitLab's .gitlab-ci.yml is:
dependencies:
- repository: gitlab-org/gitlab-ce
on: master
- repository: gitlab-org/gitlab-ee
on: master
build_ce:
script:
- build-omnibus-ce $GITLAB_CE_TRIGGERED_SHA
build_ee:
script:
- build-omnibus-ce $GITLAB_CE_TRIGGERED_SHA
Links / references
- Originally from #15655 (closed) (Multi-project pipeline).
- Proposal came from #3743 (closed) (GitLab Pipeline).
- First-class triggers: #16556 (moved).
- Link between project pipeline views: #22550 (closed)
- Consolidated view of entire pipeline across projects: #22558 (closed)
- Cross-project build artifacts dependencies: #14728 (moved)