Module: Gitlab::Ci::Config::Yaml

Defined in:
lib/gitlab/ci/config/yaml.rb,
lib/gitlab/ci/config/yaml/tags.rb,
lib/gitlab/ci/config/yaml/tags/base.rb,
lib/gitlab/ci/config/yaml/tags/resolver.rb,
lib/gitlab/ci/config/yaml/tags/reference.rb

Defined Under Namespace

Modules: Tags

Constant Summary collapse

AVAILABLE_TAGS =
[Config::Yaml::Tags::Reference].freeze

Class Method Summary collapse

Class Method Details

.load!(content) ⇒ Object


10
11
12
13
14
# File 'lib/gitlab/ci/config/yaml.rb', line 10

def load!(content)
  ensure_custom_tags

  Gitlab::Config::Loader::Yaml.new(content, additional_permitted_classes: AVAILABLE_TAGS).load!
end