diff options
author | Donna Dionne <donnadionne@google.com> | 2015-05-06 13:19:55 -0700 |
---|---|---|
committer | Donna Dionne <donnadionne@google.com> | 2015-05-06 13:19:55 -0700 |
commit | 71cbac4b7fac7bc091e8d317049b849c9758d3e4 (patch) | |
tree | c3b580b2d00489443ba983a086e98d4c2abc8b9d /tools/gce_setup | |
parent | 5c1368e20050b56822ccdc9e4bc77aecd50caf1d (diff) | |
parent | 096528d604402f1324f6ef1aeb99f59836e6d8d9 (diff) |
Merge branch 'master' of github.com:google/grpc into test-log
Diffstat (limited to 'tools/gce_setup')
-rwxr-xr-x | tools/gce_setup/grpc_docker.sh | 14 |
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: |