Skip to content
This repository has been archived by the owner on Sep 23, 2023. It is now read-only.

Add ElasticSearch service #356

Open
kostajh opened this issue Nov 15, 2021 · 1 comment · May be fixed by #380
Open

Add ElasticSearch service #356

kostajh opened this issue Nov 15, 2021 · 1 comment · May be fixed by #380
Labels
enhancement New feature or request

Comments

@kostajh
Copy link
Contributor

kostajh commented Nov 15, 2021

We rely on it heavily for GrowthExperiments features and would be nice to have in PatchDemo; it would make the sites more realistic for QA / beta testing, etc.

I'm not sure how hard this would be to include in the current set up. I see a couple of options:

  • use a service run on WCMS
  • install ElasticSearch 6 via apt-get and friends; there is prior art for scripting this in vagrant but probably not easily adaptable for this project
  • Run ElasticSearch via a Docker container. This seems to be the easiest, if we're OK with installing Docker. That would also simplify the process of adding other services, too.
@MatmaRex
Copy link
Owner

If you're willing to work on this, and if it can be done in such a way that I don't have to spend the rest of my life updating dependencies regularly, then I'd love to have it.

kostajh added a commit to kostajh/patchdemo that referenced this issue Nov 25, 2021
* Install Docker in VM creation
* Run ElasticSearch as a container using the image from
releng/dev-images which has WMF plugins
* Run CirrusSearch setup scripts in postinstall.sh

Periodically cleaning up old search index data is not done in this
patch. It can be done by deleting the volume associated with the
container (since this is considered throwaway data).

It would be nice if runJobs.php ran periodically for the wiki, as that's
needed to process updates to the search index. Ideas welcome on how to
do that.

Fixes MatmaRex#356
@kostajh kostajh linked a pull request Nov 25, 2021 that will close this issue
@edg2s edg2s added the enhancement New feature or request label Nov 29, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants