That won't work properly. Falling back on fixing the list of dependencies.

This commit is contained in:
Nicolas "Pixel" Noble 2016-08-05 20:19:24 +02:00 committed by Jorge Canizales
parent e667fe19bf
commit 6fd8a7fa03
1 changed files with 10 additions and 1 deletions

View File

@ -31,13 +31,22 @@
# Builds Go interop server and client in a base image.
set -e
go get google.golang.org/grpc/interop
# Clone just the grpc-go source code without any dependencies.
# We are cloning from a local git repo that contains the right revision
# 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 dependencies from GitHub
# NOTE: once grpc-go dependencies change, this needs to be updated manually
# but we don't expect this to happen any time soon.
go get github.com/golang/protobuf/proto
go get golang.org/x/net/context
go get golang.org/x/net/trace
go get golang.org/x/oauth2
go get golang.org/x/oauth2/google
go get google.golang.org/cloud
# copy service account keys if available
cp -r /var/local/jenkins/service_account $HOME || true