[nautilus/wip/oholy/ci-improvements: 3/7] 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: 3/7] ci: Do not run style check on stable branches
- Date: Fri, 8 Oct 2021 11:09:42 +0000 (UTC)
commit 6488d83cb5c62d2d9c52bd6b5f5296606237407d
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]