mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-07 14:42:05 -04:00
Add a check for defined but never used anchors in .gitlab-ci.yaml
If a anchor is ever orphaned, this will fail in CI.
(cherry picked from commit 5ed2b6c080)
This commit is contained in:
parent
91267eee58
commit
cbc113ecb9
1 changed files with 10 additions and 0 deletions
|
|
@ -617,6 +617,16 @@ ci-variables:
|
|||
reports:
|
||||
dotenv: ci_vars.env
|
||||
|
||||
ci-orphaned-anchors:
|
||||
<<: *precheck_job
|
||||
script:
|
||||
- git clone --depth 1 https://gitlab.isc.org/isc-projects/bind9-qa.git
|
||||
- bind9-qa/ci-orphaned-anchors/check-orphaned-anchors-ci.py .gitlab-ci.yml
|
||||
needs: []
|
||||
rules:
|
||||
- changes:
|
||||
- .gitlab-ci.yml
|
||||
|
||||
clang-format:
|
||||
<<: *precheck_job
|
||||
needs: []
|
||||
|
|
|
|||
Loading…
Reference in a new issue