Jump to content

Codesearch/Admin

From mediawiki.org

Adding a new search profile/backend

In labs/codesearch:

  • Update write_config.py to generate configuration for the new backend
  • Update app.py with a label for the search profile
  • Example: gerrit:565424

In operations/puppet:

  • Update hieradata/cloud/eqiad1/codesearch/common.yaml with the new backend and the next numerical port
  • Example: gerrit:567190

The codesearch patch must be merged before the puppet one. Also ensure that the codesearch-write-config systemd timer has run before the puppet patch is merged.