Skip to content

conf/deposit: Explicit deposit api configuration

This just explicits what used to be set by default in the deposit regarding the provider. Information which is transited to the deposit loader.

Test Plan

octocatalog

bin/octocatalog-diff --octocatalog-diff-args --no-truncate-details --to staging deposit.internal.staging.swh.network
Found host deposit.internal.staging.swh.network
Cloning into '/tmp/swh-ocd.BasCM0H9/environments/production/data/private'...
done.
Cloning into '/tmp/swh-ocd.BasCM0H9/environments/staging/data/private'...
done.
*** Running octocatalog-diff on host deposit.internal.staging.swh.network
I, [2020-09-16T18:47:00.767738 #3745]  INFO -- : Catalogs compiled for deposit.internal.staging.swh.network
I, [2020-09-16T18:47:03.118164 #3745]  INFO -- : Diffs computed for deposit.internal.staging.swh.network
diff origin/production/deposit.internal.staging.swh.network current/deposit.internal.staging.swh.network
*******************************************
  File[/etc/softwareheritage/deposit/server.yml] =>
   parameters =>
     content =>
      @@ -6,4 +6,7 @@
         configuration:
           sword_version: 2
      +provider:
      +  provider_type: deposit_client
      +  metadata: {}
       scheduler:
         cls: remote
*******************************************
*** End octocatalog-diff on deposit.internal.staging.swh.network

Migrated from D3969 (view on Phabricator)

Merge request reports