aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/gce
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2018-10-11 12:58:17 +0200
committerGravatar Jan Tattermusch <jtattermusch@google.com>2018-10-12 12:26:02 +0200
commit88d809ebbb3eb2763b2113e615749e059380708a (patch)
tree8dd5ae462831c20d328bd2160b0b9eac941f3076 /tools/gce
parentb3ee59a4864903476c0805cfb2d860a501463640 (diff)
install gsutil, comment psutil
Diffstat (limited to 'tools/gce')
-rwxr-xr-xtools/gce/linux_kokoro_performance_worker_init.sh12
1 files changed, 10 insertions, 2 deletions
diff --git a/tools/gce/linux_kokoro_performance_worker_init.sh b/tools/gce/linux_kokoro_performance_worker_init.sh
index f1c4b76779..a914ff1e7f 100755
--- a/tools/gce/linux_kokoro_performance_worker_init.sh
+++ b/tools/gce/linux_kokoro_performance_worker_init.sh
@@ -71,6 +71,9 @@ sudo apt-get install -y netperf
# required to run kokoro_log_reader.py
sudo apt-get install -y python-psutil python3-psutil
+# gcloud tools, including gsutil
+sudo apt-get install -y google-cloud-sdk
+
# C++ dependencies
sudo apt-get install -y libgflags-dev libgtest-dev libc++-dev clang
@@ -95,8 +98,13 @@ rm Python-3.4.6.tgz
curl -O https://bootstrap.pypa.io/get-pip.py
sudo pypy get-pip.py
sudo pypy -m pip install tabulate
-# TODO(jtattermusch): make it clear this already uses pypy's pip
-sudo pip install google-api-python-client
+sudo pypy -m pip install google-api-python-client
+
+# TODO(jtattermusch): for some reason, we need psutil installed
+# in pypy for kokoro_log_reader.py (strange, because the comand is
+# "python kokoro_log_reader.py" and pypy is not the system default)
+sudo apt-get install -y pypy-dev
+sudo pypy -m pip install psutil
# Node dependencies (nvm has to be installed under user kbuilder)
touch .profile