[mutter] ci: Make check-commit-log run again
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] ci: Make check-commit-log run again
- Date: Mon, 16 Nov 2020 16:39:55 +0000 (UTC)
commit 8da1c192e6544500d29fa3760f3590e1c10c8ee4
Author: Jonas Ã…dahl <jadahl gmail com>
Date: Mon Nov 16 17:21:53 2020 +0100
ci: Make check-commit-log run again
It needs 'only: merge_request' to get the necessary env variables.
Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1567>
.gitlab-ci.yml | 12 ++++++++++++
1 file changed, 12 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 61d2af6600..93e358d194 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -6,6 +6,11 @@ stages:
- test
- coverage
+.only_default: &only_default
+ only:
+ - merge_requests
+ - /^.*$/
+
check-commit-log:
stage: review
variables:
@@ -18,6 +23,7 @@ check-commit-log:
- commit-message-junit-report.xml
reports:
junit: commit-message-junit-report.xml
+ <<: *only_default
build-mutter:
stage: build
@@ -30,6 +36,7 @@ build-mutter:
expire_in: 1 day
paths:
- build
+ <<: *only_default
build-without-opengl-and-glx:
stage: build
@@ -41,6 +48,7 @@ build-without-opengl-and-glx:
artifacts:
paths:
- build/meson-logs
+ <<: *only_default
build-without-native-backend-and-wayland:
stage: build
@@ -52,6 +60,7 @@ build-without-native-backend-and-wayland:
artifacts:
paths:
- build/meson-logs
+ <<: *only_default
test-mutter:
stage: test
@@ -74,6 +83,7 @@ test-mutter:
when: always
paths:
- build
+ <<: *only_default
test-mutter-coverage:
stage: coverage
@@ -88,6 +98,7 @@ test-mutter-coverage:
- build/meson-logs/coveragereport
coverage: '/^TOTAL.*\s+(\d+\%)$/'
when: always
+ <<: *only_default
can-build-gnome-shell:
stage: test
@@ -100,3 +111,4 @@ can-build-gnome-shell:
- .gitlab-ci/checkout-gnome-shell.sh
- meson gnome-shell gnome-shell/build --prefix /usr -Dman=false
- ninja -C gnome-shell/build install
+ <<: *only_default
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]