You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by nw...@apache.org on 2019/03/21 22:58:09 UTC

[incubator-heron] branch master updated: Update script bazel version (#3221)

This is an automated email from the ASF dual-hosted git repository.

nwang 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 fa89a4a  Update script bazel version (#3221)
fa89a4a is described below

commit fa89a4ad38ebb12eac89c181093bd9d9cf0d7580
Author: se choi <th...@gmail.com>
AuthorDate: Fri Mar 22 07:58:04 2019 +0900

    Update script bazel version (#3221)
---
 docker/compile/Dockerfile.centos7                   | 2 +-
 docker/compile/Dockerfile.debian9                   | 2 +-
 docker/compile/Dockerfile.ubuntu14.04               | 2 +-
 docker/compile/Dockerfile.ubuntu16.04               | 2 +-
 docker/compile/Dockerfile.ubuntu18.04               | 2 +-
 scripts/ci/setup_bazel.sh                           | 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, 11 insertions(+), 11 deletions(-)

diff --git a/docker/compile/Dockerfile.centos7 b/docker/compile/Dockerfile.centos7
index 0883818..5b1f0aa 100644
--- a/docker/compile/Dockerfile.centos7
+++ b/docker/compile/Dockerfile.centos7
@@ -19,7 +19,7 @@ FROM centos:centos7
 
 # This is passed to the heron build command via the --config flag
 ENV TARGET_PLATFORM centos
-ENV bazelVersion 0.14.1
+ENV bazelVersion 0.23.2
 
 RUN yum -y upgrade
 RUN yum -y install \
diff --git a/docker/compile/Dockerfile.debian9 b/docker/compile/Dockerfile.debian9
index b66b51d..ba2ccc5 100644
--- a/docker/compile/Dockerfile.debian9
+++ b/docker/compile/Dockerfile.debian9
@@ -19,7 +19,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.14.1
+ENV bazelVersion 0.23.2
 
 RUN apt-get update && apt-get -y install \
       automake \
diff --git a/docker/compile/Dockerfile.ubuntu14.04 b/docker/compile/Dockerfile.ubuntu14.04
index e69eac7..b0554c5 100644
--- a/docker/compile/Dockerfile.ubuntu14.04
+++ b/docker/compile/Dockerfile.ubuntu14.04
@@ -19,7 +19,7 @@ FROM ubuntu:14.04
 
 # This is passed to the heron build command via the --config flag
 ENV TARGET_PLATFORM ubuntu
-ENV bazelVersion 0.14.1
+ENV bazelVersion 0.23.2
 
 RUN apt-get update && apt-get install -y software-properties-common
 
diff --git a/docker/compile/Dockerfile.ubuntu16.04 b/docker/compile/Dockerfile.ubuntu16.04
index fbf6072..4072729 100644
--- a/docker/compile/Dockerfile.ubuntu16.04
+++ b/docker/compile/Dockerfile.ubuntu16.04
@@ -19,7 +19,7 @@ FROM ubuntu:16.04
 
 # This is passed to the heron build command via the --config flag
 ENV TARGET_PLATFORM ubuntu
-ENV bazelVersion 0.14.1
+ENV bazelVersion 0.23.2
 
 RUN apt-get update && apt-get -y install \
       automake \
diff --git a/docker/compile/Dockerfile.ubuntu18.04 b/docker/compile/Dockerfile.ubuntu18.04
index 390ac45..744b25e 100644
--- a/docker/compile/Dockerfile.ubuntu18.04
+++ b/docker/compile/Dockerfile.ubuntu18.04
@@ -19,7 +19,7 @@ FROM ubuntu:18.04
 
 # This is passed to the heron build command via the --config flag
 ENV TARGET_PLATFORM ubuntu
-ENV bazelVersion 0.14.1
+ENV bazelVersion 0.23.2
 
 RUN apt-get update && apt-get -y install \
       g++ \
diff --git a/scripts/ci/setup_bazel.sh b/scripts/ci/setup_bazel.sh
index b38df20..31ad7d1 100644
--- a/scripts/ci/setup_bazel.sh
+++ b/scripts/ci/setup_bazel.sh
@@ -29,7 +29,7 @@ if [ "$#" -ne 1 ]; then
     exit 1
 fi
 BAZEL_OS=$1
-BAZEL_VERSION=0.14.1
+BAZEL_VERSION=0.23.2
 
 # Install Bazel
 BAZEL_INSTALLER=bazel-$BAZEL_VERSION-installer-$BAZEL_OS-x86_64.sh
diff --git a/vagrant/init.sh b/vagrant/init.sh
index 504ec65..babfda7 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.14.1
+bazelVersion=0.23.2
 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 3cd3500..d73ac97 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.8
-    bazel: 0.14.1
+    bazel: 0.23.2
     heronpy: 0.17.8
   assets:
     favicon:
diff --git a/website/content/docs/developers/compiling/docker.md b/website/content/docs/developers/compiling/docker.md
index 8a3c6de..47a13fb 100644
--- a/website/content/docs/developers/compiling/docker.md
+++ b/website/content/docs/developers/compiling/docker.md
@@ -171,7 +171,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.14.1/bazel-0.14.1-installer-linux-x86_64.sh \
+RUN wget -O /tmp/bazel.sh https://github.com/bazelbuild/bazel/releases/download/0.23.2/bazel-0.23.2-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 37e4e7e..51855fd 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.14.1/bazel-0.14.1-installer-linux-x86_64.sh
+wget -O /tmp/bazel.sh https://github.com/bazelbuild/bazel/releases/download/0.23.2/bazel-0.23.2-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.14.1/bazel-0.14.1-installer-linux-x86_64.sh
+wget -O /tmp/bazel.sh https://github.com/bazelbuild/bazel/releases/download/0.23.2/bazel-0.23.2-installer-linux-x86_64.sh
 chmod +x /tmp/bazel.sh
 /tmp/bazel.sh --user
 ```