class BitteCI::JobConfig::Step
- BitteCI::JobConfig::Step
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
bitte_ci/job_config.crConstructors
- .new(label : String, command : Array(String) | String, enable : Bool, vault : Bool, cpu : UInt32, memory : UInt32, lifecycle : Nil | String, sidecar : Bool | Nil, after : Array(String) = [] of String, flakes : Hash(String, Array(String)) = {} of String => Array(String), outputs : Array(String) = [] of String, env : Hash(String, String) = {} of String => String)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #after : Array(String)
- #after=(after : Array(String))
- #command : String | Array(String)
- #command=(command : String | Array(String))
- #cpu : UInt32
- #cpu=(cpu : UInt32)
- #enable : Bool
- #enable=(enable : Bool)
- #env : Hash(String, String)
- #env=(env : Hash(String, String))
- #flakes : Hash(String, Array(String))
- #flakes=(flakes : Hash(String, Array(String)))
- #kill_timeout : UInt64
- #kill_timeout=(kill_timeout : UInt64)
- #label : String
- #label=(label : String)
- #lifecycle : String | Nil
- #lifecycle=(lifecycle : String | Nil)
- #memory : UInt32
- #memory=(memory : UInt32)
- #outputs : Array(String)
- #outputs=(outputs : Array(String))
- #sidecar : Bool | Nil
- #sidecar=(sidecar : Bool | Nil)
- #term_timeout : UInt64
- #term_timeout=(term_timeout : UInt64)
- #vault : Bool
- #vault=(vault : Bool)
Constructor Detail
def self.new(label : String, command : Array(String) | String, enable : Bool, vault : Bool, cpu : UInt32, memory : UInt32, lifecycle : Nil | String, sidecar : Bool | Nil, after : Array(String) = [] of String, flakes : Hash(String, Array(String)) = {} of String => Array(String), outputs : Array(String) = [] of String, env : Hash(String, String) = {} of String => String)
#