Skip to content

Deployment and rollback

Justin Gasper edited this page Feb 28, 2021 · 4 revisions

Standard deployment / upgrade

Standard deployment is just to merge develop to master on these repos:


And then this one AFTER the repos above have been merge to master. Note that merging /forums will kick off the CircleCI build. The repos above will not.

https://github.com/topcoder-platform/forums

CircleCI will deploy the code to production

https://app.circleci.com/pipelines/github/topcoder-platform/forums


Rollback

Generally speaking, for a standard upgrade / deployment, the rollback can be done in CircleCI, just by selecting and deploying a previous commit. Note that individual repos can be rolled back from previous commits in master, so for example, if there's a bug in the groups plugin, we can roll back just the offending commit in the groups plugin and redeploy.

For a more serious rollback, if the database has changed or is corrupted somehow, we will also need to restore the database in RDS from a backup. This should rarely, if ever, have to happen because database changes are usually unnecessary for the work we've been doing.

Clone this wiki locally