Add schedule name or description to pipeline output for scheduled pipelines

Problem to solve

When there are a number scheduled pipelines, it can be difficult to tell which pipelines were run by a which schedule or if it was run from a commit.

Intended users

DevOps, Sysadmin

Further details

We are using GitLab scheduled pipelines to trigger a number similar tasks from a single project. It's possible to see the most recent pipeline from the schedule page. From the list of run pipelines, however, it's difficult to see which pipelines are from commits or schedules and which schedule created the pipeline. It leads to a lot of clicking into each pipeline to see if it's the one we're looking for.

Proposal

On the pipelines list, I propose adding two things.

  1. An icon-type indicator that shows that the pipeline was created from a schedule. This might make sense to add to the "Triggerer" column.
    • A Scheduled label is applied to pipelines started from a schedule. The Source filter can be used to find pipelines triggered by only schedule as well. See this filtered GitLab pipelines list as an example.
  2. A line of text that includes the schedule name. I envision it beneath the commit message text but there may be other places that make more sense from a UX perspective.

Use case:

I have a number of scheduled pipelines that go off overnight. I check on them in the morning and see that one of them had an error. I want to go back into the pipelines to check the output of the previous runs to compare the job. I should be able to scan through the list of pipelines to find the ones that were triggered by a specific scheduled pipeline.

Permissions and Security

I do not thing additional permissions are required. However, some projects may want to hide the names of the pipeline schedules.

Documentation

Testing

What does success look like, and how can we measure that?

What is the type of buyer?

Links / references

Edited by James Heimbuck