by andrei_says_ · 3y ago · 0 comments
Still, totally fine for pretty much everything I’ve needed it for.
Maybe I'm just not that ambitious and haven’t hit any of the corner cases pointed out in the article.
Have been using it as a html forms definition language for 7 years - with great success.
So, yes, maybe not so great, but also not too bad.
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 ;)
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