Module Agent.Configuration

type docker_image =
  1. | Gcp of {
    1. alias : string;
    }
  2. | Octez_release of {
    1. tag : string;
    }
type vm = private {
  1. machine_type : string;
  2. docker_image : docker_image;
  3. max_run_duration : int option;
  4. binaries_path : string;
  5. os : Types.Os.t;
}
type t = {
  1. name : string;
  2. vm : vm;
}
val pp : Stdlib.Format.formatter -> t -> unit
val uri_of_docker_image : docker_image -> string Lwt.t
val make : ?os:Types.Os.t -> ?binaries_path:string -> ?max_run_duration:int option -> ?machine_type:string -> ?docker_image:docker_image -> ?name:string -> unit -> t

make ?machine_type () is a smart-constructor to make a VM configuration.

Default value for max_run_duration is 7200.

Default value for machine_type is n1-standard-2.

Default value for docker_image is Custom {tezt_cloud} where tezt_cloud is the value provided by the environment variable $TEZT_CLOUD.