aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/gce/linux_performance_worker_init.sh
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-04-04 23:27:30 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-04-04 23:27:30 -0700
commit01dcc494497d27b902b4800cb3cb811df5323d71 (patch)
tree8ce82f2c34f9dd5c359a454ee7ea072f19f9ea59 /tools/gce/linux_performance_worker_init.sh
parent131b6deb5cddcc6c8ae5f9684418eee29bb43664 (diff)
parent75dbc1eb67f4864b04b641b3f6766855cbeecbcf (diff)
Merge branch 'ignore_connectivity' of github.com:ctiller/grpc into ignore_connectivity
Diffstat (limited to 'tools/gce/linux_performance_worker_init.sh')
-rwxr-xr-xtools/gce/linux_performance_worker_init.sh11
1 files changed, 5 insertions, 6 deletions
diff --git a/tools/gce/linux_performance_worker_init.sh b/tools/gce/linux_performance_worker_init.sh
index fe4d77fb2c..c7272b61a5 100755
--- a/tools/gce/linux_performance_worker_init.sh
+++ b/tools/gce/linux_performance_worker_init.sh
@@ -36,13 +36,10 @@ set -ex
sudo apt-get update
-# Install JRE
-sudo apt-get install -y openjdk-7-jre
+# Install Java 8 JDK (to build gRPC Java)
+sudo apt-get install -y openjdk-8-jdk
sudo apt-get install -y unzip lsof
-# Setup jenkins user (or the user will already exist bcuz magic)
-sudo adduser jenkins --disabled-password || true
-
# Add pubkey of jenkins@grpc-jenkins-master to authorized keys of jenkins@
# This needs to happen as the last step to prevent Jenkins master from connecting
# to a machine that hasn't been properly setup yet.
@@ -89,7 +86,7 @@ curl -O https://bootstrap.pypa.io/get-pip.py
sudo pypy get-pip.py
sudo pypy -m pip install tabulate
-# Node dependences.
+# Node dependencies (nvm has to be installed under user jenkins)
touch .profile
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.25.4/install.sh | bash
nvm install 0.12 && npm config set cache /tmp/npm-cache
@@ -104,3 +101,5 @@ sudo apt-get install -y mono-devel nuget
# Ruby dependencies
gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3
curl -sSL https://get.rvm.io | bash -s stable --ruby
+
+# Java dependencies - nothing as we already have Java JDK 8