mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 18:12:55 +01:00
Fix Zoekt CI image. Bump to v1.5
This commit is contained in:
parent
3287d15463
commit
08a2884e3c
5 changed files with 17 additions and 34 deletions
|
|
@ -1,5 +0,0 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
zoekt-dynamic-indexserver -data_dir zoekt/test/data -index_dir zoekt/test/index -listen :6060 &
|
||||
|
||||
zoekt-webserver -index zoekt/test/index -rpc -listen :6070
|
||||
13
assets/zoekt-ci-image/run-zoekt-servers-v1.5
Executable file
13
assets/zoekt-ci-image/run-zoekt-servers-v1.5
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