Allow pipeline charts / graphs to be rendered with ref restrictions

Problem to solve

These pipeline charts are very interesting: https://gitlab.com/gitlab-org/gitlab-ce/pipelines/charts but I can't use them to answer questions like "how stable are pipelines for the master branch? How about for all protected branches? How about security-*"?

Intended users

Persona: DevOps Engineer Persona: Development Team Lead Developer

Further details

Information about pipeline stability is very interesting. It allows us to see if we're getting better or worse at keeping master, or the stable branches, green. Mixing that information in with information about pipelines on development branches obscures the signal.

Proposal

The page should have a filter allowing us to pick a subset of refs to pick pipelines for. I'd suggest restricting the view to pipelines on the default branch only, by default - that's usually the interesting datum.

Pipelines for WIP MRs, closed MRs, etc - development work, essentially - pollutes the numbers, otherwise.

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

I can see a nice graphical representation of pipeline stability for the master branch of gitlab-ce.

Links / references

cc @erushton @brendan

Assignee Loading
Time tracking Loading