2021-11-03 13:22:05 +00:00
|
|
|
opam-version: "2.0"
|
2022-10-26 10:13:06 +00:00
|
|
|
maintainer: "Robur <team@robur.coop>"
|
|
|
|
authors: ["Robur <team@robur.coop>"]
|
2023-09-09 12:19:41 +00:00
|
|
|
homepage: "https://github.com/robur-coop/builder"
|
|
|
|
dev-repo: "git+https://github.com/robur-coop/builder.git"
|
|
|
|
bug-reports: "https://github.com/robur-coop/builder/issues"
|
2021-11-03 13:22:05 +00:00
|
|
|
license: "ISC"
|
|
|
|
|
|
|
|
depends: [
|
2024-09-05 17:06:53 +00:00
|
|
|
"ocaml" {>= "4.13.0" & < "5.0.0"}
|
2022-03-02 12:39:36 +00:00
|
|
|
"dune" {>= "2.0.0"}
|
2024-09-05 17:06:53 +00:00
|
|
|
"asn1-combinators" {>= "0.3.0"}
|
2022-10-26 10:13:06 +00:00
|
|
|
"bheap" {>= "2.0.0"}
|
2021-11-03 13:22:05 +00:00
|
|
|
"bos"
|
2022-03-15 20:53:38 +00:00
|
|
|
"cmdliner" {>= "1.1.0"}
|
2021-11-03 13:22:05 +00:00
|
|
|
"duration"
|
2022-10-26 10:13:06 +00:00
|
|
|
"fmt" {>= "0.8.7"}
|
2021-11-03 13:22:05 +00:00
|
|
|
"fpath"
|
|
|
|
"logs"
|
|
|
|
"lwt"
|
|
|
|
"ptime"
|
|
|
|
"uuidm"
|
2024-09-05 17:06:53 +00:00
|
|
|
"http-lwt-client" {>= "0.3.0"}
|
2021-11-03 13:22:05 +00:00
|
|
|
"base64"
|
|
|
|
]
|
|
|
|
build: [
|
|
|
|
["dune" "subst"] {dev}
|
|
|
|
["dune" "build" "-p" name "-j" jobs]
|
|
|
|
["sh" "-ex" "packaging/FreeBSD/create_package.sh"] {os = "freebsd"}
|
|
|
|
["sh" "-ex" "packaging/debian/create_package.sh"] {os-family = "debian"}
|
|
|
|
]
|
|
|
|
|
|
|
|
synopsis: "Scheduling and executing shell jobs"
|
2022-10-26 10:13:06 +00:00
|
|
|
description: """
|
|
|
|
The builder server has a schedule of jobs to be executed, stored persistently
|
|
|
|
on disk. Any number of workers can connect via TCP (using ASN.1 encoded
|
|
|
|
messages) that execute a single job -- usually contained in a sandbox (FreeBSD
|
|
|
|
jail or Docker container). A client is a command-line interface to modify the
|
|
|
|
schedule. Access control is out of scope - run it locally on your build host.
|
|
|
|
The server receives the output artifacts of each job, and either stores them
|
|
|
|
on the local file system or upload them to a remote server via http.
|
|
|
|
|
|
|
|
See https://builds.robur.coop for the live web frontend (builder-web).
|
|
|
|
"""
|
2021-11-03 13:22:05 +00:00
|
|
|
url {
|
2024-09-05 17:06:53 +00:00
|
|
|
src: "git+https://github.com/robur-coop/builder.git"
|
2021-11-03 13:22:05 +00:00
|
|
|
}
|