Skip to content

Hide Auto DevOps button on the project page

What does this MR do and why?

This MR hides the Auto DevOps button on the project view when CI/CD is disabled under "Settings -> General".

Screenshots or screen recordings

CI/CD enabled CI/CD disabled
Screenshot_2022-09-07_at_14.19.05 Screenshot_2022-09-07_at_14.19.43
Screenshot_2022-09-07_at_14.12.54 Screenshot_2022-09-07_at_14.17.56

How to set up and validate locally

  1. Within the project go to Settings -> General, select Visibility, project features, permissions and turn the CI/CD setting off.
  2. Go to the project's main view and verify that the Auto DevOps button isn't shown.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Review progress:

Related to #368224 (closed)

Edited by Anna Vovchenko

Merge request reports