[nautilus/wip/oholy/ci-improvements: 1/4] ci: Do not run style check on stable branches
- From: Ondrej Holy <oholy src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/oholy/ci-improvements: 1/4] ci: Do not run style check on stable branches
- Date: Wed, 11 Aug 2021 08:57:51 +0000 (UTC)
commit 9abf885eb97b7a09bb49c1437bc57fdae86a3037
Author: Ondrej Holy <oholy redhat com>
Date: Wed Aug 11 09:53:33 2021 +0200
ci: Do not run style check on stable branches
The style check job currently fails on stable branches since the recent
uncrustify change. We could use older image on stable, or backport the code
changes, but I think that the style check job on stable branches is not
actually needed. Let's disable the style check job on stable branches to
fix pipeline there and avoid this situation in the future.
.gitlab-ci.yml | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 22d0dae5d..09376c7b6 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -67,6 +67,8 @@ style check:
- gcc data/lineup-parameters.c `pkg-config --cflags --libs gio-2.0 gio-unix-2.0` -o
data/lineup-parameters
- LANG=C.utf8 data/run-uncrustify.sh
- git diff --exit-code | tee uncrustify.diff
+ except:
+ - /^gnome-.*$/
update image:
variables:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]