Class: Gitlab::Ci::Config::Entry::Include

Inherits:
Gitlab::Config::Entry::Node show all
Includes:
Gitlab::Config::Entry::Attributable, Gitlab::Config::Entry::Configurable, Gitlab::Config::Entry::Validatable
Defined in:
lib/gitlab/ci/config/entry/include.rb,
lib/gitlab/ci/config/entry/include/rules.rb,
lib/gitlab/ci/config/entry/include/rules/rule.rb

Overview

Entry that represents a single include.

Defined Under Namespace

Classes: Rules

Constant Summary collapse

ALLOWED_KEYS =
%i[local file remote template component artifact job project ref rules].freeze

Constants inherited from Gitlab::Config::Entry::Node

Gitlab::Config::Entry::Node::InvalidError

Instance Attribute Summary

Attributes inherited from Gitlab::Config::Entry::Node

#config, #default, #deprecation, #description, #key, #metadata, #parent

Instance Method Summary collapse

Methods included from Gitlab::Config::Entry::Configurable

#compose!, #entry_create!

Methods included from Gitlab::Config::Entry::Validatable

#compose!, #errors, included, #validate, #validator

Methods inherited from Gitlab::Config::Entry::Node

#[], #add_warning, #ancestors, #array?, aspects, #compose!, default, #descendants, #errors, #hash?, #initialize, #inspect, #integer?, #leaf?, #location, #opt, #relevant?, #specified?, #string?, #valid?, #value, #warnings, with_aspect

Constructor Details

This class inherits a constructor from Gitlab::Config::Entry::Node

Instance Method Details

#skip_config_hash_validation?Boolean

Returns:

  • (Boolean)


44
45
46
# File 'lib/gitlab/ci/config/entry/include.rb', line 44

def skip_config_hash_validation?
  true
end