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
bf094289
Commit
bf094289
authored
9 years ago
by
Jan Tattermusch
Browse files
Options
Downloads
Patches
Plain Diff
grpc_docker.sh support for running C# server on Windows
parent
5a8b87c5
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tools/gce_setup/grpc_docker.sh
+19
-0
19 additions, 0 deletions
tools/gce_setup/grpc_docker.sh
with
19 additions
and
0 deletions
tools/gce_setup/grpc_docker.sh
+
19
−
0
View file @
bf094289
...
...
@@ -428,6 +428,7 @@ grpc_interop_test_args() {
python
)
grpc_port
=
8050
;;
ruby
)
grpc_port
=
8060
;;
csharp_mono
)
grpc_port
=
8070
;;
csharp_dotnet
)
grpc_port
=
8070
;;
*
)
echo
"bad server_type:
$1
"
1>&2
;
return
1
;;
esac
shift
...
...
@@ -870,6 +871,23 @@ grpc_launch_servers() {
done
}
# Launch servers on windows.
grpc_launch_windows_servers
()
{
local
host
=
'jtattermusch-interop-windows2'
local
killcmd
=
"ps -e | grep Grpc.IntegrationTesting | awk '{print
\\\$
1}' | xargs kill -9"
echo
"killing all servers and clients on
$host
with command
$killcmd
"
gcloud compute
$project_opt
ssh
$zone_opt
stoked-keyword-656@grpc-windows-proxy
--command
"ssh
$host
\"
$killcmd
\"
"
local
cmd
=
'cd /cygdrive/c/github/grpc/src/csharp/Grpc.IntegrationTesting.Server/bin/Debug && ./Grpc.IntegrationTesting.Server.exe --use_tls=true --port=8070'
# gcloud's auto-uploading of RSA keys doesn't work for Windows VMs.
# So we have a linux machine that is authorized to access the Windows
# machine through ssh and we use gcloud auth support to logon to the proxy.
echo
"will run:"
echo
"
$cmd
"
echo
"on
$host
(through grpc-windows-proxy)"
gcloud compute
$project_opt
ssh
$zone_opt
stoked-keyword-656@grpc-windows-proxy
--command
"ssh
$host
'
$cmd
'"
}
# Runs a test command on a docker instance
#
# The test command is issued via gcloud compute
...
...
@@ -949,6 +967,7 @@ test_runner() {
# node: 8040
# python: 8050
# ruby: 8060
# csharp: 8070
#
# each client_type should have an associated bash func:
# grpc_interop_gen_<client_type>_cmd
...
...
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