summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorMichel Dänzer <michel.daenzer@amd.com>2019-04-02 16:56:54 +0200
committerMichel Dänzer <michel@daenzer.net>2019-04-16 10:14:21 +0200
commitd00b1c45117564087a501167601d252e57aba39d (patch)
treed0d7139164fca73b97c9526af95a29597df7f6b6 /.gitlab-ci.yml
parent1c5ff3a6d07fd0b6581b29d73f5530b1a7de5657 (diff)
downloadmesa-d00b1c45117564087a501167601d252e57aba39d.tar.gz
gitlab-ci: Use Debian stretch instead of Ubuntu bionic
The APT archive used by the Ubuntu docker image can be slow, even timing out sometimes, causing spurious failures of the containers-build job. The Debian docker image uses deb.debian.org, which is backed by a content distribution network. One downside is that stretch only has GCC 6, whereas bionic had 7. Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml16
1 files changed, 8 insertions, 8 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e3aa2a4482c..a77c4037fa9 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -17,14 +17,14 @@
# at "01" unless you have multiple updates on the same day :)
variables:
UPSTREAM_REPO: mesa/mesa
- UBUNTU_TAG: "2019-04-02"
- UBUNTU_VERSION: bionic
- UBUNTU_IMAGE: "$CI_REGISTRY_IMAGE/ubuntu/$UBUNTU_VERSION:$UBUNTU_TAG"
+ DEBIAN_TAG: "2019-04-16"
+ DEBIAN_VERSION: stretch-slim
+ DEBIAN_IMAGE: "$CI_REGISTRY_IMAGE/debian/$DEBIAN_VERSION:$DEBIAN_TAG"
include:
- project: 'wayland/ci-templates'
ref: c73dae8b84697ef18e2dbbf4fed7386d9652b0cd
- file: '/templates/ubuntu.yml'
+ file: '/templates/debian.yml'
stages:
- containers-build
@@ -45,20 +45,20 @@ stages:
# CONTAINERS
-ubuntu:
- extends: .ubuntu@container-ifnot-exists
+debian:
+ extends: .debian@container-ifnot-exists
stage: containers-build
<<: *ci-run-policy
variables:
GIT_STRATEGY: none # no need to pull the whole tree for rebuilding the image
- UBUNTU_EXEC: 'bash .gitlab-ci/ubuntu-install.sh'
+ DEBIAN_EXEC: 'bash .gitlab-ci/debian-install.sh'
# BUILD
.build:
<<: *ci-run-policy
- image: $UBUNTU_IMAGE
+ image: $DEBIAN_IMAGE
stage: build+test
cache:
paths: