diff options
author | Kamil Trzciński <ayufan@ayufan.eu> | 2019-08-14 15:59:44 +0200 |
---|---|---|
committer | Kamil Trzciński <ayufan@ayufan.eu> | 2019-08-14 15:59:44 +0200 |
commit | 72541807b34348e7fa7e7d1ef7d119376382d8af (patch) | |
tree | c295e2c50bf23bda413b861d294741e1d5683599 /app/models | |
parent | fcc20fde8346a9c2dd9e79ded2557c8058ac1e22 (diff) | |
download | gitlab-ce-72541807b34348e7fa7e7d1ef7d119376382d8af.tar.gz |
Enable DAG support by defaultenable-dag-support-by-default
This toggles the ci_dag_support flag to be on by default.
This relies on ci_dag_limit_needs to be present to reduce
amount of inter-dependencies between jobs
Diffstat (limited to 'app/models')
-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 f705e67121f..3c0efca31db 100644 --- a/app/models/ci/build.rb +++ b/app/models/ci/build.rb @@ -716,7 +716,7 @@ module Ci depended_jobs = depends_on_builds # find all jobs that are needed - if Feature.enabled?(:ci_dag_support, project) && needs.exists? + if Feature.enabled?(:ci_dag_support, project, default_enabled: true) && needs.exists? depended_jobs = depended_jobs.where(name: needs.select(:name)) end |