Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds ability to rollback to a previous Baremetal deploy #5361

Closed
wants to merge 6 commits into from

Conversation

cannikin
Copy link
Member

@cannikin cannikin commented Apr 29, 2022

Note this release builds on #5359 and assumes it has already been merged!

Closes #5299

Release Notes

If you deploy and find something has gone horribly wrong, you can now rollback your deploy to the previous release!

yarn rw deploy baremetal --rollback

You can even rollback multiple deploys, up to the total number you still have denoted with the keepReleases option:

yarn rw deploy baremetal --rollback 3

Note that this will not rollback your database—if you had a release that changed the database, that updated database will still be in effect, but with the previous version of the web and api sides. Trying to undo database migrations is a very difficult proposition and isn't even possible in many cases.

Make sure to thoroughly test releases that change the database before doing it for real!

@cannikin cannikin added topic/deployment release:feature This PR introduces a new feature labels Apr 29, 2022
@cannikin cannikin mentioned this pull request May 10, 2022
@cannikin
Copy link
Member Author

Consolidated in #5500

@cannikin cannikin closed this May 11, 2022
@cannikin cannikin deleted the rc-baremetal-rollback branch May 28, 2022 04:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:feature This PR introduces a new feature topic/deployment
Projects
Status: Archived
Development

Successfully merging this pull request may close these issues.

None yet

1 participant