Skip to content
This repository has been archived by the owner on Oct 4, 2021. It is now read-only.

Commit

Permalink
Merge pull request grpc#24871 from jtattermusch/backport_24831
Browse files Browse the repository at this point in the history
Backport grpc#24831 to v1.34.x (to fix interop tests build)
  • Loading branch information
yulin-liang authored Dec 1, 2020
2 parents e379161 + 4d01188 commit 64c6cfc
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 109 deletions.
6 changes: 3 additions & 3 deletions templates/tools/dockerfile/go_build_interop.sh.include
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
# Builds Go interop server and client in a base image.
set -e

# Turn on support for Go modules.
export GO111MODULE=on

# 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 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

Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

6 changes: 3 additions & 3 deletions tools/dockerfile/interoptest/grpc_interop_go/build_interop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
# Builds Go interop server and client in a base image.
set -e

# Turn on support for Go modules.
export GO111MODULE=on

# 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 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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
# Builds Go interop server and client in a base image.
set -e

# Turn on support for Go modules.
export GO111MODULE=on

# 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 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

Expand Down
37 changes: 0 additions & 37 deletions tools/dockerfile/interoptest/grpc_interop_go1.7/Dockerfile

This file was deleted.

33 changes: 0 additions & 33 deletions tools/dockerfile/interoptest/grpc_interop_go1.7/build_interop.sh

This file was deleted.

2 changes: 1 addition & 1 deletion tools/run_tests/run_interop_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ def server_cmd(self, args):
return ['go', 'run', 'server.go'] + args

def global_env(self):
return {}
return {'GO111MODULE': 'on'}

def unimplemented_test_cases(self):
return _SKIP_COMPRESSION
Expand Down

0 comments on commit 64c6cfc

Please sign in to comment.