summaryrefslogtreecommitdiff
path: root/app/models/ci
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2017-12-07 23:17:46 +0900
committerShinya Maeda <shinya@gitlab.com>2017-12-07 23:17:46 +0900
commit85151ff6f65fcb3076b554c563ccc2fa458a9ccb (patch)
treed7c1a3fc58468813e98b09d721a46ef8052984b6 /app/models/ci
parentc2f68b7ae319cb732eeaf53ddd020702644dc70d (diff)
downloadgitlab-ce-85151ff6f65fcb3076b554c563ccc2fa458a9ccb.tar.gz
Change feature flag to ci_disable_validates_dependencies to enable it as default
Diffstat (limited to 'app/models/ci')
-rw-r--r--app/models/ci/build.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/ci/build.rb b/app/models/ci/build.rb
index fbda0962a91..85960f1b6bb 100644
--- a/app/models/ci/build.rb
+++ b/app/models/ci/build.rb
@@ -143,7 +143,7 @@ module Ci
end
before_transition any => [:running] do |build|
- build.validates_dependencies! if Feature.enabled?('ci_validates_dependencies')
+ build.validates_dependencies! unless Feature.enabled?('ci_disable_validates_dependencies')
end
end