aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2018-05-07 10:55:39 +0200
committerGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2018-05-07 11:52:16 +0200
commit52caadda3674c126cbec014f0727e696278868f3 (patch)
tree9d987d0301cf4429481e3e08fad98985d92f2451
parentcee82a36b21c7a87fe4f626d8d72fd938a825648 (diff)
[ci] Add ounit to the base Docker package set.
This should help #6808.
-rw-r--r--.circleci/config.yml2
-rw-r--r--.gitlab-ci.yml2
-rw-r--r--dev/ci/docker/bionic_coq/Dockerfile5
-rwxr-xr-xdev/ci/docker/bionic_coq/hooks/post_push2
4 files changed, 6 insertions, 5 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index 07b728edf..c4b7733a6 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -8,7 +8,7 @@ defaults:
# reference syntax)
working_directory: ~/coq
docker:
- - image: coqci/base:V2018-05-05
+ - image: coqci/base:V2018-05-07
environment: &envvars
NATIVE_COMP: "yes"
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 12d3a87b2..78850fa5e 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,4 +1,4 @@
-image: coqci/base:V2018-05-05
+image: coqci/base:V2018-05-07
stages:
- build
diff --git a/dev/ci/docker/bionic_coq/Dockerfile b/dev/ci/docker/bionic_coq/Dockerfile
index 5698175c5..920100157 100644
--- a/dev/ci/docker/bionic_coq/Dockerfile
+++ b/dev/ci/docker/bionic_coq/Dockerfile
@@ -15,12 +15,13 @@ ENV NJOBS="2" \
OPAMROOT=/root/.opamcache \
OPAMROOTISOK="true"
+# Base opam is the set of base packages required by Coq
ENV COMPILER="4.02.3" \
- BASE_OPAM="num ocamlfind jbuilder"
+ BASE_OPAM="num ocamlfind jbuilder ounit"
RUN opam init -a -y -j $NJOBS --compiler="$COMPILER" default https://opam.ocaml.org && eval $(opam config env) && opam update
-# Setup of the base switch
+# Setup of the base switch; CI_OPAM contains Coq's CI dependencies.
ENV CAMLP5_VER="6.14" \
COQIDE_OPAM="lablgtk.2.18.5 conf-gtksourceview.2" \
CI_OPAM="menhir elpi ocamlgraph"
diff --git a/dev/ci/docker/bionic_coq/hooks/post_push b/dev/ci/docker/bionic_coq/hooks/post_push
index 008ef1af3..6daf337a7 100755
--- a/dev/ci/docker/bionic_coq/hooks/post_push
+++ b/dev/ci/docker/bionic_coq/hooks/post_push
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
-COQCI_VERSION=V2018-05-05
+COQCI_VERSION=V2018-05-07
docker tag $IMAGE_NAME $DOCKER_REPO:$COQCI_VERSION
docker push $DOCKER_REPO:$COQCI_VERSION