Pipeline Mini Graph clean up
What does this MR do and why?
This MR resolves 2 tasks from #473900
Screenshots or screen recordings
No UI change
How to set up and validate locally
Prerequisites
- An enabled feature flag:
Feature.enable(:ci_graphql_pipeline_mini_graph)
- A working runner
Steps
- Navigate to a project (this example uses the
flightjs
group) - Navigate to the Pipeline Editor (Build > Pipeline editor)
- Update the
gitlab-ci.yml
and add a bridge job
bridge_job:
trigger:
include: child-pipeline.yml
child-pipeline.yml can live in the repo directory and have a simple script:
job:
script:
- sleep 10
- Run the pipeline
- When the pipeline mini graph loads in the widget above (or in the commit page), retry the bridge job in the stage dropdown and insure that only one downstream pipeline renders.