Staging instance, all changes can be removed at any time

Deploy swh-scrubber 1.0.1

Completely overhauls the storage schema and command line arguments to support cassandra in addition to postgresql.

Staging & Prod:

Staging:

  • stop all workers
  • apply swh/scrubber/sql/upgrades/5.sql > swh/devel/swh-scrubber@4400f3e9 (sudo -u swhworker SWH_CONFIG_FILENAME=/etc/softwareheritage/scrubber/storage_primary.yml swh db upgrade --module-config-key scrubber_db scrubber)
  • upgrade package
  • enable & noop apply puppet
  • start one worker
  • check sql DB
  • restart all workers (without debug logs)

Production:

  • stop all workers
  • apply swh/scrubber/sql/upgrades/5.sql
  • upgrade package
  • enable & apply puppet
  • restart all workers

(cc. @vlorentz)

Edited by Nicolas Dandrimont