[gnome-settings-daemon/benzea/master-gsettings-desktop-schemas: 2/2] ci: Separate shared variables to *docker_common_variables
- From: Bartłomiej Piotrowski <bpiotrowski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon/benzea/master-gsettings-desktop-schemas: 2/2] ci: Separate shared variables to *docker_common_variables
- Date: Fri, 29 Nov 2019 20:35:19 +0000 (UTC)
commit 3c2cc0e55d0029053233d9bb9b6a2cdad05cd94d
Author: Bartłomiej Piotrowski <bpiotrowski gnome org>
Date: Fri Nov 29 21:34:39 2019 +0100
ci: Separate shared variables to *docker_common_variables
.gitlab-ci.yml | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 3dc771bc..81703035 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -179,13 +179,15 @@ msan:
#############################################
# Create CI Docker Images #
#############################################
+.Docker common variables: &docker_common_variables
+ DOCKER_TLS_CERTDIR: ""
+ DOCKER_DRIVER: overlay
+
.Docker image template: &create_docker_image
image: docker:latest
stage: delivery
services:
- docker:stable-dind
- variables:
- DOCKER_TLS_CERTDIR: ""
only:
# https://about.gitlab.com/blog/2019/07/31/docker-in-docker-with-docker-19-dot-03/
variables:
@@ -223,14 +225,14 @@ msan:
fedora.dev:
<<: *create_docker_image
variables:
- DOCKER_DRIVER: overlay
+ <<: *docker_common_variables
DOCKERFILE: "build-aux/ci/Dockerfile.fedora.rawhide"
NAME: "fedora.dev"
fedora.aarch64:
<<: *create_docker_image
variables:
- DOCKER_DRIVER: overlay
+ <<: *docker_common_variables
DOCKERFILE: "build-aux/ci/Dockerfile.arm64v8.fedora.rawhide"
NAME: "fedora.aarch64"
TARGET_ARCH: "aarch64"
@@ -238,7 +240,7 @@ fedora.aarch64:
fedora.ppc64le:
<<: *create_docker_image
variables:
- DOCKER_DRIVER: overlay
+ <<: *docker_common_variables
DOCKERFILE: "build-aux/ci/Dockerfile.ppc64le.fedora.rawhide"
NAME: "fedora.ppc64le"
TARGET_ARCH: "ppc64le"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]