diff options
author | Qi Zhao <toqizhao@gmail.com> | 2015-01-27 22:55:40 -0800 |
---|---|---|
committer | Qi Zhao <toqizhao@gmail.com> | 2015-01-27 22:55:40 -0800 |
commit | 7f791669df8a7728bc5aa3c52246a15d7aebe370 (patch) | |
tree | bced04c0ae2893a53a738625c454a59180fb7f49 | |
parent | f6f3ea91996a30e28cca35391b4d47851b79a21c (diff) | |
parent | 662cf72eb990ec6a6b36a29e0e57695dce001a03 (diff) |
Merge pull request #256 from donnadionne/docker
adding cloud to prod test for go.
-rwxr-xr-x | tools/gce_setup/grpc_docker.sh | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/gce_setup/grpc_docker.sh b/tools/gce_setup/grpc_docker.sh index 16d6ef40e3..6bb73269ae 100755 --- a/tools/gce_setup/grpc_docker.sh +++ b/tools/gce_setup/grpc_docker.sh @@ -757,6 +757,20 @@ grpc_interop_gen_go_cmd() { echo $the_cmd } +# constructs the full dockerized Go interop test cmd. +# +# call-seq: +# flags= .... # generic flags to include the command +# cmd=$($grpc_gen_test_cmd $flags) +grpc_cloud_prod_gen_go_cmd() { + local cmd_prefix="sudo docker run grpc/go /bin/bash -c" + local test_script="cd /go/src/github.com/google/grpc-go/rpc/interop/client" + local test_script+=" && go run client.go --use_tls=true" + local gfe_flags=" --tls_ca_file=\"\" --tls_server_name=\"\" --server_port=443 --server_host=grpc-test.sandbox.google.com" + local the_cmd="$cmd_prefix '$test_script $gfe_flags $@'" + echo $the_cmd +} + # constructs the full dockerized java interop test cmd. # # call-seq: |