make the image kokoro compatible

pull/16824/head
Jan Tattermusch 7 years ago
parent 0c1a76ec52
commit 5f5d696b8a
  1. 6
      tools/gce/linux_kokoro_performance_worker_init.sh

@ -187,6 +187,12 @@ sudo apt-get install -y python-scipy python-numpy
# shellcheck disable=SC2024
sudo tee --append ~kbuilder/.ssh/authorized_keys < kokoro_performance.pub
# Kokoro requires /tmpfs/READY file to exist the directory and file itself should
# be owned by kbuilder.
sudo mkdir /tmpfs
sudo chown kbuilder /tmpfs
touch /tmpfs/READY
# 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