You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by ka...@apache.org on 2018/06/23 00:33:50 UTC
[incubator-heron] branch master updated: Upgrade to Bazel 0.14.1
(#2932)
This is an automated email from the ASF dual-hosted git repository.
karthikz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git
The following commit(s) were added to refs/heads/master by this push:
new d7c8c62 Upgrade to Bazel 0.14.1 (#2932)
d7c8c62 is described below
commit d7c8c62f05e7c14daf78d200129ad17f6d3fe970
Author: Oliver Bristow <ev...@gmail.com>
AuthorDate: Sat Jun 23 01:33:47 2018 +0100
Upgrade to Bazel 0.14.1 (#2932)
---
.travis.yml | 6 +++---
docker/compile/Dockerfile.centos7 | 2 +-
docker/compile/Dockerfile.debian8 | 2 +-
docker/compile/Dockerfile.ubuntu14.04 | 2 +-
docker/compile/Dockerfile.ubuntu15.10 | 2 +-
docker/compile/Dockerfile.ubuntu16.04 | 2 +-
vagrant/init.sh | 2 +-
website/config.yaml | 2 +-
website/content/docs/developers/compiling/docker.md | 2 +-
website/content/docs/developers/compiling/linux.md | 4 ++--
10 files changed, 13 insertions(+), 13 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 51ee089..065aa74 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 65d7abe..f7176a0 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 453ccaf..cfb74af 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 24a6bb3..c0b6aa5 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 58ea71a..ee9fa2f 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 97c1a24..ade285c 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 1906032..504ec65 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 b73dd7c..600874f 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 2e11da2..4ac32e8 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 e57f618..37e4e7e 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
```