add builder and builder-web

This commit is contained in:
Robur 2021-06-09 15:44:18 +00:00
parent 4d2be0c05b
commit bb706ed6b9
2 changed files with 82 additions and 0 deletions

View file

@ -0,0 +1,46 @@
opam-version: "2.0"
maintainer: "Reynir Björnsson <reynir@reynir.dk>"
authors: ["Reynir Björnsson <reynir@reynir.dk>"]
homepage: "https://github.com/roburio/builder-web"
dev-repo: "git+https://github.com/roburio/builder-web.git"
bug-reports: "https://github.com/roburio/builder-web/issues"
license: "ISC"
build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
["sh" "packaging/FreeBSD/create_package.sh"] {os = "freebsd"}
]
install: [
["cp" "builder_web.txz" "%{bin}%/"] {os = "freebsd"}
]
depends: [
"builder"
"dream"
"bos"
"hex"
"caqti"
"caqti-lwt"
"caqti-driver-sqlite3"
"pbkdf"
"mirage-crypto-rng"
"sexplib"
"scrypt-kdf"
"alcotest" {with-test}
"opam-core"
"opam-format"
"metrics"
"metrics-lwt"
"metrics-influx"
"metrics-rusage"
"ipaddr"
]
synopsis: "Web interface for builder"
url {
src: "git+https://git.robur.io/robur/builder-web.git"
}

View file

@ -0,0 +1,36 @@
opam-version: "2.0"
maintainer: "Hannes Mehnert <hannes@mehnert.org>"
authors: ["Hannes Mehnert <hannes@mehnert.org>"]
homepage: "https://github.com/roburio/builder"
dev-repo: "git+https://github.com/roburio/builder.git"
bug-reports: "https://github.com/roburio/builder/issues"
license: "ISC"
depends: [
"ocaml" {>= "4.08.0"}
"dune" {>= "2.0.0"}
"asn1-combinators"
"bheap"
"bos"
"cmdliner"
"cstruct"
"duration"
"fmt"
"fpath"
"logs"
"lwt"
"ptime"
"rresult"
"uuidm"
"curly"
"base64"
]
build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
]
synopsis: "Scheduling and executing shell jobs"
url {
src: "git+https://github.com/roburio/builder.git"
}