class DeployCR::Deployment
- DeployCR::Deployment
- DeployCR::Operation
- Hathor::Operation
- Reference
- Object
Included Modules
- Hathor::NestedMacro
Defined in:
deploy-cr/deployment.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.
Constructors
Class Method Summary
-
.run(*args, **options)
Finished hook is the last thing of AST node parsing.
Instance Method Summary
- #app_name : String
- #app_name=(app_name : String)
-
#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.
- #files : Array(String)
- #files=(files : Array(String))
-
#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.
- #path : String
- #path=(path : String)
- #path? : String | Nil
-
#run
Finished hook is the last thing of AST node parsing.
-
#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.
- #sync_to_server!
-
#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.
Instance methods inherited from class DeployCR::Operation
failure?(step_name : Symbol, step_type : Symbol | Nil = nil)failure? failure?, host : String host, host=(host : String) host=, host? : String | Nil host?, log : Hathor::OperationLogger log, log=(log) log=, run
run(*args, **options) run, run_process(cmd, args = nil, output = DeployCR.stdout, chdir = File.join(app_path, tmppath), shell = false) run_process, ssh(*args, **options) ssh, status : Bool status, status=(status) status=, success?(step_name : Symbol, step_type : Symbol | Nil = nil)
success? : Bool success?, tmppath : String tmppath, tmppath=(tmppath : String) tmppath=, update_operation_state(new_status : Bool, step : Symbol, step_type : Symbol, log_reason = "updated without submitting reason", force : Bool = false)
update_operation_state(new_status : Bool, log_reason = "updated without submitting reason", force = false) update_operation_state, user : String user, user=(user : String) user=, user? : String | Nil user?
Class methods inherited from class DeployCR::Operation
configure(&)
configure,
run(*args, **options)
run
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
Constructor Detail
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.
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.