abstract class Werk::Config::Job
- Werk::Config::Job
- Reference
- Object
Included Modules
- YAML::Serializable
Direct Known Subclasses
Defined in:
werk/config.crConstructors
Instance Method Summary
-
#can_fail? : Bool
Signals if the job is allowed to fail or not.
-
#commands : Array(String)
List commands
-
#description : String
The description for the job
-
#dotenv : Set(String)
List of dotenv files to be loaded
- #executor : String
- #interpreter : String
-
#needs : Array(String)
Dependencies list
- #run(session_id : UUID, name : String, context : String) : Tuple(Int32, String)
- #script_content
- #script_file
-
#silent? : Bool
Suppress job output to STDOUT
-
#variables : Hash(String, String)
A list of variables to be passed to the job
-
#variables=(variables : Hash(String, String))
A list of variables to be passed to the job
Constructor Detail
Instance Method Detail
abstract
def run(session_id : UUID, name : String, context : String) : Tuple(Int32, String)
#