aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Michael Lumish <mlumish@google.com>2015-02-27 16:26:49 -0800
committerGravatar Michael Lumish <mlumish@google.com>2015-02-27 16:26:49 -0800
commit41d524682d7e6b0a25f0f969c3af82fedd8fe86a (patch)
tree76c4b365540a7aca490a71714ecf8a1935f79738 /tools
parent26cbd1a003906db1f0fbff2f7e5477ddbaaf3e47 (diff)
parentb47b89cedb40fd690529af59fc136998af7e430e (diff)
Merge pull request #884 from donnadionne/auth-node-test
Auth node test
Diffstat (limited to 'tools')
-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 df8605b58f..02039261a3 100755
--- a/tools/gce_setup/grpc_docker.sh
+++ b/tools/gce_setup/grpc_docker.sh
@@ -1094,6 +1094,21 @@ grpc_cloud_prod_auth_service_account_creds_gen_node_cmd() {
echo $the_cmd
}
+# constructs the full dockerized node gce auth interop test cmd.
+#
+# call-seq:
+# flags= .... # generic flags to include the command
+# cmd=$($grpc_gen_test_cmd $flags)
+grpc_cloud_prod_auth_compute_engine_creds_gen_node_cmd() {
+ local env_flag="-e SSL_CERT_FILE=/cacerts/roots.pem "
+ local cmd_prefix="sudo docker run $env_flag grpc/node";
+ local test_script="/usr/bin/nodejs /var/local/git/grpc/src/node/interop/interop_client.js --use_tls=true";
+ local gfe_flags=$(_grpc_prod_gfe_flags)
+ local added_gfe_flags=$(_grpc_gce_test_flags)
+ local the_cmd="$cmd_prefix $test_script $gfe_flags $added_gfe_flags $@";
+ echo $the_cmd
+}
+
# constructs the full dockerized cpp interop test cmd.
#
# call-seq: