summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2020-05-08 07:33:57 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2020-05-08 07:34:28 +1000
commit3002a38177c9189b3da4e543b88048eb77fe0d7b (patch)
tree9c780f7b7bd70bbf3b073d6db9a10198b7be4a4c
parent753bdfc1bcd223909cc5a08f8ee2da70cb8759a7 (diff)
downloadweston-3002a38177c9189b3da4e543b88048eb77fe0d7b.tar.gz
gitlab CI: update to recent fdo ci-templates
Make use of the templating structure the templates provide. No functional changes in the end, container-build's default behavior is the previously called container-if-not-exists template. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--.gitlab-ci.yml24
1 files changed, 15 insertions, 9 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d9d1b95d..2831df42 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,17 +1,12 @@
# vim: set expandtab shiftwidth=2 tabstop=8 textwidth=0:
variables:
- UPSTREAM_REPO: wayland/weston
- DEBIAN_VERSION: buster
- DEBIAN_EXEC: 'bash .gitlab-ci/debian-install.sh'
-
- DEBIAN_TAG: '2020-02-18.1'
- DEBIAN_CONTAINER_IMAGE: $CI_REGISTRY_IMAGE/debian/$DEBIAN_VERSION:$DEBIAN_TAG
+ FDO_UPSTREAM_REPO: wayland/weston
include:
- project: 'freedesktop/ci-templates'
- ref: b7030c2cd0d6ccc5f6d4f8299bafa4daa9240d71
+ ref: 59de540b620c45739871d1a073d76d5521989d11
file: '/templates/debian.yml'
@@ -21,14 +16,25 @@ stages:
- pages
+.debian:
+ variables:
+ FDO_DISTRIBUTION_VERSION: buster
+ FDO_DISTRIBUTION_EXEC: 'bash .gitlab-ci/debian-install.sh'
+ FDO_DISTRIBUTION_TAG: '2020-05-08.0'
+
+
container_prep:
- extends: .debian@container-ifnot-exists
+ extends:
+ - .debian
+ - .fdo.container-build@debian
stage: container_prep
.build-native:
+ extends:
+ - .debian
+ - .fdo.distribution-image@debian
stage: build
- image: $DEBIAN_CONTAINER_IMAGE
before_script:
- git clone --depth=1 https://gitlab.freedesktop.org/wayland/wayland-protocols
- export WAYLAND_PROTOCOLS_DIR="$(pwd)/prefix-wayland-protocols"