You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@heron.apache.org by ni...@apache.org on 2022/01/24 06:21:30 UTC

[incubator-heron] branch nicknezis/bazel-4.2.2 created (now a257eb3)

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

nicknezis pushed a change to branch nicknezis/bazel-4.2.2
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git.


      at a257eb3  Upgrade to Bazel 4.2.2

This branch includes the following new commits:

     new a257eb3  Upgrade to Bazel 4.2.2

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[incubator-heron] 01/01: Upgrade to Bazel 4.2.2

Posted by ni...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

nicknezis pushed a commit to branch nicknezis/bazel-4.2.2
in repository https://gitbox.apache.org/repos/asf/incubator-heron.git

commit a257eb3bacabd19a1b63f1412559cd5a25f1b17d
Author: Nicholas Nezis <ni...@gmail.com>
AuthorDate: Mon Jan 24 01:20:20 2022 -0500

    Upgrade to Bazel 4.2.2
---
 .bazelversion                                   | 2 +-
 .travis.yml                                     | 2 +-
 README.md                                       | 2 +-
 docker/compile/Dockerfile.centos7               | 2 +-
 docker/compile/Dockerfile.debian10              | 2 +-
 docker/compile/Dockerfile.ubuntu18.04           | 2 +-
 docker/compile/Dockerfile.ubuntu20.04           | 2 +-
 docker/compile/Dockerfile.ubuntu22.04           | 2 +-
 docker/test/Dockerfile.centos7                  | 2 +-
 docker/test/Dockerfile.ubuntu18.04              | 2 +-
 scripts/ci/setup_bazel.sh                       | 2 +-
 vagrant/init.sh                                 | 2 +-
 website2/docs/compiling-osx.md                  | 2 +-
 website2/website/scripts/Dockerfile.ubuntu18.04 | 2 +-
 website2/website/scripts/replace.js             | 2 +-
 15 files changed, 15 insertions(+), 15 deletions(-)

diff --git a/.bazelversion b/.bazelversion
index ee74734..af8c8ec 100644
--- a/.bazelversion
+++ b/.bazelversion
@@ -1 +1 @@
-4.1.0
+4.2.2
diff --git a/.travis.yml b/.travis.yml
index 532a335..3848fc1 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -29,7 +29,7 @@ addons:
       - libgoogle-perftools-dev
 
 env:
-  - BAZEL_VERSION=4.1.0 ENABLE_HEAPCHECK=1
+  - BAZEL_VERSION=4.2.2 ENABLE_HEAPCHECK=1
 
 before_install:
   # download and install bazel
diff --git a/README.md b/README.md
index 5555e7e..a3814dc 100644
--- a/README.md
+++ b/README.md
@@ -33,7 +33,7 @@ Confluence: https://cwiki.apache.org/confluence/display/HERON
 #### Heron Requirements:
  * Java 11
  * Python 3.6
- * Bazel 4.1.0
+ * Bazel 4.2.2
 
 ## Contact
 
diff --git a/docker/compile/Dockerfile.centos7 b/docker/compile/Dockerfile.centos7
index 8b27002..e4fadfa 100644
--- a/docker/compile/Dockerfile.centos7
+++ b/docker/compile/Dockerfile.centos7
@@ -46,7 +46,7 @@ RUN yum -y install \
 
 ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk
 
-ENV bazelVersion 4.1.0
+ENV bazelVersion 4.2.2
 
 RUN wget -O /tmp/bazel.sh https://github.com/bazelbuild/bazel/releases/download/$bazelVersion/bazel-$bazelVersion-installer-linux-x86_64.sh \
       && chmod +x /tmp/bazel.sh \
diff --git a/docker/compile/Dockerfile.debian10 b/docker/compile/Dockerfile.debian10
index 99edf1e..1c6c11e 100644
--- a/docker/compile/Dockerfile.debian10
+++ b/docker/compile/Dockerfile.debian10
@@ -42,7 +42,7 @@ RUN apt-get update && apt-get -y install \
       wget \
       zip
 
-ENV bazelVersion 4.1.0
+ENV bazelVersion 4.2.2
 
 RUN wget -O /tmp/bazel.sh https://github.com/bazelbuild/bazel/releases/download/$bazelVersion/bazel-$bazelVersion-installer-linux-x86_64.sh \
       && chmod +x /tmp/bazel.sh \
diff --git a/docker/compile/Dockerfile.ubuntu18.04 b/docker/compile/Dockerfile.ubuntu18.04
index 15c62ca..9370872 100644
--- a/docker/compile/Dockerfile.ubuntu18.04
+++ b/docker/compile/Dockerfile.ubuntu18.04
@@ -43,7 +43,7 @@ RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 10
 
 ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk-amd64
 
-ENV bazelVersion 4.1.0
+ENV bazelVersion 4.2.2
 
 RUN wget -O /tmp/bazel.sh https://github.com/bazelbuild/bazel/releases/download/$bazelVersion/bazel-$bazelVersion-installer-linux-x86_64.sh \
       && chmod +x /tmp/bazel.sh \
diff --git a/docker/compile/Dockerfile.ubuntu20.04 b/docker/compile/Dockerfile.ubuntu20.04
index 7ebf7ce..4131eb2 100644
--- a/docker/compile/Dockerfile.ubuntu20.04
+++ b/docker/compile/Dockerfile.ubuntu20.04
@@ -44,7 +44,7 @@ RUN apt-get update && apt-get -y install \
 
 ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk-amd64
 
