4 ms·
> 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 t
by codeflo 4y ago
> 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”.
- fennecfoxen 4y agoThat 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?”