remove output (temporany) and start in background

This commit is contained in:
Your Name 2021-05-29 17:33:17 +00:00
parent 702f2959f7
commit ab8edbea3d
2 changed files with 18 additions and 1 deletions

17
setup-goma-client.sh Normal file
View File

@ -0,0 +1,17 @@
#!/bin/bash
cipd install infra/goma/client/linux-amd64 -root ~/goma
cat "nomatter" >~/.debug_auth_file
export GOMA_SERVER_HOST=127.0.0.1
export GOMA_SERVER_PORT=5050
export GOMA_USE_SSL=false
export GOMA_HTTP_AUTHORIZATION_FILE=~/.debug_auth_file
export GOMA_HERMETIC=error
export GOMA_USE_LOCAL=false
export GOMA_FALLBACK=true
export GOMA_ARBITRARY_TOOLCHAIN_SUPPORT=true
~/goma/goma_ctl.py ensure_stop
~/goma/goma_ctl.py ensure_start

View File

@ -6,4 +6,4 @@ export REDISHOST=localhost
git clone https://github.com/uazo/goma-server
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
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 &