3 ms·
Once, a reliable and wise colleague told me "Use in CI what you use locally" and that has been the best devop advice that never failed me to save my time. The
by cnotv 2y ago
Once, a reliable and wise colleague told me "Use in CI what you use locally" and that has been the best devop advice that never failed me to save my time.
The second one has been, from someone else: if you can use anything else than bash, do that.
- amtamt 2y agoTry brainfuck... Jokes aside... it's so trendy to bash bash that it's not funny anymore. Bash is still quite reliable for work that usually gets done in CI, and nearly maintenance free if used well.
- balls187 2y agoThese days, AI Copilots are quite good at helping write and maintain bash (and shell) scripts, that it's not much of a prolem.
- badmintonbaseba 2y agoI prefer python there, although we do test/deploy on Windows too, so it's nice to have a common python script for Windows and Linux CI. Not interested in making bash work on Windows or scripting in powershell. And although it's a lot more awkward to use python than bash for invoking subprocesses, it's nicer in most other ways.