Skip to content

Add Elasticsearch node for Advanced Search

Grant Young requested to merge gy-elasticsearch into master

Closes gitlab-org/quality/performance#131 (closed) gitlab-org/quality/performance#134 (closed)

Relates gitlab-org/quality/performance!147 (merged)

MR adds in Elasticsearch node to the environments and the subsequent setup steps needed to hook it up with GitLab.

ES is configured via API and also requires a License. As such a new post-configure role has been added to ansible to handle general post build tasks for the environments. It currently contains setting the License (also done via API) and Elasticsearch if the node is present. Both utilize OAuth to achieve this.

Additional improvements:

  • Docs have been updated by separating them into individual files and giving clearer guidance about authentication keys.
  • Keys have been moved from secrets to keys with the current environments now located in the performance subfolder. For other environment the expectation is now for users to place them in the keys folder and docs have been updated to guide them through this.
  • The flow of Ansible common role has been improved via Blocks so it's correct skipped if already run in a play.
Edited by Grant Young

Merge request reports