Module CI_term

include CI_s.TERM
type context
type 'a key
type 'a t
val return : 'a ‑> 'a t
val fail : ('aFormat.formatter, unit, 'b tPervasives.format4 ‑> 'a
val pending : ('aFormat.formatter, unit, 'b tPervasives.format4 ‑> 'a
val state : 'a t ‑> ('a, [ `Pending of string | `Failure of string ]) Pervasives.result t
val of_state : ('a, [< `Pending of string | `Failure of string ]) Pervasives.result ‑> 'a t
val catch : 'a t ‑> ('a, [ `Failure of string ]) Pervasives.result t
val value : 'a key ‑> 'a t
val of_lwt_quick : 'a Lwt.t ‑> 'a t
val of_lwt_slow : (unit ‑> 'a CI_s.status Lwt.t) ‑> 'a t
val join : 'a t t ‑> 'a t
val pair : 'a t ‑> 'b t ‑> ('a * 'b) t
val without_logs : 'a t ‑> 'a t
module Infix : sig ... end
val list_map_p : ('a ‑> 'b t) ‑> 'a list ‑> 'b list t
val wait_for : 'a t ‑> while_pending:string ‑> on_failure:string ‑> unit t
val wait_for_all : (string * 'a t) list ‑> unit t
val pp_target : [ `PR of Datakit_github.PR.t | `Ref of Datakit_github.Ref.t ] Fmt.t
val github : CI_utils.DK.Tree.t t
val target : CI_target.t ‑> CI_target.v t
val job_id : CI_s.job_id t
val head : CI_target.t ‑> Datakit_github.Commit.t t
val branch_head : Datakit_github.Repo.t ‑> string ‑> Datakit_github.Commit.t t
val tag : Datakit_github.Repo.t ‑> string ‑> Datakit_github.Commit.t t
val dk : (unit ‑> CI_utils.DK.t Lwt.t) t
val ci_status : string list ‑> CI_target.t ‑> Datakit_github.Status_state.t option t
val ci_target_url : string list ‑> CI_target.t ‑> Uri.t option t
val ci_success_target_url : string list ‑> CI_target.t ‑> Uri.t t
val run : snapshot:CI_utils.DK.Tree.t ‑> job_id:CI_s.job_id ‑> recalc:(unit ‑> unit) ‑> dk:(unit ‑> CI_utils.DK.t Lwt.t) ‑> 'a t ‑> ('a CI_result.t * CI_output.logs) Lwt.t * (unit ‑> unit)