]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Make sure we don't introduce SYSTEMTESTTOP anymore
authorMichal Nowak <mnowak@isc.org>
Tue, 28 Jul 2020 12:42:55 +0000 (14:42 +0200)
committerMichal Nowak <mnowak@isc.org>
Thu, 30 Jul 2020 13:58:54 +0000 (15:58 +0200)
':!.gitlab-ci.yml' is a pathspec pattern used to limit paths in the "git
grep" command to all but the .gitlab-ci.yml file which includes the
checked word itself. This requires Git 2.13.

.gitlab-ci.yml

index e77012fb391c2951e9548edd8bcc3c61e2c1b41a..dcae7979db73d28863a724052adb70a9f327f339 100644 (file)
@@ -404,6 +404,7 @@ misc:
     - xmllint --noout --nonet `git ls-files '*.xml' '*.docbook'`
     - sh util/check-win32util-configure
     - sh util/check-categories.sh
+    - if git grep SYSTEMTESTTOP -- ':!.gitlab-ci.yml'; then echo 'Please use relative paths instead of $SYSTEMTESTTOP.'; exit 1; fi
   needs: []
   artifacts:
     paths: