Show MR pipeline's tab when pipelines are enabled
What does this MR do and why?
This MR aims to solve #329787 (closed) where on unique situations a forked repo MR gets stuck in state where no pipelines can be ran on that MR. The workaround is to use the API.
In this MR
- Show pipelines tab on MR if
builds_enabled?
for the project - Introduce empty state when their are no pipelines
- Add button to run pipeline
Screenshots or screen recordings
Empty state
Alert error if MR pipelines are not configured
How to set up and validate locally
To create the actual bug is difficult, since it deals with forked repos where MR pipelines sometimes don't get created. To create a similar scenario a user would end up in you should:
- Create project without CI config
- Create MR
- View pipelines tab
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #329787 (closed)
Edited by Payton Burdette