Re:Ask HN: How can we make the current CI/CD ecosystem better?
by chillfox on Monday December 12, 2022 @03:02AM
(#33952128)
So if we have to use a script anyway, then why do we have to write like 20+ lines of YAML to run the script?
Edit: I mean, why is this not the config if we are just doing a script?
src: github.com/...
run: test_and_build.sh
Generally you want to aim for writing things in scripts that your CI system calls, so that they can be run locally trivially and so that migrating away from one CI provider (for whatever reason - cost, employer decides to shift, etc.) is not a huge piece of work.