Class: Gitlab::WebIde::Config::Entry::Terminal
- Inherits:
-
Config::Entry::Node
- Object
- Config::Entry::Node
- Gitlab::WebIde::Config::Entry::Terminal
- Includes:
- Config::Entry::Attributable, Config::Entry::Configurable, Utils::StrongMemoize
- Defined in:
- lib/gitlab/web_ide/config/entry/terminal.rb
Overview
Entry that represents a concrete CI/CD job.
Constant Summary collapse
- DEFAULT_SCRIPT =
By default the build will finish in a few seconds, not giving the webide enough time to connect to the terminal. This default script provides those seconds blocking the build from finishing inmediately.
['sleep 60'].freeze
- ALLOWED_KEYS =
%i[image services tags before_script script variables].freeze
Constants inherited from Config::Entry::Node
Config::Entry::Node::InvalidError
Instance Attribute Summary
Attributes inherited from Config::Entry::Node
#config, #default, #deprecation, #description, #key, #metadata, #parent
Instance Method Summary collapse
Methods included from Config::Entry::Configurable
#compose!, #entry_create!, #skip_config_hash_validation?
Methods inherited from Config::Entry::Node
#[], #add_warning, #ancestors, #array?, aspects, #compose!, default, #descendants, #errors, #hash?, #initialize, #inspect, #integer?, #leaf?, #location, #opt, #relevant?, #specified?, #string?, #valid?, #warnings, with_aspect
Constructor Details
This class inherits a constructor from Gitlab::Config::Entry::Node
Instance Method Details
#value ⇒ Object
48 49 50 |
# File 'lib/gitlab/web_ide/config/entry/terminal.rb', line 48 def value to_hash.compact end |