6 ms·
Any light on how to pull back once a change has been deployed? If it's version controlled you can check out a previous version but do you automate tht?
by pulledpork 14y ago
Any light on how to pull back once a change has been deployed? If it's version controlled you can check out a previous version but do you automate tht?
- msherry 14y agoHi there. I'm the author of this post. We use git, so it's easy to revert commits, or push an update with '-f' that resets to an earlier version. Once we push this new commit (that simply puts us back to an earlier state) to our release branch, it's picked up by the testing system just like any other commit and pushed out.
- pulledpork 14y agoThat seems like a slow process if you're "oh shit, rollback, rollback, rollback!"
- msherry 14y agoIf we're already at the "Oh shit" stage, then we might be happy sacrificing test coverage to go back to known-good code, in which case we would run our fabric `deploy` task and have our rollback completed in ~30 seconds. The idea behind this process is that we never have "oh shit" moments like that :) (Please see my other response to a similar question, as well)