Add make gdk-test
What does this MR do and why?
This MR adds make gdk-test
to run indexer in GDK mode for test environment.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Stop existing Zoekt test container
gdk stop gitlab-zoekt-indexer-test
- Set
GDK_DIR
export GDK_DIR=<PATH_TO_YOUR_GDK>
- Start indexer in GDK test mode
make gdk-test
- Execute a zoekt spec
bin/rspec ee/spec/requests/api/admin/search/zoekt_spec.rb
Edited by Dmitry Gruzd