Merge pull request #8222 from nicolasnoble/highmem-highroad

Changing Linux worker creation script.
reviewable/pr8125/r3^2
Craig Tiller 8 years ago committed by GitHub
commit ecc5a40bd3
  1. 2
      tools/gce/create_linux_worker.sh
  2. 8
      tools/gce/linux_worker_init.sh

@ -42,7 +42,7 @@ INSTANCE_NAME="${1:-grpc-jenkins-worker1}"
gcloud compute instances create $INSTANCE_NAME \
--project="$CLOUD_PROJECT" \
--zone "$ZONE" \
--machine-type n1-standard-8 \
--machine-type n1-highmem-8 \
--image=ubuntu-1510 \
--image-project=grpc-testing \
--boot-disk-size 1000

@ -34,6 +34,14 @@
set -ex
# Create some swap space
sudo dd if=/dev/zero of=/swap bs=1024 count=10485760
sudo chmod 600 /swap
sudo mkswap /swap
sudo sed -i '$ a\/swap none swap sw 0 0' /etc/fstab
sudo swapon -a
# Typical apt-get maintenance
sudo apt-get update
# Install JRE

Loading…
Cancel
Save