-
Notifications
You must be signed in to change notification settings - Fork 18
/
dune-project
103 lines (98 loc) · 3.25 KB
/
dune-project
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
(lang dune 3.7)
(name ocluster)
(formatting disabled)
(generate_opam_files true)
(source (github ocurrent/ocluster))
(documentation "https://ocurrent.github.io/ocluster/")
(authors
"Antonin Décimo <antonin@tarides.com>"
"David Allsopp <david.allsopp@metastack.com>"
"Kate <kit.ty.kate@disroot.org>"
"Lucas Pluvinage <lucas@tarides.com>"
"Mark Elvers <mark.elvers@tunbury.org>"
"Patrick Ferris <patrick@sirref.org>"
"Thomas Leonard <talex5@gmail.com>"
"Tim McGilchrist <timmcgil@gmail.com>")
(maintainers "Tim McGilchrist <timmcgil@gmail.com>")
(license "Apache-2.0")
(package
(name ocluster-api)
(synopsis "Cap'n Proto API for OCluster")
(description "OCaml bindings for the OCluster Cap'n Proto API.")
(depends
(ocaml (>= 4.14.1))
(capnp-rpc-lwt (>= 1.2.3))
fmt
(lwt (>= 5.6.1))
ppx_deriving
ppx_deriving_yojson))
(package
(name ocluster-worker)
(synopsis "OCluster library for defining workers")
(description "OCluster library for defining workers")
(depends
(ocluster-api (= :version))
(ocaml (>= 4.14.1))
(capnp-rpc-lwt (>= 1.2.3))
(cohttp-lwt-unix (>= 4.0))
(digestif (>= 0.8))
(extunix (>= 0.4.1))
fpath
logs
(lwt (>= 5.6.1))
(obuilder (>= 0.5.1))
(prometheus-app (>= 1.2))))
(package
(name ocluster)
(synopsis "Distribute build jobs to workers")
(description "OCluster manages a pool of build workers.\nA build scheduler service accepts build jobs from clients and distributes them to worker machines using Cap'n Proto.\nWorkers register themselves by connecting to the scheduler (and workers do not need to be able to accept incoming network connections).\n\nThe scheduler can manage multiple pools (e.g. `linux-x86_64` and `linux-arm32`).\nClients say which pool should handle their requests.\nAt the moment, two build types are provided: building a Dockerfile, or building an OBuilder spec.\nIn either case, the build may done in the context of some Git commit.\nThe scheduler tries to schedule similar builds on the same machine, to benefit from caching.")
(depends
(ocluster-api (= :version))
(ocluster-worker (= :version))
(ocaml (>= 4.14.1))
(capnp-rpc-lwt (>= 1.2.3))
(capnp-rpc-net (>= 1.2.3))
(capnp-rpc-unix (>= 1.2.3))
(cmdliner (>= 1.2.0))
(conf-libev (<> :os "win32"))
(digestif (>= 0.8))
dune-build-info
fmt
fpath
logs
(lwt (>= 5.6.1))
lwt-dllist
(mirage-crypto (>= 0.8.5))
(obuilder (>= 0.5.1))
(ppx_expect (>= v0.14.1))
ppx_sexp_conv
prometheus
(prometheus-app (>= 1.2))
(psq (>= 0.2.1))
sqlite3
(winsvc (and (>= 1.0.1) (= :os "win32")))
(current_ocluster (and (= :version) :with-test))
(alcotest (and (>= 1.7.0) :with-test))
(alcotest-lwt (and (>= 1.7.0) :with-test))
(mirage-crypto-rng (and (>= 0.11.0) :with-test))
(mirage-crypto-rng-lwt (and (>= 0.11.0) :with-test))))
(package
(name current_ocluster)
(synopsis "OCurrent plugin for OCluster builds")
(description
"Creates a stage in an OCurrent pipeline for submitting jobs to OCluster.")
(depends
(ocluster-api (= :version))
(ocaml (>= 4.14.1))
(capnp-rpc-unix (>= 1.2.3))
(current (>= 0.6.4))
(current_git (>= 0.6.4))
duration
fmt
logs
(lwt (>= 5.6.1))
ppx_deriving
ppx_deriving_yojson
(prometheus (>= 1.2))
(current_github (and (>= 0.6.4) :with-test))
(current_web (and (>= 0.6.4) :with-test))))