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:
After:
What are the relevant issue numbers?
https://gitlab.zendesk.com/agent/tickets/106558
Does this MR meet the acceptance criteria?
-
Changelog entry added, if necessary -
Documentation created/updated -
Tests added for this feature/bug -
Conforms to the code review guidelines -
Conforms to the merge request performance guidelines -
Conforms to the style guides -
Conforms to the database guides -
Link to e2e tests MR added if this MR has Requires e2e tests label. See the Test Planning Process.
Edited by Drew Blessing