Page MenuHomeSoftware Heritage

webapp: Activate search through metadata in staging webapp and webapp1
ClosedPublic

Authored by ardumont on Feb 17 2021, 3:33 PM.

Details

Summary

That way, we can check the behavior both with data (staging elasticsearch has metadata) and no data
(webapp1 uses an elasticsearch with no metadata yet).

Related to D5087

Test Plan

octo:

$ bin/octocatalog-diff --octocatalog-diff-args --no-truncate-details --to staging webapp.internal.staging.swh.network
...
*** Running octocatalog-diff on host webapp.internal.staging.swh.network
I, [2021-02-17T15:31:54.428019 #28985]  INFO -- : Catalogs compiled for webapp.internal.staging.swh.network
I, [2021-02-17T15:31:56.436522 #28985]  INFO -- : Diffs computed for webapp.internal.staging.swh.network
diff origin/production/webapp.internal.staging.swh.network current/webapp.internal.staging.swh.network
*******************************************
  File[/etc/softwareheritage/web/web.yml] =>
   parameters =>
     content =>
      @@ -3,4 +3,5 @@
         cls: remote
         url: http://search0.internal.staging.swh.network:5010/
      +metadata_search_backend: swh-search
       storage:
         cls: remote
*******************************************
*** End octocatalog-diff on webapp.internal.staging.swh.network
$ bin/octocatalog-diff --octocatalog-diff-args --no-truncate-details --to staging moma
...
*** Running octocatalog-diff on host moma.softwareheritage.org
I, [2021-02-17T15:32:22.384362 #1360]  INFO -- : Catalogs compiled for moma.softwareheritage.org
I, [2021-02-17T15:32:25.418245 #1360]  INFO -- : Diffs computed for moma.softwareheritage.org
diff origin/production/moma.softwareheritage.org current/moma.softwareheritage.org
*******************************************
  File[/etc/softwareheritage/web/web.yml] =>
   parameters =>
     content =>
      @@ -3,4 +3,5 @@
         cls: remote
         url: http://localhost:5010/
      +metadata_search_backend: swh-indexer-storage
       storage:
         cls: remote
*******************************************
*** End octocatalog-diff on moma.softwareheritage.org

$ bin/octocatalog-diff --octocatalog-diff-args --no-truncate-details --to staging webapp1
*** Running octocatalog-diff on host webapp1.internal.softwareheritage.org
I, [2021-02-17T16:14:12.424157 #30662]  INFO -- : Catalogs compiled for webapp1.internal.softwareheritage.org
I, [2021-02-17T16:14:15.065246 #30662]  INFO -- : Diffs computed for webapp1.internal.softwareheritage.org
diff origin/production/webapp1.internal.softwareheritage.org current/webapp1.internal.softwareheritage.org
*******************************************
  File[/etc/softwareheritage/web/web.yml] =>
   parameters =>
     content =>
      @@ -3,4 +3,5 @@
         cls: remote
         url: http://localhost:5010/
      +metadata_search_backend: swh-search
       storage:
         cls: remote
*******************************************
*** End octocatalog-diff on webapp1.internal.softwareheritage.org

Diff Detail

Repository
rSPSITE puppet-swh-site
Branch
staging
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 19300
Build 29929: arc lint + arc unit

Event Timeline

ardumont created this revision.
This revision is now accepted and ready to land.Feb 17 2021, 3:57 PM
ardumont retitled this revision from webapp: Activate search through metadata in staging to webapp: Activate search through metadata in staging webapp and webapp1.Feb 17 2021, 4:16 PM
ardumont edited the summary of this revision. (Show Details)
ardumont edited the test plan for this revision. (Show Details)
ardumont edited the summary of this revision. (Show Details)
  • add webapp1.production configuration
  • rebase
  • rework commit message