Page MenuHomeSoftware Heritage

Enable production vault cookers to use swh.graph
ClosedPublic

Authored by ardumont on Sep 1 2021, 5:25 PM.

Details

Summary

Related to T3518

Test Plan

octo-diff:

Expectedly, for production workers, the configuration is updated with the graph
configuration key and the dependency python3-swh.graph.client is installed. For staging
workers, nothing changes as there is no graph instance there.

$ bin/octocatalog-diff --octocatalog-diff-args --no-truncate-details --to staging worker12.euwest.azure
Found host worker12.euwest.azure.internal.softwareheritage.org
...
*******************************************
  File[/etc/softwareheritage/vault_cooker.yml] =>
   parameters =>
     content =>
      @@ -17,3 +17,5 @@
         - swh.vault.cooking_tasks.SWHBatchCookingTask
       max_bundle_size: 1073741824
      +graph:
      +  url: http://graph.internal.softwareheritage.org:5009/
      _
*******************************************
+ Package[python3-swh.graph.client] =>
   parameters =>
      "ensure": "present"
*******************************************
*** End octocatalog-diff on worker12.euwest.azure.internal.softwareheritage.org

$bin/octocatalog-diff --octocatalog-diff-args --no-truncate-details --to staging worker0.internal.staging.swh.network
Found host worker0.internal.staging.swh.network
...
*** Running octocatalog-diff on host worker0.internal.staging.swh.network
I, [2021-09-01T17:19:32.856260 #26813]  INFO -- : Catalogs compiled for worker0.internal.staging.swh.network
I, [2021-09-01T17:19:34.031670 #26813]  INFO -- : Diffs computed for worker0.internal.staging.swh.network
I, [2021-09-01T17:19:34.031705 #26813]  INFO -- : No differences
*** End octocatalog-diff on worker0.internal.staging.swh.network

Diff Detail

Repository
rSPSITE puppet-swh-site
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

ardumont created this revision.
ardumont edited the test plan for this revision. (Show Details)
This revision was not accepted when it landed; it landed in state Needs Review.Sep 2 2021, 12:30 PM
This revision was automatically updated to reflect the committed changes.