Skip to content
Snippets Groups Projects
Commit 15d2979b authored by Jan Tattermusch's avatar Jan Tattermusch
Browse files

update_perf_scripts

parent 794834f5
No related branches found
No related tags found
No related merge requests found
...@@ -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
......
...@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment