This check should help catching issues like [1] early.
[1] https://gitlab.isc.org/isc-projects/bind9/-/wikis/%22main%22-branch-partial-history-rewrite-in-August-2022
variables:
- $CI_COMMIT_TAG || ($BIND_STRESS_TEST_OS =~ /freebsd/i && $BIND_STRESS_TEST_MODE =~ /rpz/i && $BIND_STRESS_TEST_ARCH =~ /amd64/i)
+# git fsck operates over the whole repository and is sufficient to schedule it
+# only in one branch, preferably "main". GitLab's clone strategy prevents us
+# from using the "bind9" repo clone; we need to clone it ourselves.
+fsck:
+ <<: *base_image
+ stage: postcheck
+ variables:
+ GIT_STRATEGY: none
+ script:
+ - git clone https://gitlab.isc.org/isc-projects/bind9.git bind9-full-clone
+ - cd bind9-full-clone/
+ - git fsck
+ only:
+ - schedules
+ needs: []
+
gcov:
<<: *base_image
<<: *default_triggering_rules