Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
G
Grpc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
tci-gateway-module
Grpc
Commits
e9b549fb
Commit
e9b549fb
authored
9 years ago
by
Jan Tattermusch
Browse files
Options
Downloads
Patches
Plain Diff
adding auth interop tests for C# to grpc_docker.sh
parent
64a6eed5
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/gce_setup/grpc_docker.sh
+32
-0
32 additions, 0 deletions
tools/gce_setup/grpc_docker.sh
with
32 additions
and
0 deletions
tools/gce_setup/grpc_docker.sh
+
32
−
0
View file @
e9b549fb
...
@@ -1401,6 +1401,38 @@ grpc_cloud_prod_gen_csharp_mono_cmd() {
...
@@ -1401,6 +1401,38 @@ grpc_cloud_prod_gen_csharp_mono_cmd() {
echo
$the_cmd
echo
$the_cmd
}
}
# constructs the full dockerized csharp-mono service_account auth interop test cmd.
#
# call-seq:
# flags= .... # generic flags to include the command
# cmd=$($grpc_gen_test_cmd $flags)
grpc_cloud_prod_auth_service_account_creds_gen_csharp_mono_cmd
()
{
local
workdir_flag
=
"-w /var/local/git/grpc/src/csharp/Grpc.IntegrationTesting.Client/bin/Debug"
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
$workdir_flag
$env_flag
grpc/csharp_mono"
;
local
test_script
=
"mono Grpc.IntegrationTesting.Client.exe --use_tls=true"
;
local
gfe_flags
=
$(
_grpc_prod_gfe_flags
)
;
local
the_cmd
=
"
$cmd_prefix
$test_script
$gfe_flags
$@
"
;
echo
$the_cmd
}
# constructs the full dockerized csharp-mono 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_csharp_mono_cmd
()
{
local
workdir_flag
=
"-w /var/local/git/grpc/src/csharp/Grpc.IntegrationTesting.Client/bin/Debug"
local
env_flag
=
"-e SSL_CERT_FILE=/cacerts/roots.pem "
local
cmd_prefix
=
"sudo docker run
$workdir_flag
$env_flag
grpc/csharp_mono"
;
local
test_script
=
"mono Grpc.IntegrationTesting.Client.exe --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
}
# outputs the flags passed to gfe tests
# outputs the flags passed to gfe tests
_grpc_prod_gfe_flags
()
{
_grpc_prod_gfe_flags
()
{
echo
" --server_port=443 --server_host=grpc-test.sandbox.google.com --server_host_override=grpc-test.sandbox.google.com"
echo
" --server_port=443 --server_host=grpc-test.sandbox.google.com --server_host_override=grpc-test.sandbox.google.com"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment