summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Berg <bberg@redhat.com>2019-11-30 09:41:56 +0100
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2019-12-03 12:33:39 +0000
commit6b08deff69e3ac025c277501360d9c39ee443ae2 (patch)
tree219a2c50e42a93dc4f69b6a4e311b3c2880b8ccc
parent783c13d0ccac262357b2007f18ecf0d95bc2d4e3 (diff)
downloadgnome-control-center-6b08deff69e3ac025c277501360d9c39ee443ae2.tar.gz
ci: Fix build of docker images
Building the docker images has been failing for a while now. The root cause appears to be a docker upgrade causing issues with TLS. See https://about.gitlab.com/blog/2019/07/31/docker-in-docker-with-docker-19-dot-03/ Update the configuration so that the images can be built again. Thanks to Bartłomiej Piotrowski for debugging the issue and solving it for gnome-settings-daemon!
-rw-r--r--.gitlab-ci.yml12
1 files changed, 9 insertions, 3 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d60399003..3378ebc9a 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -337,11 +337,16 @@ ppc64le:
#############################################
# Create CI Docker Images #
#############################################
+.Docker common variables: &docker_common_variables
+ # https://about.gitlab.com/blog/2019/07/31/docker-in-docker-with-docker-19-dot-03/
+ DOCKER_TLS_CERTDIR: ""
+ DOCKER_DRIVER: overlay
+
.Docker image template: &create_docker_image
image: docker:latest
stage: deploy
services:
- - docker:dind
+ - docker:stable-dind
only:
variables:
- $CRON_TASK == "BUILD_CI_IMAGES"
@@ -389,6 +394,7 @@ ppc64le:
fedora.dev:
<<: *create_docker_image
variables:
+ <<: *docker_common_variables
DOCKER_DRIVER: overlay
DOCKERFILE: "build-aux/ci/Dockerfile.fedora.30"
NAME: "fedora.dev"
@@ -396,7 +402,7 @@ fedora.dev:
fedora.aarch64:
<<: *create_docker_image
variables:
- DOCKER_DRIVER: overlay
+ <<: *docker_common_variables
DOCKERFILE: "build-aux/ci/Dockerfile.arm64v8.fedora.30"
NAME: "fedora.aarch64"
TARGET_ARCH: "aarch64"
@@ -404,7 +410,7 @@ fedora.aarch64:
fedora.ppc64le:
<<: *create_docker_image
variables:
- DOCKER_DRIVER: overlay
+ <<: *docker_common_variables
DOCKERFILE: "build-aux/ci/Dockerfile.ppc64le.fedora.latest"
NAME: "fedora.ppc64le"
TARGET_ARCH: "ppc64le"