-
Notifications
You must be signed in to change notification settings - Fork 0
Special Deploy Process for keeping Extension and Backend aligned
Sometimes we need to update the backend in a way that will break previous versions of the extension. Since we can't control when the extension gets updated on users' computers, there will be at least a day of transition from the previous extension version to the current version. Plus the extension might be rejected by Firefox, Chrome, or both. So: we need to support both versions of the extension simultaneously in order to provide a seamless update process for our users.
Here's how:
Google appengine creates a unique url for every deploy version.
Our domain (ethicli.com) gets mapped to one of these unique version urls. Usually it gets mapped to the most recent version.
gcloud app deploy <target/Ethicli-X-X.jar>
Disadvantage: Can't update the backend again until the next extension update.
- (We can deploy the backend, but it won't affect the current extensions)