Page MenuHomeSoftware Heritage

swh-search: configure webapp1 to use the v0.9.0 index
ClosedPublic

Authored by vsellier on Jun 23 2021, 12:56 PM.

Details

Summary

Related to T3373

Test Plan
  • moma:
*** Running octocatalog-diff on host moma.softwareheritage.org
I, [2021-06-23T12:55:25.544020 #19721]  INFO -- : Catalogs compiled for moma.softwareheritage.org
I, [2021-06-23T12:55:27.931607 #19721]  INFO -- : Diffs computed for moma.softwareheritage.org
I, [2021-06-23T12:55:27.931659 #19721]  INFO -- : No differences
*** End octocatalog-diff on moma.softwareheritage.org
  • webapp1
diff origin/production/webapp1.internal.softwareheritage.org current/webapp1.internal.softwareheritage.org
*******************************************
  File[/etc/softwareheritage/search/server.yml] =>
   parameters =>
     content =>
      @@ -11,6 +11,6 @@
         indexes:
           origin:
      -      index: origin-production
      -      read_alias: origin-read
      -      write_alias: origin-write
      +      index: origin-v0.9.0
      +      read_alias: origin-read-v0.9.0
      +      write_alias: origin-write-v0.9.0
      _
*******************************************
*** End octocatalog-diff on webapp1.internal.softwareheritage.org

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

vsellier created this revision.

Also update the index name. It's not necessary as only the aliases are used, for the searchbut it's cleaner

This revision is now accepted and ready to land.Jun 23 2021, 2:08 PM