]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Suppress Git clean output in GitLab CI
authorMichal Nowak <mnowak@isc.org>
Mon, 20 Mar 2023 09:41:42 +0000 (10:41 +0100)
committerMichal Nowak <mnowak@isc.org>
Mon, 27 Mar 2023 13:07:48 +0000 (15:07 +0200)
Git clean in GitLab CI can take up to a thousand lines, thus cluttering
the output for no good reason.

The default GitLab GIT_CLEAN_FLAGS variable is extended with "q" as in
"quiet.

(cherry picked from commit ddb33a12fc825051714777a1b9c579df184b1abb)

.gitlab-ci.yml

index ee9c67fa370af88e2f482a71c84ba48792a68155..9b9c75239db464a017f72bb7e6aee7a2aa0fda0b 100644 (file)
@@ -12,6 +12,7 @@ variables:
   KYUA_RESULT: "$CI_PROJECT_DIR/kyua.results"
 
   GIT_DEPTH: 1
+  GIT_CLEAN_FLAGS: -ffdxq
 
   # The following values may be overwritten in GitLab's CI/CD Variables Settings.
   BUILD_PARALLEL_JOBS: 6