Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/models/ci/pipeline.rb')
-rw-r--r--app/models/ci/pipeline.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/models/ci/pipeline.rb b/app/models/ci/pipeline.rb
index 255ae64a3fd..c891cff4632 100644
--- a/app/models/ci/pipeline.rb
+++ b/app/models/ci/pipeline.rb
@@ -810,6 +810,10 @@ module Ci
errors ? errors.full_messages.to_sentence : ""
end
+ def auto_devops_unsupported?
+ !auto_devops_buildable.nil? && !auto_devops_buildable?
+ end
+
private
def ci_yaml_from_repo