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
555c16a3
Commit
555c16a3
authored
9 years ago
by
Donna Dionne
Browse files
Options
Downloads
Patches
Plain Diff
Adding csharp_dotnet into cloud suite of tests
Currently the build is manual but will be automated over time
parent
faafb38d
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/cloud_prod_runner.sh
+13
-3
13 additions, 3 deletions
tools/gce_setup/cloud_prod_runner.sh
with
13 additions
and
3 deletions
tools/gce_setup/cloud_prod_runner.sh
+
13
−
3
View file @
555c16a3
...
@@ -36,13 +36,18 @@ main() {
...
@@ -36,13 +36,18 @@ main() {
source
grpc_docker.sh
source
grpc_docker.sh
test_cases
=(
large_unary empty_unary ping_pong client_streaming server_streaming cancel_after_begin cancel_after_first_response
)
test_cases
=(
large_unary empty_unary ping_pong client_streaming server_streaming cancel_after_begin cancel_after_first_response
)
auth_test_cases
=(
service_account_creds compute_engine_creds jwt_token_creds
)
auth_test_cases
=(
service_account_creds compute_engine_creds jwt_token_creds
)
clients
=(
cxx java go ruby node csharp_mono python php
)
clients
=(
cxx java go ruby node csharp_mono
csharp_dotnet
python php
)
for
test_case
in
"
${
test_cases
[@]
}
"
for
test_case
in
"
${
test_cases
[@]
}
"
do
do
for
client
in
"
${
clients
[@]
}
"
for
client
in
"
${
clients
[@]
}
"
do
do
client_vm
=
"grpc-docker-testclients"
if
[
"
$client
"
=
"csharp_dotnet"
]
then
client_vm
=
"grpc-windows-interop1"
fi
log_file_name
=
cloud_
{
$test_case
}
_
{
$client
}
.txt
log_file_name
=
cloud_
{
$test_case
}
_
{
$client
}
.txt
if
grpc_cloud_prod_test
$test_case
grpc-docker-test
client
s
$client
>
/tmp/
$log_file_name
2>&1
if
grpc_cloud_prod_test
$test_case
$
client
_vm
$client
>
/tmp/
$log_file_name
2>&1
then
then
echo
" ['
$test_case
', '
$client
', 'prod', true, '<a href="
$log_link
/
$log_file_name
">log</a>'],"
>>
/tmp/cloud_prod_result.txt
echo
" ['
$test_case
', '
$client
', 'prod', true, '<a href="
$log_link
/
$log_file_name
">log</a>'],"
>>
/tmp/cloud_prod_result.txt
else
else
...
@@ -56,8 +61,13 @@ main() {
...
@@ -56,8 +61,13 @@ main() {
do
do
for
client
in
"
${
clients
[@]
}
"
for
client
in
"
${
clients
[@]
}
"
do
do
client_vm
=
"grpc-docker-testclients"
if
[
"
$client
"
=
"csharp_dotnet"
]
then
client_vm
=
"grpc-windows-interop1"
fi
log_file_name
=
cloud_
{
$test_case
}
_
{
$client
}
.txt
log_file_name
=
cloud_
{
$test_case
}
_
{
$client
}
.txt
if
grpc_cloud_prod_auth_test
$test_case
grpc-docker-test
client
s
$client
>
/tmp/
$log_file_name
2>&1
if
grpc_cloud_prod_auth_test
$test_case
$
client
_vm
$client
>
/tmp/
$log_file_name
2>&1
then
then
echo
" ['
$test_case
', '
$client
', 'prod', true, '<a href="
$log_link
/
$log_file_name
">log</a>'],"
>>
/tmp/cloud_prod_result.txt
echo
" ['
$test_case
', '
$client
', 'prod', true, '<a href="
$log_link
/
$log_file_name
">log</a>'],"
>>
/tmp/cloud_prod_result.txt
else
else
...
...
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