Skip to content

Commit

Permalink
Merge pull request #493 from MisterDA/dune-3-fixes
Browse files Browse the repository at this point in the history
Dune 3 fixes (with vendored deps)
  • Loading branch information
MisterDA authored Jul 15, 2022
2 parents 092bca9 + db5f018 commit 74db983
Show file tree
Hide file tree
Showing 16 changed files with 17 additions and 19 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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 \
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.web
Original file line number Diff line number Diff line change
@@ -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/
Expand Down
Empty file removed client/main.mli
Empty file.
6 changes: 3 additions & 3 deletions dune-project
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(lang dune 3.0)
(lang dune 3.3)
(name ocaml-ci-api)
(formatting disabled)
(generate_opam_files true)
Expand Down Expand Up @@ -67,7 +67,7 @@
(ppx_deriving_yojson (>= 3.6.1))
(ppx_deriving (>= 5.1))
yojson
lwt
(lwt (>= 5.6.1))
logs
fmt
ocaml-ci
Expand All @@ -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))
Expand Down
2 changes: 0 additions & 2 deletions lib/index.ml
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand Down
2 changes: 1 addition & 1 deletion ocaml-ci-api.opam
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors: ["[email protected]"]
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"
Expand Down
2 changes: 1 addition & 1 deletion ocaml-ci-client.opam
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors: ["[email protected]"]
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"
Expand Down
2 changes: 1 addition & 1 deletion ocaml-ci-service.opam
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors: ["[email protected]"]
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"}
Expand Down
4 changes: 2 additions & 2 deletions ocaml-ci-solver.opam
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ authors: ["[email protected]"]
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"
Expand Down
4 changes: 2 additions & 2 deletions ocaml-ci-web.opam
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors: ["[email protected]"]
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"}
Expand All @@ -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"}
Expand Down
2 changes: 1 addition & 1 deletion ocaml-ci.opam
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors: ["[email protected]"]
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"
Expand Down
Empty file removed service/local.mli
Empty file.
Empty file removed service/main.mli
Empty file.
Empty file removed solver/main.mli
Empty file.

0 comments on commit 74db983

Please sign in to comment.