aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/gce_setup
diff options
context:
space:
mode:
authorGravatar Donna Dionne <donnadionne@google.com>2015-01-27 19:23:21 -0800
committerGravatar Donna Dionne <donnadionne@google.com>2015-01-27 19:23:21 -0800
commit662cf72eb990ec6a6b36a29e0e57695dce001a03 (patch)
tree084be5092187f8838830942aae2624fc218d595c /tools/gce_setup
parent79d9a990ff89fd12821a2c88631e194c8da4342d (diff)
adding cloud to prod test for go.
Diffstat (limited to 'tools/gce_setup')
-rwxr-xr-xtools/gce_setup/grpc_docker.sh14
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: