Skip to content

WIP: Only display pipeline status in project list when builds enabled

What does this MR do?

Fixes #53108 (moved)

Only displays the pipeline status icon on the project list if builds/pipelines are enabled for a project. This change was requested by a customer. Since we recently enabled AutoDevops pipelines by default, all projects were having pipelines created and many failed since AutoDevops didn't work for that project. Even if the users subsequently disable AutoDevops and turn off pipelines, the pipeline status showed up eternally on the project list.

This simple change adds a check to see if builds are enabled for the project before displaying pipeline status.

Before:

Screen_Shot_2018-10-24_at_10.26.25_AM

After:

Screen_Shot_2018-10-24_at_10.27.06_AM

What are the relevant issue numbers?

https://gitlab.zendesk.com/agent/tickets/106558

Does this MR meet the acceptance criteria?

Edited by Drew Blessing

Merge request reports