diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2021-12-01 14:31:16 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2021-12-01 14:31:37 +1000 |
commit | 58d7b540c453601faf942c6f19f8277a5c5f78cc (patch) | |
tree | 4c3d27752612e4a6947a9023928c8a6484a1c981 /.gitlab-ci.yml | |
parent | 150154c994829f9f3734a560f99f70b21d86b49c (diff) |
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>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0b34f645..21052b37 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: @@ -30,20 +33,11 @@ variables: # -# 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 |