Commit 6a90c49c authored by Fabio Pitino's avatar Fabio Pitino

Enable feature flag to raise CI warnings

parent 6b3a3d12
...@@ -44,10 +44,8 @@ module Gitlab ...@@ -44,10 +44,8 @@ module Gitlab
::Feature.enabled?(:ci_variables_api_filter_environment_scope, default_enabled: false) ::Feature.enabled?(:ci_variables_api_filter_environment_scope, default_enabled: false)
end end
# This FF is only used for development purpose to test that warnings can be
# raised and propagated to the UI.
def self.raise_job_rules_without_workflow_rules_warning? def self.raise_job_rules_without_workflow_rules_warning?
::Feature.enabled?(:ci_raise_job_rules_without_workflow_rules_warning) ::Feature.enabled?(:ci_raise_job_rules_without_workflow_rules_warning, default_enabled: true)
end end
def self.keep_latest_artifacts_for_ref_enabled?(project) def self.keep_latest_artifacts_for_ref_enabled?(project)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment