diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-17 14:59:07 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-12-17 14:59:07 +0300 |
commit | 8b573c94895dc0ac0e1d9d59cf3e8745e8b539ca (patch) | |
tree | 544930fb309b30317ae9797a9683768705d664c4 /lib/gitlab/ci/features.rb | |
parent | 4b1de649d0168371549608993deac953eb692019 (diff) |
Add latest changes from gitlab-org/gitlab@13-7-stable-eev13.7.0-rc42
Diffstat (limited to 'lib/gitlab/ci/features.rb')
-rw-r--r-- | lib/gitlab/ci/features.rb | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/lib/gitlab/ci/features.rb b/lib/gitlab/ci/features.rb index 661189eea50..af1df933b36 100644 --- a/lib/gitlab/ci/features.rb +++ b/lib/gitlab/ci/features.rb @@ -55,12 +55,8 @@ module Gitlab ::Feature.enabled?(:ci_trace_log_invalid_chunks, project, type: :ops, default_enabled: false) end - def self.manual_bridges_enabled?(project) - ::Feature.enabled?(:ci_manual_bridges, project, default_enabled: true) - end - - def self.auto_rollback_available?(project) - ::Feature.enabled?(:cd_auto_rollback, project) && project&.feature_available?(:auto_rollback) + def self.pipeline_open_merge_requests?(project) + ::Feature.enabled?(:ci_pipeline_open_merge_requests, project, default_enabled: false) end def self.seed_block_run_before_workflow_rules_enabled?(project) @@ -70,6 +66,14 @@ module Gitlab def self.ci_pipeline_editor_page_enabled?(project) ::Feature.enabled?(:ci_pipeline_editor_page, project, default_enabled: false) end + + def self.allow_failure_with_exit_codes_enabled? + ::Feature.enabled?(:ci_allow_failure_with_exit_codes) + end + + def self.rules_variables_enabled?(project) + ::Feature.enabled?(:ci_rules_variables, project, default_enabled: false) + end end end end |