Staging instance, all changes can be removed at any time

Skip to content

webapp: use replica as main database on production

Related to T3115

Test Plan

*** Running octocatalog-diff on host moma.softwareheritage.org
I, [2021-03-18T15:03:57.363395 #2634]  INFO -- : Catalogs compiled for moma.softwareheritage.org
I, [2021-03-18T15:04:01.974666 #2634]  INFO -- : Diffs computed for moma.softwareheritage.org
diff origin/production/moma.softwareheritage.org current/moma.softwareheritage.org
*******************************************
  File[/etc/softwareheritage/deposit/server.yml] =>
   parameters =>
     content =>
      @@ -4,9 +4,9 @@
         cls: remote
         url: http://saatchi.internal.softwareheritage.org:5008/
      -storage_metadata:
      +storage:
         cls: remote
         args:
           url: http://localhost:5002/
      -storage:
      +storage_metadata:
         cls: remote
         args:
      @@ -22,4 +22,5 @@
         media_root: "/srv/storage/space/swh-deposit/uploads/"
       extraction_dir: "/tmp/swh-deposit/archive/"
      +swh_authority_url: https://deposit.softwareheritage.org/
       allowed_hosts:
       - deposit.softwareheritage.org
*******************************************
  File[/etc/softwareheritage/storage/storage.yml] =>
   parameters =>
     content =>
      @@ -3,5 +3,5 @@
         cls: local
         args:
      -    db: host=db.internal.softwareheritage.org port=5432 user=swhstorage dbname=softwareheritage
      +    db: host=somerset.internal.softwareheritage.org port=5432 user=swhstorage dbname=softwareheritage
             password=swh::deploy::storage::db::password
           objstorage:
*** End octocatalog-diff on moma.softwareheritage.org

Migrated from D5278 (view on Phabricator)

Merge request reports

Loading