diff options
author | Matt Kwong <mattkwong@google.com> | 2017-05-03 16:00:01 -0700 |
---|---|---|
committer | Matt Kwong <mattkwong@google.com> | 2017-05-09 08:42:25 -0700 |
commit | 112cf66cdd3aa983e116c2f950eaa91d722951b4 (patch) | |
tree | 28db584a8ff910993b621d816356610e81c544b9 /tools/gce | |
parent | 52ff986f941561148407e72347b2725c3d084322 (diff) |
Update VM creation script to install GCP Python library
Diffstat (limited to 'tools/gce')
-rwxr-xr-x | tools/gce/linux_worker_init.sh | 4 |
1 files changed, 4 insertions, 0 deletions
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 |