aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Stanley Cheung <stanleycheung@google.com>2015-05-14 14:12:48 -0700
committerGravatar Stanley Cheung <stanleycheung@google.com>2015-05-14 14:13:10 -0700
commitd3b1aa67f29db78e083369b28a250da25face642 (patch)
tree86a68074374e965d6830f29f50393da1fc0dd162
parent96ea30362c24a8b722ef5020684e648521387f10 (diff)
add php jwt_token_creds test command
-rwxr-xr-xtools/gce_setup/grpc_docker.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/tools/gce_setup/grpc_docker.sh b/tools/gce_setup/grpc_docker.sh
index 4931a6d433..c9a825c3e9 100755
--- a/tools/gce_setup/grpc_docker.sh
+++ b/tools/gce_setup/grpc_docker.sh
@@ -1336,6 +1336,21 @@ grpc_cloud_prod_auth_compute_engine_creds_gen_php_cmd() {
echo $the_cmd
}
+# constructs the full dockerized php jwt_token_creds auth interop test cmd.
+#
+# call-seq:
+# flags= .... # generic flags to include the command
+# cmd=$($grpc_gen_test_cmd $flags)
+grpc_cloud_prod_auth_jwt_token_creds_gen_php_cmd() {
+ local env_flag="-e SSL_CERT_FILE=/cacerts/roots.pem "
+ env_flag+="-e GOOGLE_APPLICATION_CREDENTIALS=/service_account/stubbyCloudTestingTest-7dd63462c60c.json "
+ 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 node interop test cmd.
#
# call-seq: