Fix child pipeline badge is broken in CI header
What does this MR do and why?
This MR fixes that the pipeline badge for a child pipeline (including the link to the parent) is broken and just shows a small blue dot. The reason for it being broken is the missing import of GlSprintf
and GlLink
.
This appears to have been introduced in Abstract badge markup and logic from pipeline d... (!148425 - merged) and broken since.
I noticed this in this pipeline: https://gitlab.com/gitlab-org/gitlab/-/pipelines/1304023827
Screenshots or screen recordings
Before | After |
---|---|
How to set up and validate locally
- Go to a project
- Configure a pipeline with downstream pipeline
- View the pipeline
- See that the child pipeline badge renders correctly and links to the parent pipeline