Skip to content

Display pipeline name on pipeline details and list pages

Reuben Pereira requested to merge rp/pipeline-title-display into master

What does this MR do and why?

Describe in detail what your merge request does and why.

Display pipeline name on the list and details pages.

On the list page, the name will replace the commit title. If the pipeline does not have a name, the commit title will be displayed.

On the details page, the pipeline name will replace the commit title as the h3. The commit title will instead be displayed next to the commit SHA. If the pipeline does not have a name, the page will appear as it does now, with the commit title & description displayed at the top.

#372538 (closed)

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

With pipeline name Without pipeline name
Pipeline list page Screenshot_from_2022-11-08_16-30-45 Screenshot_from_2022-11-08_16-31-01
Pipeline details page Screenshot_from_2022-11-08_16-24-32 Screenshot_from_2022-11-08_16-24-48

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

  1. In your GDK, start a pipeline in a project. This pipeline won't have a name.
  2. Enable the feature flag by running the following in your Rails console: Feature.enable(:pipeline_name).
  3. Now, edit the .gitlab-ci.yml, and add the following:
    workflow:
      name: 'Build pipeline'
  4. Start a new pipeline. This pipeline should have a name.
  5. Visit the pipeline list and details pages.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Furkan Ayhan

Merge request reports