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
15d2979b
Commit
15d2979b
authored
8 years ago
by
Jan Tattermusch
Browse files
Options
Downloads
Patches
Plain Diff
update_perf_scripts
parent
794834f5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tools/gce/create_linux_performance_worker.sh
+3
-2
3 additions, 2 deletions
tools/gce/create_linux_performance_worker.sh
tools/gce/linux_performance_worker_init.sh
+1
-0
1 addition, 0 deletions
tools/gce/linux_performance_worker_init.sh
with
4 additions
and
2 deletions
tools/gce/create_linux_performance_worker.sh
+
3
−
2
View file @
15d2979b
...
@@ -42,14 +42,15 @@ CLOUD_PROJECT=grpc-testing
...
@@ -42,14 +42,15 @@ CLOUD_PROJECT=grpc-testing
ZONE
=
us-central1-b
# this zone allows 32core machines
ZONE
=
us-central1-b
# this zone allows 32core machines
INSTANCE_NAME
=
"
${
1
:-
grpc
-performance-server1
}
"
INSTANCE_NAME
=
"
${
1
:-
grpc
-performance-server1
}
"
MACHINE_TYPE
=
n1-standard-
32
MACHINE_TYPE
=
n1-standard-
8
gcloud compute instances create
$INSTANCE_NAME
\
gcloud compute instances create
$INSTANCE_NAME
\
--project
=
"
$CLOUD_PROJECT
"
\
--project
=
"
$CLOUD_PROJECT
"
\
--zone
"
$ZONE
"
\
--zone
"
$ZONE
"
\
--machine-type
$MACHINE_TYPE
\
--machine-type
$MACHINE_TYPE
\
--image
ubuntu-15-10
\
--image
ubuntu-15-10
\
--boot-disk-size
300
--boot-disk-size
300
\
--scope
https://www.googleapis.com/auth/bigquery
echo
'Created GCE instance, waiting 60 seconds for it to come online.'
echo
'Created GCE instance, waiting 60 seconds for it to come online.'
sleep
60
sleep
60
...
...
This diff is collapsed.
Click to expand it.
tools/gce/linux_performance_worker_init.sh
+
1
−
0
View file @
15d2979b
...
@@ -94,6 +94,7 @@ sudo pip install tox
...
@@ -94,6 +94,7 @@ sudo pip install tox
# Node dependencies (nvm has to be installed under user jenkins)
# Node dependencies (nvm has to be installed under user jenkins)
touch
.profile
touch
.profile
curl
-o-
https://raw.githubusercontent.com/creationix/nvm/v0.25.4/install.sh | bash
curl
-o-
https://raw.githubusercontent.com/creationix/nvm/v0.25.4/install.sh | bash
source
~/.nvm/nvm.sh
nvm
install
0.12
&&
npm config
set
cache /tmp/npm-cache
nvm
install
0.12
&&
npm config
set
cache /tmp/npm-cache
nvm
install
4
&&
npm config
set
cache /tmp/npm-cache
nvm
install
4
&&
npm config
set
cache /tmp/npm-cache
nvm
install
5
&&
npm config
set
cache /tmp/npm-cache
nvm
install
5
&&
npm config
set
cache /tmp/npm-cache
...
...
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