-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into ER-1219-add-updated-and-published-date
- Loading branch information
Showing
8 changed files
with
125 additions
and
191 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,6 +8,6 @@ cms/*.md | |
data/*.md | ||
uml/*.md | ||
adr/*.md | ||
RELEASE.md | ||
RECOVERY.md | ||
GOV_ONE.md | ||
LICENSE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Deployment and Content Maintenance and Recovery | ||
|
||
Rolling back a failed code release and restoring a database has been tested and there | ||
is a strategy in place to provide the same assurances with content. | ||
|
||
However there are a number of improvements that could still be made: | ||
|
||
|
||
### Recommendations | ||
|
||
1. | ||
Ensure content restoration is possible whenever a coordinated code/content release is actioned. | ||
|
||
- Contentful does not provide the functionality, `Launch` to can only be used to publish. | ||
- If multiple entries need to be reverted or unpublished then a pre-launch clone | ||
of the environment must be made. | ||
- This places a restriction on teams of content editors to pause work until the | ||
success of the combined code and content release can be verified. | ||
- There are a limited number of environments in the current plan so only one restore point of the master can | ||
exist. | ||
|
||
2. | ||
Synchronise the swap of web app and background worker and avoid deploying a worker when jobs are running. | ||
|
||
- The web server Azure AppService and background worker Azure Container share a | ||
database however migrations are only run within the AppService after a blue/green swap. | ||
- The worker will be recreated with new code before the web server can run any migrations it may require. | ||
- The deployment may interrupt active mail or data export jobs. | ||
|
||
3. | ||
Mail jobs now have the capacity use MailEvents from Notify callbacks to remove | ||
users from the recipient scope ensuring that no duplicate messages are sent if the job is interrupted. | ||
|
||
- This is only implemented on the new module message but should be applied to all. | ||
- Mail messages can also be rescheduled outside of working hours. | ||
|
||
4. | ||
Concurrent jobs are guarded against. `v0.15.4` increases the export schedule from daily to every two days | ||
to ensure an active job has time to complete and prevent the the next day's export from auto-expiring. | ||
|
||
3. | ||
Increase the database server fast restore points in Azure to more than once in 24hrs | ||
|
||
- Additional cost may be incurred | ||
|
||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.