aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Masood Malekghassemi <soltanmm@users.noreply.github.com>2015-04-14 15:16:31 -0700
committerGravatar Masood Malekghassemi <soltanmm@users.noreply.github.com>2015-04-14 15:16:31 -0700
commitb553476be70475dc96f4684b05db3957a6f6e54f (patch)
tree75789e67fc3c8dd59aa7cedfcddc2b84c70d6670 /tools
parent650cb25610e87abc2be82d5126be8a963ab72aba (diff)
Add Python cloud prod gen interop command
Diffstat (limited to 'tools')
-rwxr-xr-xtools/gce_setup/grpc_docker.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/gce_setup/grpc_docker.sh b/tools/gce_setup/grpc_docker.sh
index e6e63c607c..d142432ef4 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: