Skip to content

Use anchors instead of literal blocks in .gitlab-ci.yml

Michal Nowak requested to merge mnowak/replace-literal-blocks-with-anchors into main

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:


git show --word-diff displays a bit more readable format to evaluate differences.

Edited by Michal Nowak

Merge request reports