2021-06-19 15:16:24 +05:30
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
RED='\033[0;31m'
|
|
|
|
NC='\033[0m' # No Color
|
|
|
|
|
|
|
|
#export GOPATH=~/go
|
|
|
|
#export GOCACHE=~/go
|
|
|
|
export REDISHOST=localhost
|
|
|
|
|
|
|
|
echo -e ${RED} -------- install go 16.2 ${NC}
|
|
|
|
|
|
|
|
wget https://golang.org/dl/go1.16.2.linux-amd64.tar.gz
|
|
|
|
sudo rm -rf /usr/local/go
|
|
|
|
sudo tar -C /usr/local -xzf go1.16.2.linux-amd64.tar.gz
|
2021-06-30 18:14:14 +05:30
|
|
|
rm go1.16.2.linux-amd64.tar.gz
|
2021-06-19 15:16:24 +05:30
|
|
|
|
|
|
|
echo -e ${RED} -------- cloning goma-server ${NC}
|
|
|
|
|
|
|
|
git clone https://github.com/uazo/goma-server
|
2021-07-30 13:42:52 +05:30
|
|
|
|
|
|
|
cd goma-server
|
|
|
|
/usr/local/go/bin/go run ./cmd/remoteexec_proxy/main.go --preload=true
|
|
|
|
|
|
|
|
cd ..
|