-
Notifications
You must be signed in to change notification settings - Fork 0
Deployment and rollback
Standard deployment is just to merge develop
to master
on these repos:
- https://github.com/topcoder-platform/forums-theme/
- https://github.com/topcoder-platform/forums-groups-plugin
- https://github.com/topcoder-platform/forums-topcoder-editor-plugin
- https://github.com/topcoder-platform/forums-filestack-plugin
- https://github.com/topcoder-platform/forums-plugins
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
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.