Production release of i18n plugin
Closed this issue · 0 comments
padms commented
The upgrade involves running migration scripts which removes _lang field and creates a new field lang with that of the _lang value. Also for each document that has more than one language version , it creates another new document that saves the version information.
While these scripts are running, we should have content freeze as well as code freeze to main. We shall do the upgrade one dataset at a time.
Plan :
- The day before migration, communicate to the users that there is a content freeze.
- On the day of migration, take the backup of the dataset and follow the steps below.
- Run the migration script for creating metadata first followed by the renaming lang field. [Production breaks for other language version]
- Merge the PR to main, so studio and web is deployed to preprod.
- Verify that everything is working fine in preprod.
- Deploy to production only for the current dataset.
- Modify the _lang field in the webhook. (if global )
- Add the webhooks for firstPublishedAt patch.
If the migration is a failure, use the backup and restore it and then rollback studio and web to previous version.
Repeat for other datasets:
- Follow content freeze.
- Take the backup of the dataset.
- Run the migration script for creating metadata first followed by the renaming lang field. [Production breaks for other language version]
- Manually trigger deploy to preprod, to ensure static pages are built correctly.
- Verify everything is working fine in prod.
- Deploy to production only for the current dataset.
- Modify the _lang field in the webhook. (if global)
- Add the webhooks for firstPublishedAt patch.
If the migration is a failure, use the backup and restore it and then rollback studio and web to previous version.
Date | Dataset | Completed |
---|---|---|
08-07-2024 | Poland | ✅ |
09-07-2024 | Japan Celticsea | |
10-07-2024 | Argentina Storage Germany | |
11-07-2024 | Gobal secret | |
12-07-2024 | Equinorfondene Southkorea Brazil |
Updated Schedule
Date | Dataset | Completed |
---|---|---|
30-07-2024 | Japan Celticsea | ✅ |
31-07-2024 | Argentina Storage Germany | ✅ |
01-08-2024 | Equinorfondene Southkorea Brazil | ✅ |
02-08-2024 | Global Secret | ✅ |