Octogram.Orchestratorval run_recipe : keep_alive:bool -> Recipe.t -> unit Lwt.trun_recipe r unrolls the recipe r, that is it starts its agents, orchestrates its jobs, then clean-up.
For developers interested in program Octogram scenarios though OCaml rather than the intended YAML recipe file.
val initialize_agents :
octogram_binary:Remote_agent.octogram_binary ->
state:Orchestrator_state.t ->
Recipe.agent list ->
unit Lwt.tval terminate_agents : state:Orchestrator_state.t -> unit Lwt.tval run_job :
state:Orchestrator_state.t ->
agent:Remote_agent.t ->
re:Jingoo.Jg_types.tvalue ->
string Job.t ->
unit Lwt.tval run_stage : state:Orchestrator_state.t -> Stage.t -> unit Lwt.t