class DeployCR::Operation
- DeployCR::Operation
- Hathor::Operation
- Reference
- Object
Included Modules
- DeployCR
- Hathor::NestedMacro
Direct Known Subclasses
- DeployCR::Deployment
- DeployCR::Integration::Amber
- DeployCR::Task::CloneProject
- DeployCR::Task::CompileAssets
- DeployCR::Task::CrossCompile::Compile
- DeployCR::Task::CrossCompile::Link
Defined in:
deploy-cr/operation.crConstant Summary
-
CLASS_CONFIG =
{} of Nil => Nil
-
The following hash CLASS_CONFIG saves all information about the steps and given options. So its the "operation class config". This variable is available during AST node parsing. Thanks to inherited hook it is @type.id class related and not super class.
Class Method Summary
- .configure(&)
-
.run(*args, **options)
Finished hook is the last thing of AST node parsing.
Instance Method Summary
-
#failure?(step_name : Symbol, step_type : Symbol | Nil = nil)
Finished hook is the last thing of AST node parsing.
-
#failure?
Finished hook is the last thing of AST node parsing.
- #host : String
- #host=(host : String)
- #host? : String | Nil
-
#log : Hathor::OperationLogger
Finished hook is the last thing of AST node parsing.
-
#log=(log)
Finished hook is the last thing of AST node parsing.
-
#run
Finished hook is the last thing of AST node parsing.
- #run(*args, **options)
-
#run_process(cmd, args = nil, output = DeployCR.stdout, chdir = File.join(app_path, tmppath), shell = false)
DEPRECATED Use
#run
instead - #ssh(*args, **options)
-
#status : Bool
Finished hook is the last thing of AST node parsing.
-
#status=(status)
Finished hook is the last thing of AST node parsing.
-
#success?(step_name : Symbol, step_type : Symbol | Nil = nil)
Finished hook is the last thing of AST node parsing.
-
#success? : Bool
Finished hook is the last thing of AST node parsing.
- #tmppath : String
- #tmppath=(tmppath : String)
-
#update_operation_state(new_status : Bool, step : Symbol, step_type : Symbol, log_reason = "updated without submitting reason", force : Bool = false)
Finished hook is the last thing of AST node parsing.
-
#update_operation_state(new_status : Bool, log_reason = "updated without submitting reason", force = false)
Finished hook is the last thing of AST node parsing.
- #user : String
- #user=(user : String)
- #user? : String | Nil
Instance methods inherited from module DeployCR
app_name_by_path
app_name_by_path,
app_path
app_path,
tmp_path
tmp_path
Class methods inherited from module DeployCR
stderr
stderr,
stdout
stdout
Class Method Detail
Finished hook is the last thing of AST node parsing. By putting it inside inherited macro, we ensure that it will be run after simple macros are over and only for the @type.id class. So this is THE REALLY LAST THING OF AST.
Instance Method Detail
Finished hook is the last thing of AST node parsing. By putting it inside inherited macro, we ensure that it will be run after simple macros are over and only for the @type.id class. So this is THE REALLY LAST THING OF AST.
Finished hook is the last thing of AST node parsing. By putting it inside inherited macro, we ensure that it will be run after simple macros are over and only for the @type.id class. So this is THE REALLY LAST THING OF AST.
Finished hook is the last thing of AST node parsing. By putting it inside inherited macro, we ensure that it will be run after simple macros are over and only for the @type.id class. So this is THE REALLY LAST THING OF AST.
Finished hook is the last thing of AST node parsing. By putting it inside inherited macro, we ensure that it will be run after simple macros are over and only for the @type.id class. So this is THE REALLY LAST THING OF AST.
Finished hook is the last thing of AST node parsing. By putting it inside inherited macro, we ensure that it will be run after simple macros are over and only for the @type.id class. So this is THE REALLY LAST THING OF AST.
DEPRECATED Use #run
instead
Finished hook is the last thing of AST node parsing. By putting it inside inherited macro, we ensure that it will be run after simple macros are over and only for the @type.id class. So this is THE REALLY LAST THING OF AST.
Finished hook is the last thing of AST node parsing. By putting it inside inherited macro, we ensure that it will be run after simple macros are over and only for the @type.id class. So this is THE REALLY LAST THING OF AST.
Finished hook is the last thing of AST node parsing. By putting it inside inherited macro, we ensure that it will be run after simple macros are over and only for the @type.id class. So this is THE REALLY LAST THING OF AST.
Finished hook is the last thing of AST node parsing. By putting it inside inherited macro, we ensure that it will be run after simple macros are over and only for the @type.id class. So this is THE REALLY LAST THING OF AST.
Finished hook is the last thing of AST node parsing. By putting it inside inherited macro, we ensure that it will be run after simple macros are over and only for the @type.id class. So this is THE REALLY LAST THING OF AST.
Finished hook is the last thing of AST node parsing. By putting it inside inherited macro, we ensure that it will be run after simple macros are over and only for the @type.id class. So this is THE REALLY LAST THING OF AST.