19 lines
454 B
Ruby
19 lines
454 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
module Gitlab
|
||
|
module Ci
|
||
|
##
|
||
|
# Ci::Features is a class that aggregates all CI/CD feature flags in one place.
|
||
|
#
|
||
|
module Features
|
||
|
def self.artifacts_exclude_enabled?
|
||
|
::Feature.enabled?(:ci_artifacts_exclude, default_enabled: false)
|
||
|
end
|
||
|
|
||
|
def self.ensure_scheduling_type_enabled?
|
||
|
::Feature.enabled?(:ci_ensure_scheduling_type, default_enabled: true)
|
||
|
end
|
||
|
end
|
||
|
end
|
||
|
end
|