News for hackers. Stuff that matters.
Re:Automation is the serialization of understanding by codeflo on Wednesday April 20, 2022 @02:19AM (#31093463)
> Separate the bits that stay the same, and inject the bits that change.

Basically, treat your build/deployment scripts like you would any other code. Strive to have a single source of truth for any fact that can change etc.

That seems obvious, but in my experience was at first counterintuitive for many people who otherwise had no trouble applying these principles in application code. A lot of modern CI/CD principles boil down to “it’s just code”.

Re:Automation is the serialization of understanding by fennecfoxen on Wednesday April 20, 2022 @10:10AM (#31097191)
That includes the part where “wouldn’t it be great if we could run just this one piece of code by itself sometimes, instead of having it embedded in a big ball of mud with tons of shared state and invisible dependencies?”