Skip to content

Add elastic test rake task

Mario de la Ossa requested to merge elastic-test-repos into master

What does this MR do?

In order to make testing elasticsearch changes a bit easier, this MR adds a few raketasks:

  • gitlab:elastic:test:index_size: Returns document count and index size for currently-used index
  • gitlab:elastic:test:index_size_change: Runs the index_size task, reindexes, and runs the task again
  • gitlab:elastic:test:setup_repos[fork]: Imports some large popular opensource repos to have more blobs to test with. If fork is provided, it's value should be either "true" or the full_path of a project
    • if the value is "true" it will generate five forks of torvalds/linux
    • otherwise it will generate five forks of the given project

What are the relevant issue numbers?

#7822 (closed)

Does this MR meet the acceptance criteria?

Closes #7822 (closed)

Edited by 🤖 GitLab Bot 🤖

Merge request reports