system-config/modules/openstack_project/manifests
Ian Wienand 368466730c Migrate codesearch site to container
The hound project has undergone a small re-birth and moved to

 https://github.com/hound-search/hound

which has broken our deployment.  We've talked about leaving
codesearch up to gitea, but it's not quite there yet.  There seems to
be no point working on the puppet now.

This builds a container than runs houndd.  It's an opendev specific
container; the config is pulled from project-config directly.

There's some custom scripts that drive things.  Some points for
reviewers:

 - update-hound-config.sh uses "create-hound-config" (which is in
   jeepyb for historical reasons) to generate the config file.  It
   grabs the latest projects.yaml from project-config and exits with a
   return code to indicate if things changed.

 - when the container starts, it runs update-hound-config.sh to
   populate the initial config.  There is a testing environment flag
   and small config so it doesn't have to clone the entire opendev for
   functional testing.

 - it runs under supervisord so we can restart the daemon when
   projects are updated.  Unlike earlier versions that didn't start
   listening till indexing was done, this version now puts up a "Hound
   is not ready yet" message when while it is working; so we can drop
   all the magic we were doing to probe if hound is listening via
   netstat and making Apache redirect to a status page.

 - resync-hound.sh is run from an external cron job daily, and does
   this update and restart check.  Since it only reloads if changes
   are made, this should be relatively rare anyway.

 - There is a PR to monitor the config file
   (https://github.com/hound-search/hound/pull/357) which would mean
   the restart is unnecessary.  This would be good in the near and we
   could remove the cron job.

 - playbooks/roles/codesearch is unexciting and deploys the container,
   certificates and an apache proxy back to localhost:6080 where hound
   is listening.

I've combined removal of the old puppet bits here as the "-codesearch"
namespace was already being used.

Change-Id: I8c773b5ea6b87e8f7dfd8db2556626f7b2500473
2020-11-20 07:41:12 +11:00
..
storyboard Remove base.yaml things from openstack_project::server 2018-08-16 17:25:10 -05:00
afsdb.pp Pull o_p::server invocation out of afs roles 2015-04-17 09:33:10 -07:00
afsfs.pp Remove empty template class 2017-05-01 22:06:17 +02:00
ask_staging.pp Update opendev git references in puppet modules 2019-04-20 18:26:07 +00:00
ask.pp Restart apache2 on logrotate on ask.o.o 2019-11-13 15:54:50 +00:00
backup_server.pp Use openstack_project::server class where possible 2017-04-07 21:56:17 +02:00
cacti.pp Add iptables role 2018-08-27 14:33:32 +00:00
eavesdrop.pp Split eavesdrop into its own playbook 2020-04-23 14:34:28 -05:00
elasticsearch_node.pp Keep only 7 days of records in ElasticSearch 2020-02-06 13:50:56 -08:00
ethercalc.pp Backup ethercalc to hostname specific location 2018-08-14 14:13:03 -07:00
firehose.pp Remove base.yaml things from openstack_project::server 2018-08-16 17:25:10 -05:00
gem_mirror.pp Added Gem Mirror to Infra 2016-12-13 20:16:19 -05:00
init.pp Fix up ssh key usage 2014-04-25 12:35:25 -07:00
kata_lists.pp Merge "Creates 'embargo-notice' list" 2018-09-27 21:54:01 +00:00
kdc.pp Make kdc03 the master kerberos kdc and admin server 2019-02-22 15:47:49 -08:00
lists.pp Add service-incident@opendev mailing list 2020-10-22 16:16:04 +00:00
logstash_worker.pp Remove elasticsearch01 2020-06-17 14:51:58 -07:00
logstash.pp Remove elasticsearch01 2020-06-17 14:51:58 -07:00
openstack_health_api.pp Set openstack-health cache_expiration to 5min 2016-05-31 15:29:00 -04:00
openstackid_dev.pp OpenstackId config updates 2020-09-21 17:40:19 -03:00
openstackid_prod.pp OpenstackId v3.0.16 2020-10-15 00:23:08 -03:00
paste.pp Pin lodgeit to the current version 2020-03-04 23:54:41 +00:00
pbx.pp Remove base.yaml things from openstack_project::server 2018-08-16 17:25:10 -05:00
planet.pp Update opendev git references in puppet modules 2019-04-20 18:26:07 +00:00
puppetmaster.pp Manage clouds.yaml files in ansible 2018-09-04 08:49:00 -07:00
server.pp Stop cloning more puppet modules 2020-06-05 12:09:30 -05:00
ssl_cert_check.pp
status.pp Copy unminimized flot files 2020-01-28 16:41:07 -08:00
storyboard.pp Switch StoryBoard database backups to local 2018-12-06 20:30:59 +00:00
subunit_worker.pp Correct the ca-cert for mqtt on subunit worker 2017-04-25 17:41:39 -04:00
survey.pp Upgrade to LimeSurvey 3.15.6 2019-01-16 18:47:57 +00:00
translate_dev.pp Add iptables role 2018-08-27 14:33:32 +00:00
translate.pp Upgrade translate.o.o to Zanata 4.3.3 2018-02-27 12:43:40 +01:00
website.pp Use LE certs for zuul-ci.org 2020-01-07 15:25:32 -08:00
wiki.pp Merge "Manage the favicon.ico file for the wiki" 2018-12-17 16:36:32 +00:00