Merge pull request #6511 from jtattermusch/update_perf_scripts

Update script to create a perf worker.
pull/6477/head
Jan Tattermusch 9 years ago
commit 58bfaf2d04
  1. 5
      tools/gce/create_linux_performance_worker.sh
  2. 4
      tools/gce/linux_performance_worker_init.sh

@ -42,14 +42,15 @@ CLOUD_PROJECT=grpc-testing
ZONE=us-central1-b # this zone allows 32core machines
INSTANCE_NAME="${1:-grpc-performance-server1}"
MACHINE_TYPE=n1-standard-32
MACHINE_TYPE=n1-standard-8
gcloud compute instances create $INSTANCE_NAME \
--project="$CLOUD_PROJECT" \
--zone "$ZONE" \
--machine-type $MACHINE_TYPE \
--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.'
sleep 60

@ -94,6 +94,7 @@ sudo pip install tox
# Node dependencies (nvm has to be installed under user jenkins)
touch .profile
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 4 && npm config set cache /tmp/npm-cache
nvm install 5 && npm config set cache /tmp/npm-cache
@ -115,3 +116,6 @@ source ~/.rvm/scripts/rvm
gem install bundler
# Java dependencies - nothing as we already have Java JDK 8
# Go dependencies
sudo apt-get install -y golang-go

Loading…
Cancel
Save