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!
This commit is contained in:
Benjamin Berg 2019-11-30 09:41:56 +01:00 committed by Georges Basile Stavracas Neto
parent 783c13d0cc
commit 6b08deff69

View file

@ -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"