package obi

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Results of individual builds for a particular parameters. This is not intended for direct use by users, as the results are collected and aggregated into the Index module which is easier to consume by tools.

type build_result = {
  1. code : [ `Signaled of int | `Exited of int ];
  2. actions : string;
  3. start_time : float;
  4. end_time : float;
}

build_result records the results of a single job build.

val sexp_of_build_result : build_result -> Ppx_sexp_conv_lib.Sexp.t
val build_result_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> build_result
type pkg = {
  1. name : string;
  2. versions : (string * build_result) list;
}

pkg records the results of the runs for every version of a package.

val sexp_of_pkg : pkg -> Ppx_sexp_conv_lib.Sexp.t
val pkg_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> pkg
type params = {
  1. arch : Dockerfile_distro.arch;
  2. distro : Dockerfile_distro.t;
  3. ov : Ocaml_version.t;
}

params is the configuration for a run.

val sexp_of_params : params -> Ppx_sexp_conv_lib.Sexp.t
val params_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> params
type batch = {
  1. rev : string;
    (*

    opam-repository git revision

    *)
  2. params : params;
  3. pkgs : pkg list;
}

batch represents the results of a bulk build with one configuration against a single opam-repository revision.

val sexp_of_batch : batch -> Ppx_sexp_conv_lib.Sexp.t
val batch_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> batch
OCaml

Innovation. Community. Security.