kramasamy closed pull request #2932: Upgrade to Bazel 0.14.1 URL: https://github.com/apache/incubator-heron/pull/2932
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/.travis.yml b/.travis.yml index 51ee0896a0..065aa74929 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,9 +28,9 @@ env: before_install: # download and install bazel - - wget -q 'https://github.com/bazelbuild/bazel/releases/download/0.9.0/bazel-0.9.0-installer-linux-x86_64.sh' - - chmod +x bazel-0.9.0-installer-linux-x86_64.sh - - ./bazel-0.9.0-installer-linux-x86_64.sh --user + - wget -q 'https://github.com/bazelbuild/bazel/releases/download/0.14.1/bazel-0.14.1-installer-linux-x86_64.sh' + - chmod +x bazel-0.14.1-installer-linux-x86_64.sh + - ./bazel-0.14.1-installer-linux-x86_64.sh --user before_script: # install python module for wheel files diff --git a/docker/compile/Dockerfile.centos7 b/docker/compile/Dockerfile.centos7 index 65d7abea13..f7176a0f17 100644 --- a/docker/compile/Dockerfile.centos7 +++ b/docker/compile/Dockerfile.centos7 @@ -2,7 +2,7 @@ FROM centos:centos7 # This is passed to the heron build command via the --config flag ENV TARGET_PLATFORM centos -ENV bazelVersion 0.9.0 +ENV bazelVersion 0.14.1 RUN yum -y upgrade RUN yum -y install \ diff --git a/docker/compile/Dockerfile.debian8 b/docker/compile/Dockerfile.debian8 index 453ccaf38a..cfb74af70e 100644 --- a/docker/compile/Dockerfile.debian8 +++ b/docker/compile/Dockerfile.debian8 @@ -2,7 +2,7 @@ FROM openjdk:8-jdk-slim # This is passed to the heron build command via the --config flag ENV TARGET_PLATFORM debian -ENV bazelVersion 0.9.0 +ENV bazelVersion 0.14.1 RUN apt-get update && apt-get -y install \ automake \ diff --git a/docker/compile/Dockerfile.ubuntu14.04 b/docker/compile/Dockerfile.ubuntu14.04 index 24a6bb38dc..c0b6aa50f2 100644 --- a/docker/compile/Dockerfile.ubuntu14.04 +++ b/docker/compile/Dockerfile.ubuntu14.04 @@ -2,7 +2,7 @@ FROM ubuntu:14.04 # This is passed to the heron build command via the --config flag ENV TARGET_PLATFORM ubuntu -ENV bazelVersion 0.9.0 +ENV bazelVersion 0.14.1 RUN apt-get update && apt-get -y install \ automake \ diff --git a/docker/compile/Dockerfile.ubuntu15.10 b/docker/compile/Dockerfile.ubuntu15.10 index 58ea71a557..ee9fa2f2d7 100644 --- a/docker/compile/Dockerfile.ubuntu15.10 +++ b/docker/compile/Dockerfile.ubuntu15.10 @@ -2,7 +2,7 @@ FROM ubuntu:15.10 # This is passed to the heron build command via the --config flag ENV TARGET_PLATFORM ubuntu -ENV bazelVersion 0.9.0 +ENV bazelVersion 0.14.1 RUN apt-get update && apt-get -y install \ automake \ diff --git a/docker/compile/Dockerfile.ubuntu16.04 b/docker/compile/Dockerfile.ubuntu16.04 index 97c1a24a32..ade285c19d 100644 --- a/docker/compile/Dockerfile.ubuntu16.04 +++ b/docker/compile/Dockerfile.ubuntu16.04 @@ -2,7 +2,7 @@ FROM ubuntu:16.04 # This is passed to the heron build command via the --config flag ENV TARGET_PLATFORM ubuntu -ENV bazelVersion 0.9.0 +ENV bazelVersion 0.14.1 RUN apt-get update && apt-get -y install \ automake \ diff --git a/vagrant/init.sh b/vagrant/init.sh index 190603203e..504ec652e6 100644 --- a/vagrant/init.sh +++ b/vagrant/init.sh @@ -55,7 +55,7 @@ install_jdk8() { apt-get -y install oracle-java8-installer oracle-java8-set-default vim wget screen git } -bazelVersion=0.2.3 +bazelVersion=0.14.1 bazel_install() { install_jdk8 apt-get install -y g++ automake cmake gcc-4.8 g++-4.8 zlib1g-dev zip pkg-config wget libssl-dev diff --git a/website/config.yaml b/website/config.yaml index b73dd7c764..600874fb69 100755 --- a/website/config.yaml +++ b/website/config.yaml @@ -37,7 +37,7 @@ params: description: A realtime, distributed, fault-tolerant stream processing engine from Twitter versions: heron: 0.17.5 - bazel: 0.5.4 + bazel: 0.14.1 heronpy: 0.17.5 assets: favicon: diff --git a/website/content/docs/developers/compiling/docker.md b/website/content/docs/developers/compiling/docker.md index 2e11da23ff..4ac32e8bd8 100644 --- a/website/content/docs/developers/compiling/docker.md +++ b/website/content/docs/developers/compiling/docker.md @@ -172,7 +172,7 @@ ENV JAVA_HOME /usr/lib/jvm/java-8-oracle Here's an example: ```dockerfile -RUN wget -O /tmp/bazel.sh https://github.com/bazelbuild/bazel/releases/download/0.5.4/bazel-0.5.4-installer-linux-x86_64.sh \ +RUN wget -O /tmp/bazel.sh https://github.com/bazelbuild/bazel/releases/download/0.14.1/bazel-0.14.1-installer-linux-x86_64.sh \ && chmod +x /tmp/bazel.sh \ && /tmp/bazel.sh ``` diff --git a/website/content/docs/developers/compiling/linux.md b/website/content/docs/developers/compiling/linux.md index e57f61894c..37e4e7e6e3 100644 --- a/website/content/docs/developers/compiling/linux.md +++ b/website/content/docs/developers/compiling/linux.md @@ -44,7 +44,7 @@ $ export JAVA_HOME="/usr/lib/jvm/java-8-oracle" #### Step 5 - Install Bazel {{% bazelVersion %}} ```bash -wget -O /tmp/bazel.sh https://github.com/bazelbuild/bazel/releases/download/0.5.4/bazel-0.5.4-installer-linux-x86_64.sh +wget -O /tmp/bazel.sh https://github.com/bazelbuild/bazel/releases/download/0.14.1/bazel-0.14.1-installer-linux-x86_64.sh chmod +x /tmp/bazel.sh /tmp/bazel.sh --user ``` @@ -195,7 +195,7 @@ export PATH=$PATH:/opt/jdk1.8.0_91/bin:/opt/jdk1.8.0_91/jre/bin #### Step 5 - Install Bazel {{% bazelVersion %}} ```bash -wget -O /tmp/bazel.sh https://github.com/bazelbuild/bazel/releases/download/0.5.4/bazel-0.5.4-installer-linux-x86_64.sh +wget -O /tmp/bazel.sh https://github.com/bazelbuild/bazel/releases/download/0.14.1/bazel-0.14.1-installer-linux-x86_64.sh chmod +x /tmp/bazel.sh /tmp/bazel.sh --user ``` ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
