Page MenuHomeSoftware Heritage

swh-search: deploy v0.11.4 in staging
ClosedPublic

Authored by vsellier on Sep 3 2021, 8:42 AM.

Details

Summary
  • update the index name
  • update the consumer group name
  • don't listen to the origin_visit topic as not supported anymore in the code. This can be already applied in production as the data is duplicated in origin_visit_status

Related to T3433

Test Plan
  • search0.staging:
diff origin/production/search0.internal.staging.swh.network current/search0.internal.staging.swh.network
*******************************************
  File[/etc/softwareheritage/search/journal_client_indexed.yml] =>
   parameters =>
     content =>
      @@ -6,5 +6,5 @@
         brokers:
         - journal0.internal.staging.swh.network
      -  group_id: swh.search.journal_client.indexed-v0.10.0
      +  group_id: swh.search.journal_client.indexed-v0.11
         prefix: swh.journal.indexed
         object_types:
*******************************************
  File[/etc/softwareheritage/search/journal_client_objects.yml] =>
   parameters =>
     content =>
      @@ -6,9 +6,8 @@
         brokers:
         - journal0.internal.staging.swh.network
      -  group_id: swh.search.journal_client-v0.10.0
      +  group_id: swh.search.journal_client-v0.11
         prefix: swh.journal.objects
         object_types:
         - origin
      -  - origin_visit
         - origin_visit_status
       storage:
*******************************************
  File[/etc/softwareheritage/search/server.yml] =>
   parameters =>
     content =>
      @@ -7,5 +7,5 @@
         indexes:
           origin:
      -      index: origin-v0.10.0
      +      index: origin-v0.11
             read_alias: origin-read
             write_alias: origin-write
*******************************************
*** End octocatalog-diff on search0.internal.staging.swh.network
  • search1 (production)
diff origin/production/search1.internal.softwareheritage.org current/search1.internal.softwareheritage.org
*******************************************
  File[/etc/softwareheritage/search/journal_client_objects.yml] =>
   parameters =>
     content =>
      @@ -13,5 +13,4 @@
         object_types:
         - origin
      -  - origin_visit
         - origin_visit_status
       storage:
*******************************************
*** End octocatalog-diff on search1.internal.softwareheritage.org
  • webapp.staging
diff origin/production/webapp.internal.staging.swh.network current/webapp.internal.staging.swh.network
*******************************************
  File[/etc/softwareheritage/search/server.yml] =>
   parameters =>
     content =>
      @@ -7,5 +7,5 @@
         indexes:
           origin:
      -      index: origin-v0.10.0
      +      index: origin-v0.11
             read_alias: origin-read
             write_alias: origin-write
*******************************************
*** End octocatalog-diff on webapp.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.