Class: Gitlab::Ci::Config::Entry::Hooks

Inherits:
Gitlab::Config::Entry::Node show all
Includes:
Gitlab::Config::Entry::Configurable
Defined in:
lib/gitlab/ci/config/entry/hooks.rb

Constant Summary collapse

ALLOWED_HOOKS =

NOTE: If a new hook is added, inheriting should be changed because a ‘job:hooks` overrides all

`default:hooks` now. We should implement merging; each hook must be overridden individually.
%i[pre_get_sources_script].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

Method Summary

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