> Still, totally fine for pretty much everything I’ve needed it for.
Try writing non-trivial multi-line bash snippets for Gitlab CI in yaml. These change your opinion very fast.
Try writing non-trivial multi-line bash snippets for Gitlab CI in yaml. These change your opinion very fast.
2. “In yaml” could be a fun way to end all kinds of sentences describing challenging tasks ;)
Other part of the world might not like too many levels of indirection, and would consider their approach a good practice.
1. Lint the code using ShellCheck, which IMO is essential for any shell
2. Run and test that code locally, or anywhere outside of the CI tool
It’s only marginally less convenient to externalise the code into a .sh file and load it in CI.
I still don't like YAML though