From 650cb25610e87abc2be82d5126be8a963ab72aba Mon Sep 17 00:00:00 2001 From: Masood Malekghassemi Date: Tue, 14 Apr 2015 15:15:59 -0700 Subject: [PATCH 1/2] Fix documentation typo --- tools/gce_setup/grpc_docker.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/gce_setup/grpc_docker.sh b/tools/gce_setup/grpc_docker.sh index c68903b8164..e6e63c607cf 100755 --- a/tools/gce_setup/grpc_docker.sh +++ b/tools/gce_setup/grpc_docker.sh @@ -1070,7 +1070,7 @@ grpc_cloud_prod_auth_compute_engine_creds_gen_python_cmd() { echo $the_cmd } -# constructs the full dockerized java interop test cmd. +# constructs the full dockerized ruby interop test cmd. # # call-seq: # flags= .... # generic flags to include the command From b553476be70475dc96f4684b05db3957a6f6e54f Mon Sep 17 00:00:00 2001 From: Masood Malekghassemi Date: Tue, 14 Apr 2015 15:16:31 -0700 Subject: [PATCH 2/2] Add Python cloud prod gen interop command --- tools/gce_setup/grpc_docker.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/tools/gce_setup/grpc_docker.sh b/tools/gce_setup/grpc_docker.sh index e6e63c607cf..d142432ef4a 100755 --- a/tools/gce_setup/grpc_docker.sh +++ b/tools/gce_setup/grpc_docker.sh @@ -1041,6 +1041,19 @@ grpc_interop_gen_python_cmd() { echo $the_cmd } +# constructs the full dockerized python interop test cmd. +# +# call-seq: +# flags= .... # generic flags to include the command +# cmd=$($grpc_gen_test_cmd $flags) +grpc_cloud_prod_gen_python_cmd() { + local cmd_prefix="sudo docker run grpc/python bin/bash -l -c" + local gfe_flags=$(_grpc_prod_gfe_flags) + local env_prefix="SSL_CERT_FILE=/cacerts/roots.pem" + local the_cmd="$cmd_prefix '$env_prefix python -B -m interop.client --use_tls $gfe_flags $@'" + echo $the_cmd +} + # constructs the full dockerized python service_account auth interop test cmd. # # call-seq: