فهرست منبع

make the image kokoro compatible

Jan Tattermusch 7 سال پیش
والد
کامیت
5f5d696b8a
1فایلهای تغییر یافته به همراه6 افزوده شده و 0 حذف شده
  1. 6 0
      tools/gce/linux_kokoro_performance_worker_init.sh

+ 6 - 0
tools/gce/linux_kokoro_performance_worker_init.sh

@@ -187,6 +187,12 @@ sudo apt-get install -y python-scipy python-numpy
 # shellcheck disable=SC2024
 # shellcheck disable=SC2024
 sudo tee --append ~kbuilder/.ssh/authorized_keys < kokoro_performance.pub
 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
 # Restart for VM to pick up kernel update
 echo 'Successfully initialized the linux worker, going for reboot in 10 seconds'
 echo 'Successfully initialized the linux worker, going for reboot in 10 seconds'
 sleep 10
 sleep 10