Class: Nucleon::Action::Plan::Deploy
- Inherits:
-
Object
- Object
- Nucleon::Action::Plan::Deploy
- Defined in:
- lib/nucleon/action/plan/deploy.rb
Class Method Summary collapse
-
.describe ⇒ Object
—————————————————————————– Info.
Instance Method Summary collapse
-
#arguments ⇒ Object
—.
-
#configure ⇒ Object
—————————————————————————– Settings.
-
#execute ⇒ Object
—————————————————————————– Action operations.
Class Method Details
.describe ⇒ Object
Info
10 11 12 |
# File 'lib/nucleon/action/plan/deploy.rb', line 10 def self.describe super(:plan, :deploy, 700) end |
Instance Method Details
#arguments ⇒ Object
25 26 27 |
# File 'lib/nucleon/action/plan/deploy.rb', line 25 def arguments [:manifest] end |
#configure ⇒ Object
Settings
17 18 19 20 21 |
# File 'lib/nucleon/action/plan/deploy.rb', line 17 def configure super do codes :deploy_failed end end |
#execute ⇒ Object
Action operations
32 33 34 35 36 37 38 39 |
# File 'lib/nucleon/action/plan/deploy.rb', line 32 def execute super do info('start') unless plan.execute(:deploy) myself.status = code.deploy_failed end end end |