Agent.Configuration
type vm = private {
machine_type : string;
docker_image : docker_image;
max_run_duration : int option;
binaries_path : string;
os : Types.Os.t;
}
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
.