Module: HybridPlatformsConductor::Deployer::ConfigDSLExtension
- Defined in:
- lib/hybrid_platforms_conductor/deployer.rb
Overview
Extend the Config DSL
Instance Attribute Summary collapse
-
#packaging_timeout_secs ⇒ Object
readonly
Integer: Timeout (in seconds) for packaging repositories.
Instance Method Summary collapse
-
#init_deployer_config ⇒ Object
Mixin initializer.
-
#packaging_timeout(packaging_timeout_secs) ⇒ Object
Set the packaging timeout.
Instance Attribute Details
#packaging_timeout_secs ⇒ Object (readonly)
Integer: Timeout (in seconds) for packaging repositories
25 26 27 |
# File 'lib/hybrid_platforms_conductor/deployer.rb', line 25 def packaging_timeout_secs @packaging_timeout_secs end |
Instance Method Details
#init_deployer_config ⇒ Object
Mixin initializer
28 29 30 |
# File 'lib/hybrid_platforms_conductor/deployer.rb', line 28 def init_deployer_config @packaging_timeout_secs = 60 end |
#packaging_timeout(packaging_timeout_secs) ⇒ Object
Set the packaging timeout
- Parameters
-
packaging_timeout_secs (Integer): The packaging timeout, in seconds
36 37 38 |
# File 'lib/hybrid_platforms_conductor/deployer.rb', line 36 def packaging_timeout(packaging_timeout_secs) @packaging_timeout_secs = packaging_timeout_secs end |