[gnome-control-center/benzea/fix-docker-image-build: 4/4] ci: Fix build of docker images
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/benzea/fix-docker-image-build: 4/4] ci: Fix build of docker images
- Date: Tue, 3 Dec 2019 12:33:52 +0000 (UTC)
commit 6b08deff69e3ac025c277501360d9c39ee443ae2
Author: Benjamin Berg <bberg redhat com>
Date: Sat Nov 30 09:41:56 2019 +0100
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!
.gitlab-ci.yml | 12 +++++++++---
1 file 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"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]