diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2018-10-10 12:17:43 +0200 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2018-10-12 12:26:02 +0200 |
commit | 5f5d696b8ab7bb0a2d234d3378bdf50f62aa84ab (patch) | |
tree | 8852c7c6f1c0a4044c0c42c67aee3045dbdd8328 /tools/gce | |
parent | 0c1a76ec5242c11793c4c6b7278febf53a86c936 (diff) |
make the image kokoro compatible
Diffstat (limited to 'tools/gce')
-rwxr-xr-x | tools/gce/linux_kokoro_performance_worker_init.sh | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/gce/linux_kokoro_performance_worker_init.sh b/tools/gce/linux_kokoro_performance_worker_init.sh index 308abbbb80..f876156e48 100755 --- a/tools/gce/linux_kokoro_performance_worker_init.sh +++ b/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 |