this post was submitted on 08 Sep 2024
146 points (96.8% liked)

Programmer Humor

32047 readers
1456 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 11 points 1 week 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.

[โ€“] [email protected] 0 points 1 week 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?

load more comments (1 replies)