diff --git a/Dockerfile b/Dockerfile index 73f1b751..d15bfd4c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ -FROM ocaml/opam:debian-11-ocaml-4.14@sha256:b83fcce3b715fe10ee2d3060763379e1ad9be76832d67203652f2c0abd6ae50d AS build +FROM ocaml/opam:debian-11-ocaml-4.14@sha256:5b9de826b22c77a0654519d0959536f93a6ffd7020712a8b1c3437445e031e04 AS build RUN sudo apt-get update && sudo apt-get install libev-dev capnproto m4 pkg-config libsqlite3-dev libgmp-dev graphviz -y --no-install-recommends -RUN cd ~/opam-repository && git fetch origin master && git reset --hard 11e634fd946c90fdb26c14ae5f7759e644c898f0 && opam update +RUN cd ~/opam-repository && git fetch origin master && git reset --hard 97da9a1b68b824a65a09e5f7d071fcf2da35bd1b && opam update COPY --chown=opam \ ocurrent/current_docker.opam \ ocurrent/current_github.opam \ diff --git a/Dockerfile.web b/Dockerfile.web index 763cbf23..c8996ffd 100644 --- a/Dockerfile.web +++ b/Dockerfile.web @@ -1,6 +1,6 @@ -FROM ocaml/opam:debian-11-ocaml-4.14@sha256:b83fcce3b715fe10ee2d3060763379e1ad9be76832d67203652f2c0abd6ae50d AS build +FROM ocaml/opam:debian-11-ocaml-4.14@sha256:5b9de826b22c77a0654519d0959536f93a6ffd7020712a8b1c3437445e031e04 AS build RUN sudo apt-get update && sudo apt-get install libev-dev capnproto m4 pkg-config libgmp-dev -y --no-install-recommends -RUN cd ~/opam-repository && git fetch origin master && git reset --hard 11e634fd946c90fdb26c14ae5f7759e644c898f0 && opam update +RUN cd ~/opam-repository && git fetch origin master && git reset --hard 97da9a1b68b824a65a09e5f7d071fcf2da35bd1b && opam update COPY --chown=opam \ ocurrent/current_rpc.opam \ /src/ocurrent/ diff --git a/client/main.mli b/client/main.mli deleted file mode 100644 index e69de29b..00000000 diff --git a/dune-project b/dune-project index 65bb6d82..847c22a2 100644 --- a/dune-project +++ b/dune-project @@ -1,4 +1,4 @@ -(lang dune 3.0) +(lang dune 3.3) (name ocaml-ci-api) (formatting disabled) (generate_opam_files true) @@ -67,7 +67,7 @@ (ppx_deriving_yojson (>= 3.6.1)) (ppx_deriving (>= 5.1)) yojson - lwt + (lwt (>= 5.6.1)) logs fmt ocaml-ci @@ -92,7 +92,7 @@ (ansi (>= 0.5.0)) (prometheus-app (>= 1.2)) (cmdliner (>= 1.1.0)) - lwt + (lwt (>= 5.6.1)) (cohttp-lwt-unix (>= 2.2.0)) tyxml (capnp-rpc-unix (>= 1.2)) diff --git a/lib/index.ml b/lib/index.ml index 12b30bec..fb0be1ac 100644 --- a/lib/index.ml +++ b/lib/index.ml @@ -6,7 +6,6 @@ module Db = Current.Db module Job_map = Astring.String.Map type t = { - db : Sqlite3.db; record_job : Sqlite3.stmt; remove : Sqlite3.stmt; get_jobs : Sqlite3.stmt; @@ -56,7 +55,6 @@ CREATE TABLE IF NOT EXISTS ci_build_index ( let full_hash = Sqlite3.prepare db "SELECT DISTINCT hash FROM ci_build_index \ WHERE owner = ? AND name = ? AND hash LIKE ?" in { - db; record_job; remove; get_jobs; diff --git a/ocaml-ci-api.opam b/ocaml-ci-api.opam index e9178488..49b6725f 100644 --- a/ocaml-ci-api.opam +++ b/ocaml-ci-api.opam @@ -6,7 +6,7 @@ authors: ["talex5@gmail.com"] homepage: "https://github.com/ocurrent/ocaml-ci" bug-reports: "https://github.com/ocurrent/ocaml-ci/issues" depends: [ - "dune" {>= "3.0"} + "dune" {>= "3.3"} "current_rpc" "capnp" {>= "3.4.0"} "capnp-rpc-lwt" diff --git a/ocaml-ci-client.opam b/ocaml-ci-client.opam index ee3067b7..efe15c44 100644 --- a/ocaml-ci-client.opam +++ b/ocaml-ci-client.opam @@ -6,7 +6,7 @@ authors: ["talex5@gmail.com"] homepage: "https://github.com/ocurrent/ocaml-ci" bug-reports: "https://github.com/ocurrent/ocaml-ci/issues" depends: [ - "dune" {>= "3.0"} + "dune" {>= "3.3"} "logs" {>= "0.7.0"} "fmt" {>= "0.8.9"} "current_rpc" diff --git a/ocaml-ci-service.opam b/ocaml-ci-service.opam index 8ee39667..54440ca1 100644 --- a/ocaml-ci-service.opam +++ b/ocaml-ci-service.opam @@ -6,7 +6,7 @@ authors: ["talex5@gmail.com"] homepage: "https://github.com/ocurrent/ocaml-ci" bug-reports: "https://github.com/ocurrent/ocaml-ci/issues" depends: [ - "dune" {>= "3.0"} + "dune" {>= "3.3"} "prometheus-app" {>= "1.2"} "ppx_sexp_conv" {>= "v0.14.1"} "ppx_deriving_yojson" {>= "3.6.1"} diff --git a/ocaml-ci-solver.opam b/ocaml-ci-solver.opam index 012d7303..f3febb03 100644 --- a/ocaml-ci-solver.opam +++ b/ocaml-ci-solver.opam @@ -6,11 +6,11 @@ authors: ["talex5@gmail.com"] homepage: "https://github.com/ocurrent/ocaml-ci" bug-reports: "https://github.com/ocurrent/ocaml-ci/issues" depends: [ - "dune" {>= "3.0"} + "dune" {>= "3.3"} "ppx_deriving_yojson" {>= "3.6.1"} "ppx_deriving" {>= "5.1"} "yojson" - "lwt" + "lwt" {>= "5.6.1"} "logs" "fmt" "ocaml-ci" diff --git a/ocaml-ci-web.opam b/ocaml-ci-web.opam index ba6f936b..25103484 100644 --- a/ocaml-ci-web.opam +++ b/ocaml-ci-web.opam @@ -6,7 +6,7 @@ authors: ["talex5@gmail.com"] homepage: "https://github.com/ocurrent/ocaml-ci" bug-reports: "https://github.com/ocurrent/ocaml-ci/issues" depends: [ - "dune" {>= "3.0"} + "dune" {>= "3.3"} "crunch" {>= "3.2.0" & build} "yojson" {>= "1.7.0"} "logs" {>= "0.7.0"} @@ -15,7 +15,7 @@ depends: [ "ansi" {>= "0.5.0"} "prometheus-app" {>= "1.2"} "cmdliner" {>= "1.1.0"} - "lwt" + "lwt" {>= "5.6.1"} "cohttp-lwt-unix" {>= "2.2.0"} "tyxml" "capnp-rpc-unix" {>= "1.2"} diff --git a/ocaml-ci.opam b/ocaml-ci.opam index 2080cf32..0e3976c6 100644 --- a/ocaml-ci.opam +++ b/ocaml-ci.opam @@ -6,7 +6,7 @@ authors: ["talex5@gmail.com"] homepage: "https://github.com/ocurrent/ocaml-ci" bug-reports: "https://github.com/ocurrent/ocaml-ci/issues" depends: [ - "dune" {>= "3.0"} + "dune" {>= "3.3"} "logs" "current" "current_docker" diff --git a/ocluster b/ocluster index 62d3ab5e..446cfa3a 160000 --- a/ocluster +++ b/ocluster @@ -1 +1 @@ -Subproject commit 62d3ab5e008e2f2b14aba22bb81c5e661a23104f +Subproject commit 446cfa3a49b978ee578b390464b8e5a1db776d85 diff --git a/ocurrent b/ocurrent index 8a3ff8d7..d1c7cce4 160000 --- a/ocurrent +++ b/ocurrent @@ -1 +1 @@ -Subproject commit 8a3ff8d7813b798e767797264c5c3be81793d6ab +Subproject commit d1c7cce458c816a62da61ba3915f9e9c77c8e89c diff --git a/service/local.mli b/service/local.mli deleted file mode 100644 index e69de29b..00000000 diff --git a/service/main.mli b/service/main.mli deleted file mode 100644 index e69de29b..00000000 diff --git a/solver/main.mli b/solver/main.mli deleted file mode 100644 index e69de29b..00000000