Draft: Add job navigation to trigger job show page
What does this MR do and why?
For #345046
This adds the jobs container and stages dropdown to the trigger job show page. Since the trigger job app is separate from the regular job app, some tweaking of the CSS had to be done to make the styling consistent.
Screenshots or screen recordings
Before (Trigger Job) | After (Trigger Job) |
---|---|
There are no visual changes to the regular job page.
Before (Job) | After (Job) |
---|---|
Recording of the stage navigation:
Job Navigation
Job NavigationHow to set up and validate locally
- Enable the
ci_retry_downstream_pipeline
feature flag. (rails c
thenFeature.enable(:ci_retry_downstream_pipeline)
) - Add the following content to your
.gitlab-ci.yml
file:stages: - prepare - deploy job: stage: prepare script: - echo "running prepare_job" triggerJob: stage: deploy trigger: include: - project: "/path/to/project" # replace with another project file: ".gitlab-ci.yml"
- Visit the pipeline and click on the
triggerJob
job pill. - Site should redirect to the trigger show page.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Mireya Andres