Use anchors instead of literal blocks in .gitlab-ci.yml
Anchor lets the user see the full command logged in GitLab CI:
${CONFIGURE} --disable-maintainer-mode --enable-developer ...
Instead of a folded multi-line when literal block is used:
${CONFIGURE} \ # collapsed multi-line command
Jobs leveraging the converted code:
-
cppcheck
: https://gitlab.isc.org/isc-projects/bind9/-/jobs/1753790/raw -
scan-build
: https://gitlab.isc.org/isc-projects/bind9/-/jobs/1753789/raw -
configure
andcheck_readline_setup
anchors: https://gitlab.isc.org/isc-projects/bind9/-/jobs/1753736/raw -
coverity
: https://gitlab.isc.org/mnowak/bind9/-/jobs/1754031/raw -
setup_interfaces
andsetup_softhsm
: https://gitlab.isc.org/isc-projects/bind9/-/jobs/1753783/raw
git show --word-diff
displays a bit more readable format to evaluate differences.
Edited by Michal Nowak