package datakit-ci

  1. Overview
  2. Docs

Configuration

type t

The type for the project configuration.

type project

The type for projects.

type test = string Term.t

The type for individual tests.

val project : id:string -> ?dashboards:string list -> (Target.t -> (string * test) list) -> project

project ~id tests is the configuration for a single GitHub project. tests is a list tests to apply to branches, tags and open PRs within the project. dashboards (default ["master"]) is a list of branches to display in the main dashboard area.

val v : web_config:Web.config -> projects:project list -> t

v ~web_config ~project describe a complete project configuration.

OCaml

Innovation. Community. Security.