Skip to content

Automatically disable Auto DevOps for project upon first pipeline failure

What does this MR do?

Disables AutoDevops for project upon first pipeline failure. If a project has AutoDevops implicitly enabled, and the first Auto DevOps pipelines failed, the Auto Devops setting is automatically turned off for that project.

Introduces AutoDevops::DisableService and AutoDevopsDisableWorkerthat are executed after a pipeline transitions to failed

EE port https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/6894

What are the relevant issue numbers?

#39923 (closed)

Screenshot sample

Screen_Shot_2018-08-20_at_9.48.27_AM

Does this MR meet the acceptance criteria?

To do

  • Manual QA
  • Refactor
  • Finish specs
Edited by 🤖 GitLab Bot 🤖

Merge request reports