-ENV bazelVersion 4.1.0
+ENV bazelVersion 4.2.2
 
 RUN wget -O /tmp/bazel.sh https://github.com/bazelbuild/bazel/releases/download/$bazelVersion/bazel-$bazelVersion-installer-linux-x86_64.sh \
       && chmod +x /tmp/bazel.sh \
diff --git a/docker/compile/Dockerfile.ubuntu22.04 b/docker/compile/Dockerfile.ubuntu22.04
index 0cb6f44..e8bdb28 100644
--- a/docker/compile/Dockerfile.ubuntu22.04
+++ b/docker/compile/Dockerfile.ubuntu22.04
@@ -44,7 +44,7 @@ RUN apt-get update && apt-get -y install \
 
 ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk-amd64
 
-ENV bazelVersion 4.1.0
+ENV bazelVersion 4.2.2
 
 RUN wget -O /tmp/bazel.sh https://github.com/bazelbuild/bazel/releases/download/$bazelVersion/bazel-$bazelVersion-installer-linux-x86_64.sh \
       && chmod +x /tmp/bazel.sh \
diff --git a/docker/test/Dockerfile.centos7 b/docker/test/Dockerfile.centos7
index bca8ec7..f08f156 100644
--- a/docker/test/Dockerfile.centos7
+++ b/docker/test/Dockerfile.centos7
@@ -46,7 +46,7 @@ RUN yum -y install \
 
 ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk
 
-ENV bazelVersion 4.1.0
+ENV bazelVersion 4.2.2
 
 RUN wget -O /tmp/bazel.sh https://github.com/bazelbuild/bazel/releases/download/$bazelVersion/bazel-$bazelVersion-installer-linux-x86_64.sh \
       && chmod +x /tmp/bazel.sh \
diff --git a/docker/test/Dockerfile.ubuntu18.04 b/docker/test/Dockerfile.ubuntu18.04
index d74d102..f48689d 100644
--- a/docker/test/Dockerfile.ubuntu18.04
+++ b/docker/test/Dockerfile.ubuntu18.04
@@ -41,7 +41,7 @@ RUN update-alternatives --install /usr/bin/python python /usr/bin/python3 10
 
 ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk-amd64
 
-ENV bazelVersion 4.1.0
+ENV bazelVersion 4.2.2
 
 RUN wget -O /tmp/bazel.sh https://github.com/bazelbuild/bazel/releases/download/$bazelVersion/bazel-$bazelVersion-installer-linux-x86_64.sh \
       && chmod +x /tmp/bazel.sh \
diff --git a/scripts/ci/setup_bazel.sh b/scripts/ci/setup_bazel.sh
index c61a581..8927586 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=4.1.0
+BAZEL_VERSION=4.2.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 c69492b..18754ba 100644
--- a/vagrant/init.sh
+++ b/vagrant/init.sh
@@ -44,7 +44,7 @@ install_marathon() {
     service marathon start
 }
 
-bazelVersion=4.1.0
+bazelVersion=4.2.2
 bazel_install() {
     apt-get install -y automake cmake gcc g++ zlib1g-dev zip pkg-config wget libssl-dev libunwind-dev
     mkdir -p /opt/bazel
diff --git a/website2/docs/compiling-osx.md b/website2/docs/compiling-osx.md
index e01983e..251464c 100644
--- a/website2/docs/compiling-osx.md
+++ b/website2/docs/compiling-osx.md
@@ -34,7 +34,7 @@ $ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/inst
 
 ### Step 2 -- Install Bazel
 ```bash
-wget -O /tmp/bazel.sh https://github.com/bazelbuild/bazel/releases/download/4.1.0/bazel-4.1.0-installer-darwin-x86_64.sh
+wget -O /tmp/bazel.sh https://github.com/bazelbuild/bazel/releases/download/4.2.2/bazel-4.2.2-installer-darwin-x86_64.sh
 chmod +x /tmp/bazel.sh
 /tmp/bazel.sh --user
 ```
diff --git a/website2/website/scripts/Dockerfile.ubuntu18.04 b/website2/website/scripts/Dockerfile.ubuntu18.04
index 35c8a0b..b9e091f 100644
--- a/website2/website/scripts/Dockerfile.ubuntu18.04
+++ b/website2/website/scripts/Dockerfile.ubuntu18.04
@@ -51,7 +51,7 @@ RUN apt-get update && apt-get install -y nodejs
 
 ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk-amd64
 
-ENV bazelVersion 4.1.0
+ENV bazelVersion 4.2.2
 RUN wget -O /tmp/bazel.sh https://github.com/bazelbuild/bazel/releases/download/$bazelVersion/bazel-$bazelVersion-installer-linux-x86_64.sh \
       && chmod +x /tmp/bazel.sh \
       && /tmp/bazel.sh --user
diff --git a/website2/website/scripts/replace.js b/website2/website/scripts/replace.js
index 1dd06cd..32cf049 100755
--- a/website2/website/scripts/replace.js
+++ b/website2/website/scripts/replace.js
@@ -40,7 +40,7 @@ const bazelVersions = {
     '0.20.2-incubating': '0.26.0',
     '0.20.3-incubating': '3.7.0',
     '0.20.4-incubating': '3.7.2',
-    'latest': '4.1.0',
+    'latest': '4.2.2',
 }
 
 function replaceBazel(version) {