|
|
|
@ -17,9 +17,6 @@ |
|
|
|
|
set -e |
|
|
|
|
|
|
|
|
|
# Turn on support for Go modules. |
|
|
|
|
# The make commands executed from the script eventually call `go get`, and |
|
|
|
|
# without Go modules support, those will download dependencies at head, which |
|
|
|
|
# is not what we want. |
|
|
|
|
export GO111MODULE=on |
|
|
|
|
|
|
|
|
|
# Clone just the grpc-go source code without any dependencies. |
|
|
|
@ -27,9 +24,6 @@ export GO111MODULE=on |
|
|
|
|
# to test instead of using "go get" to download from Github directly. |
|
|
|
|
git clone --recursive /var/local/jenkins/grpc-go src/google.golang.org/grpc |
|
|
|
|
|
|
|
|
|
# Get all gRPC Go dependencies |
|
|
|
|
(cd src/google.golang.org/grpc && make deps && make testdeps) |
|
|
|
|
|
|
|
|
|
# copy service account keys if available |
|
|
|
|
cp -r /var/local/jenkins/service_account $HOME || true |
|
|
|
|
|
|
|
|
|