That won't work properly. Falling back on fixing the list of dependencies.
This commit is contained in:
parent
e667fe19bf
commit
6fd8a7fa03
|
|
@ -31,13 +31,22 @@
|
||||||
# Builds Go interop server and client in a base image.
|
# Builds Go interop server and client in a base image.
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
go get google.golang.org/grpc/interop
|
|
||||||
|
|
||||||
# Clone just the grpc-go source code without any dependencies.
|
# Clone just the grpc-go source code without any dependencies.
|
||||||
# We are cloning from a local git repo that contains the right revision
|
# 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.
|
# 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
|
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
|
# copy service account keys if available
|
||||||
cp -r /var/local/jenkins/service_account $HOME || true
|
cp -r /var/local/jenkins/service_account $HOME || true
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue