From 112cf66cdd3aa983e116c2f950eaa91d722951b4 Mon Sep 17 00:00:00 2001 From: Matt Kwong Date: Wed, 3 May 2017 16:00:01 -0700 Subject: Update VM creation script to install GCP Python library --- tools/gce/linux_worker_init.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tools/gce') diff --git a/tools/gce/linux_worker_init.sh b/tools/gce/linux_worker_init.sh index d552343bde..f795980aa8 100755 --- a/tools/gce/linux_worker_init.sh +++ b/tools/gce/linux_worker_init.sh @@ -61,6 +61,10 @@ sudo usermod -aG docker jenkins # see https://github.com/grpc/grpc/issues/4988 printf "{\n\t\"storage-driver\": \"overlay\"\n}" | sudo tee /etc/docker/daemon.json +# Install pip and Google API library to enable using GCP services +sudo apt-get install -y python-pip +sudo pip install google-api-python-client + # Install RVM # TODO(jtattermusch): why is RVM needed? gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 -- cgit v1.2.3