this post was submitted on 08 Sep 2024
150 points (96.9% liked)

Programmer Humor

32410 readers
569 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
top 9 comments
sorted by: hot top controversial new old
[–] xmunk@sh.itjust.works 41 points 2 months ago (2 children)

It's important to demystify tech... They're literally the same except some achieve a descriptor beyond "shitty".

[–] navi@lemmy.tespia.org 12 points 2 months ago

Definitely. Half my pipelines these days are posh scripts.

[–] MartianSands@sh.itjust.works 4 points 2 months ago

Hey now, some of us have standards.

We have shitty python scripts

[–] lowleveldata@programming.dev 16 points 2 months ago

Those are the same pictures

[–] exu@feditown.com 11 points 2 months ago (2 children)

I'd probably prefer a bash script that's called from your CI/CD if done properly, just because I could run the same tests locally with that script. That makes the feedback loop much faster and also allows stuff like auto formatting.

Yes, you can do git hooks, but then you have to keep it in sync with your CI/CD all the time.

[–] ArmoredThirteen@lemmy.ml 0 points 2 months ago

What about a bash script that calls your CI/CD because the system is so old and complex anyone learning how to use it immediately builds a 1-off tool to hide what they don't need but then everyone starts relying on that 1-off bash script so you extend the functionality then replace it with a proper tool then let that rot so you need a new bash script to call that to hide the useless parts?

[–] yogthos@lemmy.ml 0 points 2 months ago

I feel like being able to run things locally is really valuable as well. This has been one of my biggest issues with stuff like aws where it's very difficult to have an offline local environment. You have things like localstack, but it's not perfect.

[–] sik0fewl@lemmy.ca 6 points 2 months ago

After spending enough time debugging Jenkins pipelines, I wish I had used shitty bash scripts.

[–] Cysioland@lemmygrad.ml 3 points 2 months ago

CI/CD is just git hooks with extra steps