diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-12-07 23:17:46 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-12-07 23:17:46 +0900 |
commit | 85151ff6f65fcb3076b554c563ccc2fa458a9ccb (patch) | |
tree | d7c1a3fc58468813e98b09d721a46ef8052984b6 /app | |
parent | c2f68b7ae319cb732eeaf53ddd020702644dc70d (diff) | |
download | gitlab-ce-85151ff6f65fcb3076b554c563ccc2fa458a9ccb.tar.gz |
Change feature flag to ci_disable_validates_dependencies to enable it as default
Diffstat (limited to 'app')
-rw-r--r-- | app/models/ci/build.rb | 2 |
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 |