Skip to content

Add Auto DevOps alert to Security Configuration page

What does this MR do?

This is adds the Auto DevOps alert as described in #220573 (closed).

This alert is displayed only when all the following is true:

  1. A project has no existing .gitlab-ci.yml file
  2. Auto DevOps is not enabled for the project
  3. The user has the necessary permissions to enable Auto DevOps for the project
  4. The sast_configuration_by_click feature flag is enabled (it's currently disabled by default)

Note

While this frontend work depends on the backend work being done, because this is behind a feature flag, it should be safe to merge in any order.

Testing locally

  1. Merge (or cherry-pick) the backend work done in !36225 (merged) into this branch locally
  2. Enable the sast_configuration_by_click feature flag
  3. Navigate to or set up a project that satisfies the above requirements

Screenshots

Before After (i.e., no change) After + feature flag enabled
master ff_disabled Screenshot_from_2020-07-08_12-26-01

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Edited by Mark Florian

Merge request reports