Build:
  1. 0
2024-11-14 17:28.11: New job: Build Dockerfile using linux-x86_64 in
                                [https://github.com/ocurrent/ocurrent-deployer.git#refs/pull/242/head (19ebdaf7943cbf4562726edca2bebed4cef8769f)]
2024-11-14 17:28.11: Using cache hint "https://github.com/ocurrent/ocurrent-deployer.git-Dockerfile"
2024-11-14 17:28.11: Waiting for resource in pool OCluster
2024-11-14 17:28.11: Waiting for worker…
2024-11-14 17:34.08: Got resource from pool OCluster
Building on asteria.caelum.ci.dev
Submodule path 'ocluster': checked out 'c8d092f0d0c01253a9199b94465f00f1dcbbe94d'
Submodule path 'ocurrent': checked out '87dc7d1959b5d03a3d6ba462f2d96392988e7426'
HEAD is now at 4e8ee5d Update src/pipeline.ml
Synchronizing submodule url for 'ocluster'
Synchronizing submodule url for 'ocurrent'
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'
HEAD is now at 19ebdaf Update service docs
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'
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 path 'ocluster': checked out 'c8d092f0d0c01253a9199b94465f00f1dcbbe94d'
Submodule path 'ocluster/obuilder': checked out '7015f4f00ac5183c70b27d044e8582b6c33105bd'
Submodule path 'ocurrent': checked out '87dc7d1959b5d03a3d6ba462f2d96392988e7426'
Submodule path 'ocurrent/vendor/ocaml-gitlab': checked out '134d702d195504c024a380cf577bf8672aa5e91e'
Sending build context to Docker daemon  2.764MB

Step 1/23 : FROM ocaml/opam:debian-12-ocaml-4.14@sha256:06d58a5cb1ab7875e8d94848102be43f6492e95320e8e9a9ecb9167654d0ee3f AS build
docker.io/ocaml/opam:debian-12-ocaml-4.14@sha256:06d58a5cb1ab7875e8d94848102be43f6492e95320e8e9a9ecb9167654d0ee3f: Pulling from ocaml/opam
Digest: sha256:06d58a5cb1ab7875e8d94848102be43f6492e95320e8e9a9ecb9167654d0ee3f
Status: Image is up to date for ocaml/opam:debian-12-ocaml-4.14@sha256:06d58a5cb1ab7875e8d94848102be43f6492e95320e8e9a9ecb9167654d0ee3f
 ---> f293d9703a05
Step 2/23 : RUN sudo apt-get update && sudo apt-get install libffi-dev libev-dev m4 pkg-config libsqlite3-dev libgmp-dev libssl-dev capnproto graphviz -y --no-install-recommends
 ---> Using cache
 ---> e61c91b78716
Step 3/23 : RUN cd ~/opam-repository && git fetch -q origin master && git reset --hard 6d3d7021d944058cc7531905e065fe2cd72f01e8 && opam update
 ---> Using cache
 ---> 6a1fd38f7fff
Step 4/23 : COPY --chown=opam 	ocurrent/current_docker.opam 	ocurrent/current_github.opam 	ocurrent/current_git.opam 	ocurrent/current.opam 	ocurrent/current_rpc.opam 	ocurrent/current_slack.opam 	ocurrent/current_ssh.opam 	ocurrent/current_web.opam 	/src/ocurrent/
 ---> Using cache
 ---> c84b0cd02b07
Step 5/23 : COPY --chown=opam         ocluster/*.opam         /src/ocluster/
 ---> Using cache
 ---> f2e3644b3278
Step 6/23 : WORKDIR /src
 ---> Using cache
 ---> 74959e8a9326
Step 7/23 : RUN opam pin add -yn current_docker.dev "./ocurrent" &&     opam pin add -yn current_github.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_ssh.dev "./ocurrent" &&     opam pin add -yn current_web.dev "./ocurrent" &&     opam pin add -yn ocluster-api.dev "./ocluster"
 ---> Using cache
 ---> 1457553f0342
Step 8/23 : COPY --chown=opam deployer.opam /src/
 ---> Using cache
 ---> 95d63fbb3641
Step 9/23 : RUN opam pin -yn add .
 ---> Using cache
 ---> 965180f314b0
Step 10/23 : RUN opam install -y --deps-only .
 ---> Using cache
 ---> 07cdde5ab2cd
Step 11/23 : ADD --chown=opam . .
 ---> 5bb75f71be52
Step 12/23 : RUN opam config exec -- dune build ./_build/install/default/bin/ocurrent-deployer
 ---> Running in 5ac267d4dc55
schema.capnp --> schema.mli schema.ml
kj/filesystem-disk-unix.c++:1681: warning: PWD environment variable doesn't match current directory; pwd = /src
Removing intermediate container 5ac267d4dc55
 ---> 16a6a5df81a8
Step 13/23 : FROM debian:12
12: Pulling from library/debian
Digest: sha256:10901ccd8d249047f9761845b4594f121edef079cfd8224edebd9ea726f0a7f6
Status: Image is up to date for debian:12
 ---> 63ba939a68fd
Step 14/23 : RUN apt-get update && apt-get install libffi-dev libev4 openssh-client curl gnupg2 dumb-init git graphviz libsqlite3-dev ca-certificates netbase rsync awscli -y --no-install-recommends
 ---> Using cache
 ---> d08cf2569b30
Step 15/23 : RUN curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
 ---> Using cache
 ---> a6c08862d0e1
Step 16/23 : RUN echo 'deb [arch=amd64] https://download.docker.com/linux/debian bookworm stable' >> /etc/apt/sources.list
 ---> Using cache
 ---> a24bb4346106
Step 17/23 : RUN apt-get update && apt-get install docker-ce docker-ce-cli docker-buildx-plugin docker-compose-plugin -y --no-install-recommends
 ---> Using cache
 ---> e28f0d77ab19
Step 18/23 : WORKDIR /var/lib/ocurrent
 ---> Using cache
 ---> d5e33f43481a
Step 19/23 : ENTRYPOINT ["dumb-init", "/usr/local/bin/ocurrent-deployer"]
 ---> Using cache
 ---> b35bd2ea5ba3
Step 20/23 : COPY create-config.sh create-config.sh
 ---> Using cache
 ---> 872e5ec9186b
Step 21/23 : RUN ./create-config.sh
 ---> Using cache
 ---> 4f84ee810039
Step 22/23 : RUN docker context use default
 ---> Using cache
 ---> 4a92f5b95178
Step 23/23 : COPY --from=build /src/_build/install/default/bin/ocurrent-deployer /usr/local/bin/
 ---> Using cache
 ---> 40a40bf1f3cb
Successfully built 40a40bf1f3cb
Job succeeded
2024-11-14 17:34.20: Job succeeded