Page MenuHomeSoftware Heritage

Enable production vault cookers to use swh.graph

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



Related to T3518

Test Plan


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
Found host
  File[/etc/softwareheritage/vault_cooker.yml] =>
   parameters =>
     content =>
      @@ -17,3 +17,5 @@
         - swh.vault.cooking_tasks.SWHBatchCookingTask
       max_bundle_size: 1073741824
      +  url:
+ Package[python3-swh.graph.client] =>
   parameters =>
      "ensure": "present"
*** End octocatalog-diff on

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

Diff Detail

rSPSITE puppet-swh-site
Automatic diff as part of commit; lint not applicable.
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.