Class: Gitlab::Ci::Config::Header::Root
- Inherits:
-
Gitlab::Config::Entry::Node
- Object
- Gitlab::Config::Entry::Node
- Gitlab::Ci::Config::Header::Root
- Includes:
- Gitlab::Config::Entry::Configurable
- Defined in:
- lib/gitlab/ci/config/header/root.rb
Overview
This class represents the root entry of the GitLab CI configuration header.
A header is the first document in a multi-doc YAML that contains metadata and specifications about the GitLab CI configuration (the second document).
The header is optional. A CI configuration can also be represented with a YAML containing a single document.
Constant Summary collapse
- ALLOWED_KEYS =
%i[spec].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!, #skip_config_hash_validation?
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
#inputs_value ⇒ Object
29 30 31 |
# File 'lib/gitlab/ci/config/header/root.rb', line 29 def inputs_value spec_entry.inputs_value end |