]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix the "make depend" check in GitLab CI
authorMichał Kępień <michal@isc.org>
Fri, 30 Oct 2020 07:49:16 +0000 (08:49 +0100)
committerMichał Kępień <michal@isc.org>
Fri, 30 Oct 2020 07:49:16 +0000 (08:49 +0100)
commit0ab099ca09bc026f92a836a17648032d617a420e
treed151deff1622b0b140d4407d5c77531c49abcf1a
parent0a0ef9a9b3c7ff881035d01205fa15d431f98ae6
Fix the "make depend" check in GitLab CI

"make depend" prints errors to stderr, not to stdout.  This means that
the check for "make depend" errors currently used in the definition of
every build job in GitLab CI could never fail.  Fix that check by
redirecting stderr to stdout.  Also employ tee to prevent the output of
"make depend" from being hidden in the job log.  (While using tee hides
the exit code of "make depend" itself, the next line still checks for
errors anyway.)
.gitlab-ci.yml