Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/ci/config/entry/include.rb')
-rw-r--r--lib/gitlab/ci/config/entry/include.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/gitlab/ci/config/entry/include.rb b/lib/gitlab/ci/config/entry/include.rb
index 368d8f07f8d..baab7ebdb79 100644
--- a/lib/gitlab/ci/config/entry/include.rb
+++ b/lib/gitlab/ci/config/entry/include.rb
@@ -12,7 +12,7 @@ module Gitlab
include ::Gitlab::Config::Entry::Configurable
include ::Gitlab::Config::Entry::Attributable
- ALLOWED_KEYS = %i[local file remote template artifact job project ref rules].freeze
+ ALLOWED_KEYS = %i[local file remote template component artifact job project ref rules].freeze
validations do
validates :config, hash_or_string: true
@@ -36,8 +36,8 @@ module Gitlab
end
entry :rules, ::Gitlab::Ci::Config::Entry::Include::Rules,
- description: 'List of evaluable Rules to determine file inclusion.',
- inherit: false
+ description: 'List of evaluable Rules to determine file inclusion.',
+ inherit: false
attributes :rules