Link pipelines via merge commit
When I merge a merge request, it usually kicks off a new pipeline to then deploy that change. As the developer or PM watching the MR, I want to be able to follow along with that second pipeline. Unfortunately, they're completely independent pipelines today, and until the pipeline actually deploys the change, nothing changes on the MR. When it does finally deploy, you'll see the
Deploy to production on about.gitlab.com message in the MR widget.
What if we treated these two pipelines as connected, similar to how we're handling cross-project pipelines? e.g. Show the two pipelines as one long pipeline, joined this time by a merge commit (or FF merge action) rather than a cross-project link? Would be valuable in the pipeline detail page, but even more valuable in the mini graph that appears in the MR widget.
But with merge icons instead of play icons in between Upstream and Downstream pipelines.
The arrows could actually stay, I think.
Links / references
- Earlier proposal with similar goals: #17013
- Related proposal that will help as well: #25140
- Link between project pipeline views: gitlab-ee#2121 (closed)
(Write the start of the documentation of this feature here, include:
- Why should someone use it; what's the underlying problem.
- What is the solution.
- How does someone use this
During implementation, this can then be copied and used as a starter for the documentation.)