mirror of
https://gitlab.freedesktop.org/xorg/lib/libx11.git
synced 2026-05-08 11:28:03 +02:00
gitlab CI: update to use the ci-fairy image
Let's use the pre-prepared image instead of building our own. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
150154c994
commit
58d7b540c4
1 changed files with 6 additions and 12 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue