Skip to content
Snippets Groups Projects
Commit eb228c87 authored by Tim Emiola's avatar Tim Emiola
Browse files

Merge pull request #1596 from stanley-cheung/add_php_jwt_creds_command

add php jwt_token_creds test command
parents 820827e5 d3b1aa67
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment