Merge pull request #17928 from jtattermusch/kokoro_v4_perf_image

grpc-performance-kokoro-v4 kokoro perf image changes
pull/17888/head^2
Jan Tattermusch 6 years ago committed by GitHub
commit e3f37b7f43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      tools/gce/create_linux_kokoro_performance_worker_from_image.sh
  2. 5
      tools/gce/linux_kokoro_performance_worker_init.sh

@ -22,7 +22,7 @@ cd "$(dirname "$0")"
CLOUD_PROJECT=grpc-testing
ZONE=us-central1-b # this zone allows 32core machines
LATEST_PERF_WORKER_IMAGE=grpc-performance-kokoro-v3 # update if newer image exists
LATEST_PERF_WORKER_IMAGE=grpc-performance-kokoro-v4 # update if newer image exists
INSTANCE_NAME="${1:-grpc-kokoro-performance-server}"
MACHINE_TYPE="${2:-n1-standard-32}"

@ -215,6 +215,11 @@ sudo mkdir /tmpfs
sudo chown kbuilder /tmpfs
touch /tmpfs/READY
# Disable automatic updates to prevent spurious apt-get install failures
# See https://github.com/grpc/grpc/issues/17794
sudo sed -i 's/APT::Periodic::Update-Package-Lists "1"/APT::Periodic::Update-Package-Lists "0"/' /etc/apt/apt.conf.d/10periodic
sudo sed -i 's/APT::Periodic::AutocleanInterval "1"/APT::Periodic::AutocleanInterval "0"/' /etc/apt/apt.conf.d/10periodic
# Restart for VM to pick up kernel update
echo 'Successfully initialized the linux worker, going for reboot in 10 seconds'
sleep 10

Loading…
Cancel
Save