update builder, builder-web, albatross

This commit is contained in:
Hannes Mehnert 2024-09-05 19:06:53 +02:00
parent 07821cbe87
commit 0737f4ec38
3 changed files with 72 additions and 15 deletions

View file

@ -0,0 +1,60 @@
opam-version: "2.0"
maintainer: "Hannes Mehnert <hannes@mehnert.org>"
authors: ["Hannes Mehnert <hannes@mehnert.org>"]
homepage: "https://github.com/robur-coop/albatross"
dev-repo: "git+https://github.com/robur-coop/albatross.git"
bug-reports: "https://github.com/robur-coop/albatross/issues"
license: "ISC"
depends: [
"ocaml" {>= "4.13.0" & < "5.0.0"}
"dune" {>= "2.7.0"}
"dune-configurator"
"conf-pkg-config" {build}
"conf-libnl3" {os = "linux"}
"lwt" {>= "3.0.0"}
"ipaddr" {>= "5.3.0"}
"logs"
"bos" {>= "0.2.0"}
"ptime"
"cmdliner" {>= "1.1.0"}
"fmt" {>= "0.8.7"}
"x509" {>= "1.0.0"}
"tls" {>= "1.0.2"}
"tls-lwt" {>= "1.0.2"}
"asn1-combinators" {>= "0.3.0"}
"duration"
"decompress" {>= "1.3.0"}
"bigstringaf" {>= "0.2.0"}
"metrics" {>= "0.2.0"}
"metrics-lwt" {>= "0.2.0"}
"metrics-influx" {>= "0.2.0"}
"metrics-rusage"
"ohex" {>= "0.2.0"}
"http-lwt-client" {>= "0.3.0"}
"happy-eyeballs-lwt"
"solo5-elftool" {>= "0.3"}
"fpath" {>= "0.7.3"}
"logs-syslog" {>= "0.4.1"}
"digestif" {>= "1.2.0"}
"alcotest" {with-test}
]
build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
["sh" "-ex" "packaging/FreeBSD/create_package.sh"] {os = "freebsd"}
["sh" "-ex" "packaging/debian/create_package.sh"] {os-family = "debian" | os-family = "ubuntu"}
]
synopsis: "Albatross - orchestrate and manage MirageOS unikernels with Solo5"
description: """
The goal of albatross is robust deployment of [MirageOS](https://mirage.io)
unikernels using [Solo5](https://github.com/solo5/solo5). Resources managed
by albatross are network interfaces of kind `tap`, which are connected to
already existing bridges, block devices, memory, and CPU. Each unikernel is
pinned (`cpuset` / `taskset`) to a specific core.
"""
depexts: ["linux-headers"] {os-family = "alpine"}
url {
src: "git+https://github.com/robur-coop/albatross.git"
}

View file

@ -17,18 +17,16 @@ build: [
depends: [ depends: [
"ocaml" {>= "4.13.0" & < "5.0.0"} "ocaml" {>= "4.13.0" & < "5.0.0"}
"dune" {>= "2.7.0"} "dune" {>= "2.7.0"}
"builder" {>= "0.2.0"} "builder" {>= "0.4.0"}
"dream" {>= "1.0.0~alpha4"} "dream" {>= "1.0.0~alpha7"}
"cstruct" {>= "6.0.0"}
"bos" "bos"
"hex" "ohex" {>= "0.2.0"}
"lwt" {>= "5.7.0"} "lwt" {>= "5.7.0"}
"caqti" {>= "2.1.1"} "caqti" {>= "2.1.2"}
"caqti-lwt" "caqti-lwt"
"caqti-driver-sqlite3" "caqti-driver-sqlite3"
"pbkdf"
"mirage-crypto-rng" {>= "0.11.0"} "mirage-crypto-rng" {>= "0.11.0"}
"scrypt-kdf" "kdf"
"opam-core" "opam-core"
"opam-format" {>= "2.1.0"} "opam-format" {>= "2.1.0"}
"metrics" {>= "0.3.0"} "metrics" {>= "0.3.0"}
@ -39,8 +37,7 @@ depends: [
"tyxml" {>= "4.3.0"} "tyxml" {>= "4.3.0"}
"ptime" "ptime"
"duration" "duration"
"mirage-crypto" "asn1-combinators" {>= "0.3.0"}
"asn1-combinators"
"logs" "logs"
"cmdliner" {>= "1.1.0"} "cmdliner" {>= "1.1.0"}
"uri" "uri"
@ -51,9 +48,11 @@ depends: [
"owee" "owee"
"solo5-elftool" {>= "0.3.0"} "solo5-elftool" {>= "0.3.0"}
"decompress" {>= "1.5.0"} "decompress" {>= "1.5.0"}
"digestif" {>= "1.2.0"}
"alcotest" {>= "1.2.0" & with-test} "alcotest" {>= "1.2.0" & with-test}
"ppx_deriving" {with-test} "ppx_deriving" {with-test}
"ppx_deriving_yojson" {with-test} "ppx_deriving_yojson" {with-test}
"yojson" {with-test}
] ]
synopsis: "Web interface for builder" synopsis: "Web interface for builder"
@ -62,7 +61,6 @@ Builder-web takes in submissions of builds, typically from [builder](https://git
Produced binaries can be downloaded and executed. Produced binaries can be downloaded and executed.
[builds.robur.coop](https://builds.robur.coop/) itself runs builder-web. [builds.robur.coop](https://builds.robur.coop/) itself runs builder-web.
""" """
url { url {
src: "git+https://github.com/robur-coop/builder-web.git" src: "git+https://github.com/robur-coop/builder-web.git"
} }

View file

@ -7,13 +7,12 @@ bug-reports: "https://github.com/robur-coop/builder/issues"
license: "ISC" license: "ISC"
depends: [ depends: [
"ocaml" {>= "4.08.0" & < "5.0.0"} "ocaml" {>= "4.13.0" & < "5.0.0"}
"dune" {>= "2.0.0"} "dune" {>= "2.0.0"}
"asn1-combinators" "asn1-combinators" {>= "0.3.0"}
"bheap" {>= "2.0.0"} "bheap" {>= "2.0.0"}
"bos" "bos"
"cmdliner" {>= "1.1.0"} "cmdliner" {>= "1.1.0"}
"cstruct" {>= "6.0.0"}
"duration" "duration"
"fmt" {>= "0.8.7"} "fmt" {>= "0.8.7"}
"fpath" "fpath"
@ -21,7 +20,7 @@ depends: [
"lwt" "lwt"
"ptime" "ptime"
"uuidm" "uuidm"
"http-lwt-client" {>= "0.2.0"} "http-lwt-client" {>= "0.3.0"}
"base64" "base64"
] ]
build: [ build: [
@ -44,5 +43,5 @@ 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). See https://builds.robur.coop for the live web frontend (builder-web).
""" """
url { url {
src: "git+https://github.com/robur-coop/builder.git#6a2682c26259ebe8a05c671ce526d1e23c76f7ea" src: "git+https://github.com/robur-coop/builder.git"
} }