bromite-buildtools/start-goma-server.sh

20 lines
599 B
Bash
Raw Normal View History

2021-05-29 16:26:54 +05:30
#!/bin/bash
RED='\033[0;31m'
NC='\033[0m' # No Color
2021-05-29 16:26:54 +05:30
#export GOPATH=~/go
#export GOCACHE=~/go
export REDISHOST=localhost
echo -e ${RED} -------- cloning goma-server ${NC}
2021-05-29 16:26:54 +05:30
git clone https://github.com/uazo/goma-server
echo -e ${RED} -------- start goma-server ${NC}
2021-05-29 16:26:54 +05:30
cd ./goma-server/
go run ./cmd/remoteexec_proxy/main.go --port 5050 --remoteexec-addr $REMOTEEXEC_ADDR --remote-instance-name default_instance --insecure-remoteexec --allowed-users ppp --exec-config-file "./config-file" --exec-check-cache-timeout 30s --exec-max-retry-count 50 --exec-execute-timeout 600s >log.txt 2>&1 &
2021-05-31 17:36:40 +05:30
cd ..