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/06/03 17:06:41 UTC

[incubator-heron] branch master updated: Update to Bazel 0.26.0 (#3279)

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 9f83fcc  Update to Bazel 0.26.0 (#3279)
9f83fcc is described below

commit 9f83fccc7fb681b6948747766077ab175d184cf8
Author: Rohan Agarwal <ro...@gmail.com>
AuthorDate: Mon Jun 3 10:06:35 2019 -0700

    Update to Bazel 0.26.0 (#3279)
    
    * update to bazel 0.25.3
    
    * update bazel to 0.26.0
    
    * fix travis config
    
    * empty
---
 .travis.yml                                         | 8 ++++----
 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 ++--
 11 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 464e5b4..e558d18 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -26,13 +26,13 @@ addons:
       - libgoogle-perftools-dev
 
 env:
-  - CC=gcc-4.8 CXX=g++-4.8 CPP=cpp-4.8 CXXCPP=cpp-4.8 ENABLE_HEAPCHECK=1
+  - BAZEL_VERSION=0.26.0 CC=gcc-4.8 CXX=g++-4.8 CPP=cpp-4.8 CXXCPP=cpp-4.8 ENABLE_HEAPCHECK=1
 
 before_install:
   # download and install bazel
-  - wget -q 'https://github.com/bazelbuild/bazel/releases/download/0.23.1/bazel-0.23.1-installer-linux-x86_64.sh'
-  - chmod +x bazel-0.23.1-installer-linux-x86_64.sh
-  - ./bazel-0.23.1-installer-linux-x86_64.sh --user
+  - wget -q "https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh"
+  - chmod +x bazel-${BAZEL_VERSION}-installer-linux-x86_64.sh
+  - ./bazel-${BAZEL_VERSION}-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 5b1f0aa..3865b5b 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.23.2
+ENV bazelVersion 0.26.0
 
 RUN yum -y upgrade
 RUN yum -y install \
diff --git a/docker/compile/Dockerfile.debian9 b/docker/compile/Dockerfile.debian9
index ba2ccc5..dd79bd3 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.23.2
+ENV bazelVersion 0.26.0
 
 RUN apt-get update && apt-get -y install \
       automake \
diff --git a/docker/compile/Dockerfile.ubuntu14.04 b/docker/compile/Dockerfile.ubuntu14.04
index b0554c5..e21a284 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.23.2
+ENV bazelVersion 0.26.0
 
 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 4072729..ebad523 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.23.2
+ENV bazelVersion 0.26.0
 
 RUN apt-get update && apt-get -y install \
       automake \
diff --git a/docker/compile/Dockerfile.ubuntu18.04 b/docker/compile/Dockerfile.ubuntu18.04
index 744b25e..28b8f23 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.23.2
+ENV bazelVersion 0.26.0
 
 RUN apt-get update && apt-get -y install \
       g++ \
diff --git a/scripts/ci/setup_bazel.sh b/scripts/ci/setup_bazel.sh
index 31ad7d1..b9bc0ec 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.23.2
+BAZEL_VERSION=0.26.0
 
 # Install Bazel
 BAZEL_INSTALLER=bazel-$BAZEL_VERSION-installer-$BAZEL_OS-x86_64.sh
diff --git a/vagrant/init.sh b/vagrant/init.sh
index babfda7..54bb7df 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.23.2
+bazelVersion=0.26.0
 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 481260a..f4e53b5 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.23.2
+    bazel: 0.26.0
     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 47a13fb..cedbe48 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.23.2/bazel-0.23.2-installer-linux-x86_64.sh \
+RUN wget -O /tmp/bazel.sh https://github.com/bazelbuild/bazel/releases/download/0.26.0/bazel-0.25.3-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 51855fd..e616c57 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.23.2/bazel-0.23.2-installer-linux-x86_64.sh
+wget -O /tmp/bazel.sh https://github.com/bazelbuild/bazel/releases/download/0.26.0/bazel-0.25.3-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.23.2/bazel-0.23.2-installer-linux-x86_64.sh
+wget -O /tmp/bazel.sh https://github.com/bazelbuild/bazel/releases/download/0.26.0/bazel-0.25.3-installer-linux-x86_64.sh
 chmod +x /tmp/bazel.sh
 /tmp/bazel.sh --user
 ```