Skip to content
Permalink
Browse files
Upgrade to Bazel 3.7 (#3630)
  • Loading branch information
nicknezis committed Nov 16, 2020
1 parent 790e62d commit ce5a568407177aae4fc618294048a4b56dae4c42
Showing 16 changed files with 16 additions and 16 deletions.
@@ -1 +1 @@
3.5.0
3.7.0
@@ -26,7 +26,7 @@ addons:
- libgoogle-perftools-dev

env:
- BAZEL_VERSION=3.5.0 ENABLE_HEAPCHECK=1
- BAZEL_VERSION=3.7.0 ENABLE_HEAPCHECK=1

before_install:
# download and install bazel
@@ -32,7 +32,7 @@ Confluence: https://cwiki.apache.org/confluence/display/HERON
#### Heron Requirements:
* Java 11
* Python 3.6
* Bazel 3.5.0
* Bazel 3.7.0

## Contact

@@ -47,7 +47,7 @@ RUN yum -y install \

ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk

ENV bazelVersion 3.5.0
ENV bazelVersion 3.7.0

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 \
@@ -43,7 +43,7 @@ RUN apt-get update && apt-get -y install \
wget \
zip

ENV bazelVersion 3.5.0
ENV bazelVersion 3.7.0

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 \
@@ -41,7 +41,7 @@ RUN apt-get update && apt-get -y install \
wget \
zip

ENV bazelVersion 3.5.0
ENV bazelVersion 3.7.0

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 \
@@ -44,7 +44,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 3.5.0
ENV bazelVersion 3.7.0

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 \
@@ -45,7 +45,7 @@ RUN apt-get update && apt-get -y install \

ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk-amd64

ENV bazelVersion 3.5.0
ENV bazelVersion 3.7.0

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 \
@@ -47,7 +47,7 @@ RUN yum -y install \

ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk

ENV bazelVersion 3.5.0
ENV bazelVersion 3.7.0

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 \
@@ -42,7 +42,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 3.5.0
ENV bazelVersion 3.7.0

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 \
@@ -29,7 +29,7 @@ if [ "$#" -ne 1 ]; then
exit 1
fi
BAZEL_OS=$1
BAZEL_VERSION=3.5.0
BAZEL_VERSION=3.7.0

# Install Bazel
BAZEL_INSTALLER=bazel-$BAZEL_VERSION-installer-$BAZEL_OS-x86_64.sh
@@ -44,7 +44,7 @@ install_marathon() {
service marathon start
}

bazelVersion=3.5.0
bazelVersion=3.7.0
bazel_install() {
apt-get install -y automake cmake gcc g++ zlib1g-dev zip pkg-config wget libssl-dev libunwind-dev
mkdir -p /opt/bazel
@@ -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/3.5.0/bazel-3.5.0-installer-darwin-x86_64.sh
wget -O /tmp/bazel.sh https://github.com/bazelbuild/bazel/releases/download/3.7.0/bazel-3.7.0-installer-darwin-x86_64.sh
chmod +x /tmp/bazel.sh
/tmp/bazel.sh --user
```
@@ -52,7 +52,7 @@ RUN apt-get update && apt-get install -y nodejs

ENV JAVA_HOME /usr/lib/jvm/java-11-openjdk-amd64

ENV bazelVersion 3.5.0
ENV bazelVersion 3.7.0
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
@@ -38,7 +38,7 @@ const bazelVersions = {
'0.20.0-incubating': '0.14.1',
'0.20.1-incubating': '0.26.0',
'0.20.2-incubating': '0.26.0',
'latest': '3.5.0',
'latest': '3.7.0',
}

function replaceBazel(version) {
@@ -35,7 +35,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/3.5.0/bazel-3.5.0-installer-darwin-x86_64.sh
wget -O /tmp/bazel.sh https://github.com/bazelbuild/bazel/releases/download/3.7.0/bazel-3.7.0-installer-darwin-x86_64.sh
chmod +x /tmp/bazel.sh
/tmp/bazel.sh --user
```

0 comments on commit ce5a568

Please sign in to comment.