]> git.ipfire.org Git - thirdparty/bind9.git/commit
Add Danger Python to GitLab CI
authorMichał Kępień <michal@isc.org>
Mon, 25 May 2020 10:49:36 +0000 (12:49 +0200)
committerOndřej Surý <ondrej@isc.org>
Mon, 1 Jun 2020 11:13:31 +0000 (11:13 +0000)
commit36bb45a8b661165430904eacaebed5ef8f08ba3d
tree03037cdaf529597aef76b665c5c8e5892df109f3
parenta8aa9d4ff84c59ce3b0cad69b850a1b3524ba10a
Add Danger Python to GitLab CI

Certain rules of the BIND development process are not codified anywhere
and/or are used inconsistently.  In an attempt to improve this
situation, add a GitLab CI job which uses Danger Python to add comments
to merge requests when certain expectations are not met.  Two categories
of feedback are used, only one of which - fail() - causes the GitLab CI
job to fail.  Exclude dangerfile.py from Python QA checks as the way the
contents of that file are evaluated triggers a lot of Flake8 and PyLint
warnings.
.gitlab-ci.yml
dangerfile.py [new file with mode: 0644]
util/copyrights