Per @zestyping's outline, this PR adds a step to buendia-update which completely refreshes the database on demand, if migration to the latest version is not possible.
This feature is enabled with the UPDATE_FORCE_UPGRADE site setting and it will destroy whatever is in the database after backing up to /var/backups/buendia. Therefore this setting should be used only on demo or testing sites where the contents of the database are not valuable.
This setting is enabled by default in the buendia-site-cloud-demo and buendia-site-test-integration sites.
This PR also includes a change to CI to use buendia-update to upgrade packages on the staging site.
Per @zestyping's outline, this PR adds a step to
buendia-update
which completely refreshes the database on demand, if migration to the latest version is not possible.This feature is enabled with the
UPDATE_FORCE_UPGRADE
site setting and it will destroy whatever is in the database after backing up to/var/backups/buendia
. Therefore this setting should be used only on demo or testing sites where the contents of the database are not valuable.This setting is enabled by default in the
buendia-site-cloud-demo
andbuendia-site-test-integration
sites.This PR also includes a change to CI to use
buendia-update
to upgrade packages on the staging site.