Re:Are you a lazy programmer?
by WrtCdEvrydy on Saturday April 10, 2021 @01:06PM
(#26763045)
We've had this issue many times with dependency management.
CI will rebuild after you revert everything and still fail to deploy if you pushed a versioned library from your broken code.
Go into your environment and manually roll back to a working image... and learn a powerful lesson.
Re:Are you a lazy programmer?
by vergessenmir on Saturday April 10, 2021 @01:29PM
(#26763236)
I'm not sure what you're saying here. I can see this being a problem when you have cross-team dependencies and your roll-back requires coordination.
Even then it's manageable if your production deployments are version pinned, it only becomes a problem if schemas in your database or messaging have had non compatible changes and data has been written (i.e you have binary and data dependencies in a release)
All this being said with the assumption that the CI/CD pipeline has been designed to best practices.
“So just roll back” I hear you say, to which I respond: “it ain’t always that easy”. You can’t always just turn the reactor off once the meltdown is in progress.