mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-10 02:22:57 +01:00
Make run-zoekt-servers name version independent
This commit is contained in:
parent
2b94df34d8
commit
33f657b392
3 changed files with 2 additions and 2 deletions
13
assets/zoekt-ci-image/run-zoekt-servers
Executable file
13
assets/zoekt-ci-image/run-zoekt-servers
Executable file
|
|
@ -0,0 +1,13 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
INDEX_DIR=/zoekt/test/index
|
||||
|
||||
gitlab-zoekt-indexer -index_dir $INDEX_DIR -listen :6060 &
|
||||
INDEXER_PID=$!
|
||||
|
||||
zoekt-webserver -index $INDEX_DIR -rpc -listen :6070 &
|
||||
WEBSERVER_PID=$!
|
||||
|
||||
# Exit if one of the processes fail
|
||||
wait $INDEXER_PID || exit 1
|
||||
wait $WEBSERVER_PID || exit 1
|
||||
Loading…
Add table
Add a link
Reference in a new issue