]> 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:49:05 +0000 (13:49 +0200)
commit5190c42841fde925f0e9d7fdfcfd2d1c43dc4af7
treeb307de0d40ebdd1da30001ec0d8e371438a21810
parent97cdeb2c41fa49ce4b1c8acf09e935c2d256ca1a
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.

(cherry picked from commit 36bb45a8b661165430904eacaebed5ef8f08ba3d)
.gitlab-ci.yml
dangerfile.py [new file with mode: 0644]
util/copyrights