|
| 1 | +opam-version: "2.0" |
| 2 | +maintainer: "Lucas Pluvinage" |
| 3 | +authors: "Lucas Pluvinage" |
| 4 | +license: "ISC" |
| 5 | +homepage: "https://github.com/tarides/current-albatross-deployer" |
| 6 | +bug-reports: "https://github.com/tarides/current-albatross-deployer/issues" |
| 7 | +dev-repo: "git+https://github.com/tarides/current-albatross-deployer.git" |
| 8 | +doc: "https://tarides.github.io/current-albatross-deployer/" |
| 9 | + |
| 10 | +depends: [ |
| 11 | + "albatross" {>= "1.5.1"} |
| 12 | + "obuilder-spec" {>= "0.5"} |
| 13 | + "ocaml" {>= "4.08.0"} |
| 14 | + "dune" {>= "2.9.0"} |
| 15 | + "odoc" {with-doc} |
| 16 | + "asn1-combinators" {>= "0.2.6"} |
| 17 | + "bos" {>= "0.2.0"} |
| 18 | + "cmdliner" {>= "1.1.0"} |
| 19 | + "cstruct" {>= "6.0.1"} |
| 20 | + "current" {>= "0.5"} |
| 21 | + "current_docker" {>= "0.5"} |
| 22 | + "current_web" {with-test} |
| 23 | + "ipaddr" {>= "5.2.0"} |
| 24 | + "logs" {>= "0.7.0"} |
| 25 | + "lwt" {>= "5.6.0"} |
| 26 | + "ppx_deriving" {>= "5.2.1"} |
| 27 | + "ppx_deriving_yojson" {>= "3.6.1"} |
| 28 | + "rresult" {>= "0.6.0"} |
| 29 | + "alcotest" {>= "1.4.0" & with-test} |
| 30 | +] |
| 31 | +build: [ |
| 32 | + ["dune" "subst"] {dev} |
| 33 | + [ |
| 34 | + "dune" |
| 35 | + "build" |
| 36 | + "-p" |
| 37 | + name |
| 38 | + "-j" |
| 39 | + jobs |
| 40 | + "@install" |
| 41 | + "@runtest" {with-test} |
| 42 | + "@doc" {with-doc} |
| 43 | + ] |
| 44 | +] |
| 45 | + |
| 46 | +synopsis: """ |
| 47 | +An ocurrent plugin to deploy MirageOS unikernels |
| 48 | +""" |
| 49 | +description: """ |
| 50 | +This is an [ocurrent](https://github.com/ocurrent/ocurrent) plugin to manage deployment of |
| 51 | +unikernels. It's specialized for linux, using [Albatross](https://github.com/roburio/albatross) |
| 52 | +for orchestrating the virtual machines and `iptables` for exposing ports. |
| 53 | + |
| 54 | +It's been made with _zero downtime_ in mind, meaning that when an unikernel is updated, a new |
| 55 | +instance is started while keeping the old one alive, and the switch to the new instance is managed |
| 56 | +using a port redirection to the new IP. |
| 57 | +""" |
| 58 | +url { |
| 59 | + src: |
| 60 | + "https://github.com/tarides/current-albatross-deployer/releases/download/1.0.0/current-albatross-deployer-1.0.0.tbz" |
| 61 | + checksum: [ |
| 62 | + "sha256=2ea909d9f114ce2b67a22c9e0f84826d01fd09ede2437623eab6e4d6ebd4020b" |
| 63 | + "sha512=634337fa5eef32e26aac32e61001f7fed92885b7382f3710b68eb001c3e9edf66eb84c4a1aa6257b1a63349377360dea5f8689aa895cb9b072897e56ad2d4710" |
| 64 | + ] |
| 65 | +} |
| 66 | +x-commit-hash: "f9065be4bdf2105f816797fe0c12e3ba10b56711" |
0 commit comments