From 9455c38c87f9142d0804347cae5f8af936d516c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Reynir=20Bj=C3=B6rnsson?= Date: Thu, 16 Feb 2023 09:42:41 +0100 Subject: [PATCH 1/3] [new release] albatross (1.5.5) CHANGES: - Systemd scripts: default to less verbose logging (roburio/albatross#151 @dinosaure @reynir) - Add a command to restart unikernels (roburio/albatross#148 @hannesm @reynir) --- packages/albatross/albatross.1.5.5/opam | 67 +++++++++++++++++++++++++ 1 file changed, 67 insertions(+) create mode 100644 packages/albatross/albatross.1.5.5/opam diff --git a/packages/albatross/albatross.1.5.5/opam b/packages/albatross/albatross.1.5.5/opam new file mode 100644 index 00000000000..86217f862aa --- /dev/null +++ b/packages/albatross/albatross.1.5.5/opam @@ -0,0 +1,67 @@ +opam-version: "2.0" +maintainer: "Hannes Mehnert " +authors: ["Hannes Mehnert "] +homepage: "https://github.com/roburio/albatross" +dev-repo: "git+https://github.com/roburio/albatross.git" +bug-reports: "https://github.com/roburio/albatross/issues" +license: "ISC" + +depends: [ + "ocaml" {>= "4.12.0"} + "dune" {>= "2.7.0"} + "dune-configurator" + "conf-pkg-config" {build} + "conf-libnl3" {os = "linux"} + "lwt" {>= "3.0.0"} + "ipaddr" {>= "5.3.0"} + "cstruct" {>= "6.0.0"} + "logs" + "bos" + "ptime" + "cmdliner" {>= "1.1.0"} + "fmt" {>= "0.8.7"} + "x509" {>= "0.13.0"} + "tls" {>= "0.13.1"} + "mirage-crypto" + "mirage-crypto-rng" {>= "0.8.0"} + "asn1-combinators" {>= "0.2.0"} + "duration" + "decompress" {>= "1.3.0"} + "bigstringaf" {>= "0.2.0"} + "checkseum" + "metrics" {>= "0.2.0"} + "metrics-lwt" {>= "0.2.0"} + "metrics-influx" {>= "0.2.0"} + "metrics-rusage" + "hex" + "http-lwt-client" {>= "0.2.0"} + "happy-eyeballs-lwt" + "solo5-elftool" {>= "0.3"} + "owee" {>= "0.4"} + "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: + "https://github.com/roburio/albatross/releases/download/v1.5.5/albatross-1.5.5.tbz" + checksum: [ + "sha256=b868da3ff9fa6ed94fe4a934ae60e9fe7efafbca7b01ed071346d16360180980" + "sha512=b002ea671a16169a21e23dc4a3b17ad199b2cf1d3dd5b1dbd72dc076d2bfe80af7bf34c430ac89e84125fcb6b1a43a30a3bba1e47f4a80514a8598a523c8e99a" + ] +} +x-commit-hash: "0dc2f921544a42946a3878dfa552da03d496de81" From 92d7eefa2b311559a2845822930332d6a629c983 Mon Sep 17 00:00:00 2001 From: Hannes Mehnert Date: Thu, 16 Feb 2023 10:09:13 +0100 Subject: [PATCH 2/3] Update packages/albatross/albatross.1.5.5/opam --- packages/albatross/albatross.1.5.5/opam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/albatross/albatross.1.5.5/opam b/packages/albatross/albatross.1.5.5/opam index 86217f862aa..d420592ee34 100644 --- a/packages/albatross/albatross.1.5.5/opam +++ b/packages/albatross/albatross.1.5.5/opam @@ -21,7 +21,7 @@ depends: [ "cmdliner" {>= "1.1.0"} "fmt" {>= "0.8.7"} "x509" {>= "0.13.0"} - "tls" {>= "0.13.1"} + "tls" {>= "0.13.1" & < "0.16.0"} "mirage-crypto" "mirage-crypto-rng" {>= "0.8.0"} "asn1-combinators" {>= "0.2.0"} From b21262587ead4d476c760601dffd6950709ffd4f Mon Sep 17 00:00:00 2001 From: Hannes Mehnert Date: Thu, 16 Feb 2023 11:58:20 +0100 Subject: [PATCH 3/3] restrict current-albatross-deployer to older albatross versions --- .../current-albatross-deployer.1.0.0/opam | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/current-albatross-deployer/current-albatross-deployer.1.0.0/opam b/packages/current-albatross-deployer/current-albatross-deployer.1.0.0/opam index e2f8a47507f..294cc75e439 100644 --- a/packages/current-albatross-deployer/current-albatross-deployer.1.0.0/opam +++ b/packages/current-albatross-deployer/current-albatross-deployer.1.0.0/opam @@ -8,7 +8,7 @@ dev-repo: "git+https://github.com/tarides/current-albatross-deployer.git" doc: "https://tarides.github.io/current-albatross-deployer/" depends: [ - "albatross" {>= "1.5.1"} + "albatross" {>= "1.5.1" & < "1.5.5"} "obuilder-spec" {>= "0.5"} "ocaml" {>= "4.08.0"} "dune" {>= "2.9.0"}