ci: Use ci-fairy image for commit log check

It's much much smaller.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1506>
This commit is contained in:
Jonas Ådahl 2020-11-20 19:14:49 +01:00
parent e81cab540f
commit 1aa7a23427

View File

@ -1,8 +1,10 @@
include: include:
- remote: 'https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak_ci_initiative.yml' - remote: 'https://gitlab.gnome.org/GNOME/citemplates/raw/master/flatpak/flatpak_ci_initiative.yml'
- remote: 'https://gitlab.freedesktop.org/freedesktop/ci-templates/-/raw/7ea696055e322cc7aa4bcbe5422b56a198c4bdff/templates/fedora.yml' - remote: 'https://gitlab.freedesktop.org/freedesktop/ci-templates/-/raw/7ea696055e322cc7aa4bcbe5422b56a198c4bdff/templates/fedora.yml'
- remote: "https://gitlab.freedesktop.org/freedesktop/ci-templates/-/raw/7ea696055e322cc7aa4bcbe5422b56a198c4bdff/templates/ci-fairy.yml"
stages: stages:
- pre_review
- prep - prep
- review - review
- build - build
@ -51,15 +53,10 @@ image: registry.gitlab.gnome.org/gnome/mutter/fedora/33:2020-11-20.1
dnf clean all dnf clean all
build-fedora-container:
extends:
- .fdo.container-build@fedora@x86_64
- .gnome-shell.fedora:33
stage: prep
<<: *only_default
check_commit_log: check_commit_log:
stage: review extends:
- .fdo.ci-fairy
stage: pre_review
variables: variables:
GIT_DEPTH: "100" GIT_DEPTH: "100"
script: script:
@ -72,6 +69,13 @@ check_commit_log:
reports: reports:
junit: commit-message-junit-report.xml junit: commit-message-junit-report.xml
build-fedora-container:
extends:
- .fdo.container-build@fedora@x86_64
- .gnome-shell.fedora:33
stage: prep
<<: *only_default
js_check: js_check:
extends: extends:
- .fdo.distribution-image@fedora - .fdo.distribution-image@fedora