aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar donnadionne <donnadionne2011@gmail.com>2015-04-14 15:38:32 -0700
committerGravatar donnadionne <donnadionne2011@gmail.com>2015-04-14 15:38:32 -0700
commitdedb5dc8ed8debc3e8e8b73a56fed0e6a7277504 (patch)
treedb6c88563100f68a300db9c48fe02274f538d935 /tools
parent97a76f278de1d40cc874a58d7032a35324edd585 (diff)
parentb553476be70475dc96f4684b05db3957a6f6e54f (diff)
Merge pull request #1278 from soltanmm/interop
Python cloud prod interop gen command
Diffstat (limited to 'tools')
-rwxr-xr-xtools/gce_setup/grpc_docker.sh15
1 files changed, 14 insertions, 1 deletions
diff --git a/tools/gce_setup/grpc_docker.sh b/tools/gce_setup/grpc_docker.sh
index c68903b816..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:
@@ -1070,7 +1083,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