Skip to content
Snippets Groups Projects
Commit 58d7b540 authored by Peter Hutterer's avatar Peter Hutterer
Browse files

gitlab CI: update to use the ci-fairy image


Let's use the pre-prepared image instead of building our own.

Signed-off-by: default avatarPeter Hutterer <peter.hutterer@who-t.net>
parent 150154c9
No related branches found
No related tags found
1 merge request!88gitlab CI: update to use the ci-fairy image
Pipeline #456815 passed
......@@ -4,7 +4,7 @@
# Please see the ci-templates documentation for details:
# https://freedesktop.pages.freedesktop.org/ci-templates/
.templates_sha: &template_sha c7702b1ae8507c5d5f34edcbf280f287ab541e8e # see https://docs.gitlab.com/ee/ci/yaml/#includefile
.templates_sha: &template_sha 34f4ade99434043f88e164933f570301fd18b125 # see https://docs.gitlab.com/ee/ci/yaml/#includefile
include:
......@@ -12,6 +12,9 @@ include:
- project: 'freedesktop/ci-templates'
ref: *template_sha
file: '/templates/arch.yml'
- project: 'freedesktop/ci-templates'
ref: *template_sha
file: '/templates/ci-fairy.yml'
stages:
......@@ -29,21 +32,12 @@ variables:
FDO_DISTRIBUTION_PACKAGES: 'git gcc pkgconf autoconf automake make xorg-util-macros xtrans xorgproto libxcb'
#
# Template for an image with ci-fairy installed
#
.ci_fairy_image:
image: python:alpine
before_script:
- apk add git
- pip install git+http://gitlab.freedesktop.org/freedesktop/ci-templates
#
# Verify that commit messages are as expected, signed-off, etc.
#
check-commits:
extends:
- .ci_fairy_image
- .fdo.ci-fairy
stage: prep
script:
- ci-fairy check-commits --signed-off-by --junit-xml=results.xml
......@@ -60,7 +54,7 @@ check-commits:
#
check-merge-request:
extends:
- .ci_fairy_image
- .fdo.ci-fairy
stage: deploy
script:
- ci-fairy check-merge-request --require-allow-collaboration --junit-xml=results.xml
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment