gitlab-org--gitlab-foss/lib/gitlab/ci/features.rb

15 lines
318 B
Ruby
Raw Normal View History

# 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
end
end
end