Skip to content

Commit dfda1be

Browse files
authored
Merge pull request ocaml#23443 from MisterDA/release-ocluster-v0.2.1
[new release] ocluster, ocluster-worker, ocluster-api and current_ocluster (0.2.1)
2 parents 18a16d6 + ad7ece6 commit dfda1be

File tree

4 files changed

+218
-0
lines changed
  • packages
    • current_ocluster/current_ocluster.0.2.1
    • ocluster-api/ocluster-api.0.2.1
    • ocluster-worker/ocluster-worker.0.2.1
    • ocluster/ocluster.0.2.1

4 files changed

+218
-0
lines changed
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
opam-version: "2.0"
2+
synopsis: "OCurrent plugin for OCluster builds"
3+
description:
4+
"Creates a stage in an OCurrent pipeline for submitting jobs to OCluster."
5+
maintainer: ["[email protected]"]
6+
authors: ["[email protected]"]
7+
license: "Apache-2.0"
8+
homepage: "https://github.com/ocurrent/ocluster"
9+
doc: "https://ocurrent.github.io/ocluster/"
10+
bug-reports: "https://github.com/ocurrent/ocluster/issues"
11+
depends: [
12+
"dune" {>= "3.3"}
13+
"ocluster-api" {= version}
14+
"ocaml" {>= "4.12.0"}
15+
"capnp-rpc-unix" {>= "1.2.3"}
16+
"current" {>= "0.6.4"}
17+
"current_git" {>= "0.6.4"}
18+
"duration"
19+
"fmt"
20+
"logs"
21+
"lwt" {>= "5.6.1"}
22+
"ppx_deriving"
23+
"ppx_deriving_yojson"
24+
"prometheus" {>= "1.2"}
25+
"current_github" {>= "0.6.4" & with-test}
26+
"current_web" {>= "0.6.4" & with-test}
27+
"odoc" {with-doc}
28+
]
29+
build: [
30+
["dune" "subst"] {dev}
31+
[
32+
"dune"
33+
"build"
34+
"-p"
35+
name
36+
"-j"
37+
jobs
38+
"@install"
39+
"@runtest" {with-test}
40+
"@doc" {with-doc}
41+
]
42+
]
43+
dev-repo: "git+https://github.com/ocurrent/ocluster.git"
44+
url {
45+
src:
46+
"https://github.com/ocurrent/ocluster/releases/download/v0.2.1/ocluster-0.2.1.tbz"
47+
checksum: [
48+
"sha256=3b88db5ad1edfaf3295bb145c64d5afc6fb7271ac20f69054eb91860dd4a5dff"
49+
"sha512=88b885c2556b822f7970f4ef9ffd6402ff6cc21cf9aa9ac10a13992e144d23398a99ed1dc71ff09f47c026222c6cfd009af316a45e425d5f058c2f522ebb909d"
50+
]
51+
}
52+
x-commit-hash: "d177823e29803387eb12e2db9e55981ae9f00a2f"
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
opam-version: "2.0"
2+
synopsis: "Cap'n Proto API for OCluster"
3+
description: "OCaml bindings for the OCluster Cap'n Proto API."
4+
maintainer: ["[email protected]"]
5+
authors: ["[email protected]"]
6+
license: "Apache-2.0"
7+
homepage: "https://github.com/ocurrent/ocluster"
8+
doc: "https://ocurrent.github.io/ocluster/"
9+
bug-reports: "https://github.com/ocurrent/ocluster/issues"
10+
depends: [
11+
"dune" {>= "3.3"}
12+
"ocaml" {>= "4.12.0"}
13+
"capnp-rpc-lwt" {>= "1.2.3"}
14+
"fmt"
15+
"lwt" {>= "5.6.1"}
16+
"ppx_deriving"
17+
"ppx_deriving_yojson"
18+
"odoc" {with-doc}
19+
]
20+
build: [
21+
["dune" "subst"] {dev}
22+
[
23+
"dune"
24+
"build"
25+
"-p"
26+
name
27+
"-j"
28+
jobs
29+
"@install"
30+
"@runtest" {with-test}
31+
"@doc" {with-doc}
32+
]
33+
]
34+
dev-repo: "git+https://github.com/ocurrent/ocluster.git"
35+
url {
36+
src:
37+
"https://github.com/ocurrent/ocluster/releases/download/v0.2.1/ocluster-0.2.1.tbz"
38+
checksum: [
39+
"sha256=3b88db5ad1edfaf3295bb145c64d5afc6fb7271ac20f69054eb91860dd4a5dff"
40+
"sha512=88b885c2556b822f7970f4ef9ffd6402ff6cc21cf9aa9ac10a13992e144d23398a99ed1dc71ff09f47c026222c6cfd009af316a45e425d5f058c2f522ebb909d"
41+
]
42+
}
43+
x-commit-hash: "d177823e29803387eb12e2db9e55981ae9f00a2f"
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
opam-version: "2.0"
2+
synopsis: "OCluster library for defining workers"
3+
description: "OCluster library for defining workers"
4+
maintainer: ["[email protected]"]
5+
authors: ["[email protected]"]
6+
license: "Apache-2.0"
7+
homepage: "https://github.com/ocurrent/ocluster"
8+
doc: "https://ocurrent.github.io/ocluster/"
9+
bug-reports: "https://github.com/ocurrent/ocluster/issues"
10+
depends: [
11+
"dune" {>= "3.3"}
12+
"ocluster-api" {= version}
13+
"ocaml" {>= "4.12.0"}
14+
"capnp-rpc-lwt" {>= "1.2.3"}
15+
"cohttp-lwt-unix" {>= "4.0"}
16+
"digestif" {>= "0.8"}
17+
"extunix" {>= "0.4.1"}
18+
"fpath"
19+
"logs"
20+
"lwt" {>= "5.6.1"}
21+
"obuilder" {>= "0.5.1"}
22+
"prometheus-app" {>= "1.2"}
23+
"odoc" {with-doc}
24+
]
25+
build: [
26+
["dune" "subst"] {dev}
27+
[
28+
"dune"
29+
"build"
30+
"-p"
31+
name
32+
"-j"
33+
jobs
34+
"@install"
35+
"@runtest" {with-test}
36+
"@doc" {with-doc}
37+
]
38+
]
39+
dev-repo: "git+https://github.com/ocurrent/ocluster.git"
40+
url {
41+
src:
42+
"https://github.com/ocurrent/ocluster/releases/download/v0.2.1/ocluster-0.2.1.tbz"
43+
checksum: [
44+
"sha256=3b88db5ad1edfaf3295bb145c64d5afc6fb7271ac20f69054eb91860dd4a5dff"
45+
"sha512=88b885c2556b822f7970f4ef9ffd6402ff6cc21cf9aa9ac10a13992e144d23398a99ed1dc71ff09f47c026222c6cfd009af316a45e425d5f058c2f522ebb909d"
46+
]
47+
}
48+
x-commit-hash: "d177823e29803387eb12e2db9e55981ae9f00a2f"
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
opam-version: "2.0"
2+
synopsis: "Distribute build jobs to workers"
3+
description: """
4+
OCluster manages a pool of build workers.
5+
A build scheduler service accepts build jobs from clients and distributes them to worker machines using Cap'n Proto.
6+
Workers register themselves by connecting to the scheduler (and workers do not need to be able to accept incoming network connections).
7+
8+
The scheduler can manage multiple pools (e.g. `linux-x86_64` and `linux-arm32`).
9+
Clients say which pool should handle their requests.
10+
At the moment, two build types are provided: building a Dockerfile, or building an OBuilder spec.
11+
In either case, the build may done in the context of some Git commit.
12+
The scheduler tries to schedule similar builds on the same machine, to benefit from caching."""
13+
maintainer: ["[email protected]"]
14+
authors: ["[email protected]"]
15+
license: "Apache-2.0"
16+
homepage: "https://github.com/ocurrent/ocluster"
17+
doc: "https://ocurrent.github.io/ocluster/"
18+
bug-reports: "https://github.com/ocurrent/ocluster/issues"
19+
depends: [
20+
"dune" {>= "3.3"}
21+
"ocluster-api" {= version}
22+
"ocluster-worker" {= version}
23+
"ocaml" {>= "4.12.0"}
24+
"capnp-rpc-lwt" {>= "1.2.3"}
25+
"capnp-rpc-net" {>= "1.2.3"}
26+
"capnp-rpc-unix" {>= "1.2.3"}
27+
"cmdliner" {>= "1.1.0"}
28+
"conf-libev" {os != "win32"}
29+
"digestif" {>= "0.8"}
30+
"dune-build-info"
31+
"fmt"
32+
"fpath"
33+
"logs"
34+
"lwt" {>= "5.6.1"}
35+
"lwt-dllist"
36+
"mirage-crypto" {>= "0.8.5"}
37+
"obuilder" {>= "0.5.1"}
38+
"ppx_expect" {>= "v0.14.1"}
39+
"ppx_sexp_conv"
40+
"prometheus"
41+
"prometheus-app" {>= "1.2"}
42+
"psq" {>= "0.2.1"}
43+
"sqlite3"
44+
"winsvc" {>= "1.0.1" & os = "win32"}
45+
"current_ocluster" {= version & with-test}
46+
"alcotest" {>= "1.0.0" & with-test}
47+
"alcotest-lwt" {>= "1.0.1" & with-test}
48+
"mirage-crypto-rng" {>= "0.11.0" & with-test}
49+
"mirage-crypto-rng-lwt" {>= "0.11.0" & with-test}
50+
"odoc" {with-doc}
51+
]
52+
build: [
53+
["dune" "subst"] {dev}
54+
[
55+
"dune"
56+
"build"
57+
"-p"
58+
name
59+
"-j"
60+
jobs
61+
"@install"
62+
"@runtest" {with-test}
63+
"@doc" {with-doc}
64+
]
65+
]
66+
dev-repo: "git+https://github.com/ocurrent/ocluster.git"
67+
url {
68+
src:
69+
"https://github.com/ocurrent/ocluster/releases/download/v0.2.1/ocluster-0.2.1.tbz"
70+
checksum: [
71+
"sha256=3b88db5ad1edfaf3295bb145c64d5afc6fb7271ac20f69054eb91860dd4a5dff"
72+
"sha512=88b885c2556b822f7970f4ef9ffd6402ff6cc21cf9aa9ac10a13992e144d23398a99ed1dc71ff09f47c026222c6cfd009af316a45e425d5f058c2f522ebb909d"
73+
]
74+
}
75+
x-commit-hash: "d177823e29803387eb12e2db9e55981ae9f00a2f"

0 commit comments

Comments
 (0)