Build:
- 0
2024-11-19 17:42.53: New job: Build Dockerfile.gitlab using linux-arm64 in [https://github.com/ocurrent/ocaml-ci.git#refs/pull/985/head (4267da62d7264af45112d1168a904c6fa583dc20)] 2024-11-19 17:42.53: Using cache hint "https://github.com/ocurrent/ocaml-ci.git-Dockerfile.gitlab" 2024-11-19 17:42.53: Waiting for resource in pool OCluster 2024-11-19 17:42.53: Waiting for worker… 2024-11-19 17:43.28: Got resource from pool OCluster Building on kydoime.caelum.ci.dev Submodule path 'ocaml-dockerfile': checked out '16b50dfc9ce49a2dc10ddaa83793ea7cb830531e' Submodule path 'ocaml-version': checked out 'b16fdbf496e49c0e90cea6af2849a80ded221bb7' Submodule path 'ocluster': checked out 'ba26623c6bca8b917c4252fa9739313fb14692ea' Submodule path 'ocurrent': checked out '575e5cf1a4ade96ea4a5c43c4aa7ae12fc90dde0' Submodule path 'solver-service': checked out 'f14bc6fdb22c1cef45bb3d3589bd778f4d6c8196' HEAD is now at d3d0fed Merge pull request #980 from mtelvers/windows Synchronizing submodule url for 'ocaml-dockerfile' Synchronizing submodule url for 'ocaml-version' Synchronizing submodule url for 'ocluster' Synchronizing submodule url for 'ocurrent' Synchronizing submodule url for 'solver-service' Cleared directory 'ocaml-dockerfile' Submodule 'ocaml-dockerfile' (https://github.com/ocurrent/ocaml-dockerfile.git) unregistered for path 'ocaml-dockerfile' Cleared directory 'ocaml-version' Submodule 'ocaml-version' (https://github.com/ocurrent/ocaml-version.git) unregistered for path 'ocaml-version' Cleared directory 'ocluster' Submodule 'ocluster' (https://github.com/ocurrent/ocluster.git) unregistered for path 'ocluster' Cleared directory 'ocurrent' Submodule 'ocurrent' (https://github.com/ocurrent/ocurrent.git) unregistered for path 'ocurrent' Cleared directory 'solver-service' Submodule 'solver-service' (https://github.com/ocurrent/solver-service.git) unregistered for path 'solver-service' HEAD is now at 4267da6 Update submodules and Dockerfile warning: Could not unset core.worktree setting in submodule 'ocaml-dockerfile' Cleared directory 'ocaml-dockerfile' warning: Could not unset core.worktree setting in submodule 'ocaml-version' Cleared directory 'ocaml-version' warning: Could not unset core.worktree setting in submodule 'ocluster' Cleared directory 'ocluster' warning: Could not unset core.worktree setting in submodule 'ocurrent' Cleared directory 'ocurrent' warning: Could not unset core.worktree setting in submodule 'solver-service' Cleared directory 'solver-service' Submodule 'ocaml-dockerfile' (https://github.com/ocurrent/ocaml-dockerfile.git) registered for path 'ocaml-dockerfile' Submodule 'ocaml-version' (https://github.com/ocurrent/ocaml-version.git) registered for path 'ocaml-version' Submodule 'ocluster' (https://github.com/ocurrent/ocluster.git) registered for path 'ocluster' Submodule 'ocurrent' (https://github.com/ocurrent/ocurrent.git) registered for path 'ocurrent' Submodule 'solver-service' (https://github.com/ocurrent/solver-service.git) registered for path 'solver-service' From https://github.com/ocurrent/ocaml-dockerfile 16b50df..dc5ab75 master -> origin/master * [new tag] v8.2.4 -> v8.2.4 Submodule path 'ocaml-dockerfile': checked out 'dc5ab758fd581ac55b340af6060a7552d50200ba' From https://github.com/ocurrent/ocaml-version b16fdbf..f92a9f1 master -> origin/master * [new tag] v3.7.1 -> v3.7.1 Submodule path 'ocaml-version': checked out 'f92a9f1b848b5eed179861ea13586a618b5fa25b' Submodule path 'ocluster': checked out 'ba26623c6bca8b917c4252fa9739313fb14692ea' Submodule path 'ocluster/obuilder': checked out 'bc6eca86e5624b32ca58fb0b5e43e7e15f188f58' Submodule path 'ocurrent': checked out '575e5cf1a4ade96ea4a5c43c4aa7ae12fc90dde0' Submodule path 'solver-service': checked out 'f14bc6fdb22c1cef45bb3d3589bd778f4d6c8196' Sending build context to Docker daemon 11.74MB Step 1/26 : FROM ocaml/opam:debian-12-ocaml-4.14@sha256:aeed2457dc910827bacd43f1f7bcc0759d6c6e6c676c062fd0c9adf7989965c2 AS build docker.io/ocaml/opam:debian-12-ocaml-4.14@sha256:aeed2457dc910827bacd43f1f7bcc0759d6c6e6c676c062fd0c9adf7989965c2: Pulling from ocaml/opam Digest: sha256:aeed2457dc910827bacd43f1f7bcc0759d6c6e6c676c062fd0c9adf7989965c2 Status: Image is up to date for ocaml/opam:debian-12-ocaml-4.14@sha256:aeed2457dc910827bacd43f1f7bcc0759d6c6e6c676c062fd0c9adf7989965c2 ---> 57708d41110d Step 2/26 : RUN sudo ln -f /usr/bin/opam-2.2 /usr/bin/opam && opam init --reinit -ni ---> Using cache ---> bbbc000097cb Step 3/26 : RUN sudo apt-get update && sudo apt-get install libev-dev capnproto m4 pkg-config libsqlite3-dev libgmp-dev graphviz -y --no-install-recommends ---> Using cache ---> 94aecc0e6b82 Step 4/26 : RUN cd ~/opam-repository && git fetch -q origin master && git reset --hard 9048aac6300c8d05712e1840046eeff812969745 && opam update ---> Using cache ---> 0f05bdf45b5f Step 5/26 : COPY --chown=opam ocurrent/current_docker.opam ocurrent/current_github.opam ocurrent/current_gitlab.opam ocurrent/current_git.opam ocurrent/current.opam ocurrent/current_rpc.opam ocurrent/current_slack.opam ocurrent/current_web.opam /src/ocurrent/ ---> Using cache ---> b56f86850251 Step 6/26 : COPY --chown=opam ocluster/ocluster-api.opam ocluster/current_ocluster.opam /src/ocluster/ ---> Using cache ---> 877bdb947738 Step 7/26 : COPY --chown=opam solver-service/solver-service-api.opam solver-service/solver-service.opam /src/solver-service/ ---> Using cache ---> b4e53537c017 Step 8/26 : COPY --chown=opam ocaml-dockerfile/dockerfile*.opam /src/ocaml-dockerfile/ ---> Using cache ---> b2de04a83ea1 Step 9/26 : WORKDIR /src ---> Using cache ---> 4edc11bd9bbb Step 10/26 : RUN opam pin add -yn current_docker.dev "./ocurrent" && opam pin add -yn current_github.dev "./ocurrent" && opam pin add -yn current_gitlab.dev "./ocurrent" && opam pin add -yn current_git.dev "./ocurrent" && opam pin add -yn current.dev "./ocurrent" && opam pin add -yn current_rpc.dev "./ocurrent" && opam pin add -yn current_slack.dev "./ocurrent" && opam pin add -yn current_web.dev "./ocurrent" && opam pin add -yn current_ocluster.dev "./ocluster" && opam pin add -yn dockerfile.dev "./ocaml-dockerfile" && opam pin add -yn dockerfile-opam.dev "./ocaml-dockerfile" && opam pin add -yn solver-service-api.dev "./solver-service" && opam pin add -yn solver-service.dev "./solver-service" && opam pin add -yn ocluster-api.dev "./ocluster" ---> Using cache ---> 4ee63118103c Step 11/26 : COPY --chown=opam ocaml-ci.opam ocaml-ci-gitlab.opam ocaml-ci-service.opam ocaml-ci-api.opam /src/ ---> Using cache ---> f3b84bf72160 Step 12/26 : RUN opam install -y --deps-only . ---> Using cache ---> bcc5cc41218f Step 13/26 : ADD --chown=opam . . ---> ab55b48d8975 Step 14/26 : RUN opam exec -- dune build ./_build/install/default/bin/ocaml-ci-gitlab ---> Running in fd41bace9d1c schema.capnp --> schema.mli schema.ml kj/filesystem-disk-unix.c++:1703: warning: PWD environment variable doesn't match current directory; pwd = /src schema.capnp --> schema.mli schema.ml kj/filesystem-disk-unix.c++:1703: warning: PWD environment variable doesn't match current directory; pwd = /src schema.capnp --> schema.mli schema.ml ocurrent.capnp --> ocurrent.mli ocurrent.ml kj/filesystem-disk-unix.c++:1703: warning: PWD environment variable doesn't match current directory; pwd = /src schema.capnp --> schema.mli schema.ml kj/filesystem-disk-unix.c++:1703: warning: PWD environment variable doesn't match current directory; pwd = /src Removing intermediate container fd41bace9d1c ---> aeb9b6f17317 Step 15/26 : FROM debian:12 12: Pulling from library/debian Digest: sha256:10901ccd8d249047f9761845b4594f121edef079cfd8224edebd9ea726f0a7f6 Status: Image is up to date for debian:12 ---> 853897d65bc9 Step 16/26 : RUN apt-get update && apt-get install libev4 openssh-client curl gnupg2 dumb-init git graphviz libsqlite3-dev ca-certificates netbase -y --no-install-recommends ---> Using cache ---> a24e9dd64eb9 Step 17/26 : RUN curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add - ---> Using cache ---> 5e83c2e96705 Step 18/26 : RUN echo 'deb https://download.docker.com/linux/debian bookworm stable' >> /etc/apt/sources.list ---> Using cache ---> a7c008bc264e Step 19/26 : RUN apt-get update && apt-get install docker-ce docker-buildx-plugin -y --no-install-recommends ---> Using cache ---> aced922fc1de Step 20/26 : WORKDIR /var/lib/ocurrent ---> Using cache ---> 26e6622b29e2 Step 21/26 : ENTRYPOINT ["dumb-init", "/usr/local/bin/ocaml-ci-gitlab"] ---> Using cache ---> 908267d51766 Step 22/26 : ENV OCAMLRUNPARAM=a=2 ---> Using cache ---> 7914d37171df Step 23/26 : ENV DOCKER_CLI_EXPERIMENTAL=enabled ---> Using cache ---> 4d004f2cee36 Step 24/26 : COPY --from=build /src/_build/install/default/bin/ocaml-ci-gitlab /src/_build/install/default/bin/solver-service /usr/local/bin/ ---> 608223a42c4f Step 25/26 : RUN mkdir -p /migrations ---> Running in 6034f2ca804f Removing intermediate container 6034f2ca804f ---> 82e00bdfe5ab Step 26/26 : COPY --from=build /src/migrations /migrations ---> 1fdd2a06c419 Successfully built 1fdd2a06c419 Job succeeded 2024-11-19 17:43.49: Job succeeded