aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar donnadionne <donnadionne2011@gmail.com>2015-05-06 09:38:38 -0700
committerGravatar donnadionne <donnadionne2011@gmail.com>2015-05-06 09:38:38 -0700
commit999971dbf78d182731c5fb0459260a3296069ded (patch)
treeb2eea4c24be2e009b7af55631bd1173201076dad /tools
parent0e17857ab50339f9724c75aa769eb3dee6c6667f (diff)
parentab4ad8590b45db6ad6dd96ef954e7e33861c712c (diff)
Merge pull request #1482 from stanley-cheung/php_cloud_prod_cmd
add command for the rest of PHP interop test
Diffstat (limited to 'tools')
-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 ecce0e2983..d3a7bdef28 100755
--- a/tools/gce_setup/grpc_docker.sh
+++ b/tools/gce_setup/grpc_docker.sh
@@ -1250,6 +1250,20 @@ grpc_interop_gen_php_cmd() {
echo $the_cmd
}
+# constructs the full dockerized php gce=>prod interop test cmd.
+#
+# call-seq:
+# flags= .... # generic flags to include the command
+# cmd=$($grpc_gen_test_cmd $flags)
+grpc_cloud_prod_gen_php_cmd() {
+ local env_flag="-e SSL_CERT_FILE=/cacerts/roots.pem "
+ local cmd_prefix="sudo docker run $env_flag grpc/php";
+ local test_script="/var/local/git/grpc/src/php/bin/interop_client.sh";
+ local gfe_flags=$(_grpc_prod_gfe_flags);
+ local the_cmd="$cmd_prefix $test_script $gfe_flags $@";
+ echo $the_cmd
+}
+
# constructs the full dockerized php service_account auth interop test cmd.
#
# call-seq: