Deploy scrubber v2.0
Contains:
- Refactoring which changes the current deployment [1]
- Db upgrade script
- new 'swh scrubber' clis
Changes:
- configuration key change scrubber_db to scrubber
- bootstrap of ranges per object type (stored in db). It needs a cli to be called first to generate those.
Impacts:
-
swh/infra/puppet/puppet-swh-site!633 (merged): swh-site: Adapt puppet manifests to account for changes -
swh-charts?(possibly in a dev branch) -
swh/devel/swh-scrubber!47 (merged): Fix debian build [2]
staging:
-
scrubber0.staging: stop puppet -
scrubber0.staging: stop impacted services -
scrubber0.staging: Upgrade packages -
scrubber0.staging: Adapt config key so new cli is happy -
scrubber0.staging: Migrate db ( swh db ...
) -
scrubber0.staging: Apply puppet change (after ^ otherwise, services will restart without the db migrated) -
Restart services -
Checks
production:
-
scrubber1: stop puppet -
scrubber1: stop impacted services -
scrubber1: Upgrade packages -
scrubber1: Adapt config key so new cli is happy -
scrubber1: Migrate db ( swh db ...
) -
scrubber1: Apply puppet change -
Restart services -
Checks
Edited by Antoine R. Dumont