Staging instance, all changes can be removed at any time

Skip to content

deposit: Allow deposit to be manually upgraded

Some db migration step can be required prior to actually updating the server. This is currently not dealt with.

Ideally, at some point, we should check how to properly trigger the django migration step instead (post-install hook maybe as, iirc, @anlambert did for the webapp)

Test Plan

bin/octocatalog-diff

...
- Package[python3-djangorestframework]
*******************************************
  Package[python3-swh.deposit] =>
   parameters =>
     ensure =>
      - latest
      + present
*******************************************
  Profile::Swh::Deploy::Install_web_deps[swh-deposit] =>
   parameters =>
     ensure =>
      + present
...

Migrated from D4115 (view on Phabricator)

Merge request reports

Loading