Class: Papa::Command::Larga::Deploy
- Defined in:
- lib/papa/command/larga/deploy.rb
Constant Summary collapse
- RELEASE_OR_INTEGRATION_LIFESPAN =
'3d'
- RELEASE_OR_INTEGRATION_PROTECTION =
'off'
Instance Attribute Summary
Attributes inherited from Base
#command, #exit_status, #silent, #stderr, #stdout
Instance Method Summary collapse
- #failed? ⇒ Boolean
- #failure_message ⇒ Object
-
#initialize(options) ⇒ Deploy
constructor
A new instance of Deploy.
- #run ⇒ Object
Methods inherited from Base
Constructor Details
#initialize(options) ⇒ Deploy
Returns a new instance of Deploy.
10 11 12 13 14 15 |
# File 'lib/papa/command/larga/deploy.rb', line 10 def initialize() @options = command = "larga #{.join(' ')}" super(command, silent: false) end |
Instance Method Details
#failed? ⇒ Boolean
32 33 34 |
# File 'lib/papa/command/larga/deploy.rb', line 32 def failed? stdout.include?('Cowardly refusing') || stdout.include?('Error') end |