top | item 43421675

(no title)

cnotv | 11 months 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.

discuss

order

amtamt|11 months ago

Try 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.

badmintonbaseba|11 months ago

I 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.

balls187|11 months ago

These days, AI Copilots are quite good at helping write and maintain bash (and shell) scripts, that it's not much of a prolem.