build: update Bazel to 0.16 (#25316)

PR Close #25316
This commit is contained in:
Alex Eagle 2018-08-05 19:10:07 -07:00 committed by Kara Erickson
parent ba1e25f53f
commit 4eb8ac6de9
5 changed files with 6 additions and 6 deletions

View File

@ -12,8 +12,8 @@
## IMPORTANT ## IMPORTANT
# If you change the `docker_image` version, also change the `cache_key` suffix and the version of # If you change the `docker_image` version, also change the `cache_key` suffix and the version of
# `com_github_bazelbuild_buildtools` in the `/WORKSPACE` file. # `com_github_bazelbuild_buildtools` in the `/WORKSPACE` file.
var_1: &docker_image angular/ngcontainer:0.3.3 var_1: &docker_image angular/ngcontainer:0.4.0
var_2: &cache_key v2-angular-{{ .Branch }}-{{ checksum "yarn.lock" }}-0.3.3 var_2: &cache_key v2-angular-{{ .Branch }}-{{ checksum "yarn.lock" }}-0.4.0
# Define common ENV vars # Define common ENV vars
var_3: &define_env_vars var_3: &define_env_vars

View File

@ -100,7 +100,7 @@ local_repository(
load("@build_bazel_rules_nodejs//:defs.bzl", "check_bazel_version", "node_repositories", "yarn_install") load("@build_bazel_rules_nodejs//:defs.bzl", "check_bazel_version", "node_repositories", "yarn_install")
check_bazel_version("0.15.0") check_bazel_version("0.16.0")
node_repositories( node_repositories(
package_json = ["//:package.json"], package_json = ["//:package.json"],
preserve_symlinks = True, preserve_symlinks = True,

View File

@ -65,7 +65,7 @@ local_repository(
load("@build_bazel_rules_nodejs//:defs.bzl", "check_bazel_version", "node_repositories") load("@build_bazel_rules_nodejs//:defs.bzl", "check_bazel_version", "node_repositories")
check_bazel_version("0.15.0") check_bazel_version("0.16.0")
node_repositories(package_json = ["//:package.json"]) node_repositories(package_json = ["//:package.json"])
load("@io_bazel_rules_go//go:def.bzl", "go_rules_dependencies", "go_register_toolchains") load("@io_bazel_rules_go//go:def.bzl", "go_rules_dependencies", "go_register_toolchains")

View File

@ -19,7 +19,7 @@ RUN JAVA_DEBIAN_VERSION="8u131-b11-1~bpo8+1" \
### ###
# Bazel install # Bazel install
# See https://bazel.build/versions/master/docs/install-ubuntu.html#using-bazel-custom-apt-repository-recommended # See https://bazel.build/versions/master/docs/install-ubuntu.html#using-bazel-custom-apt-repository-recommended
RUN BAZEL_VERSION="0.15.0" \ RUN BAZEL_VERSION="0.16.0" \
&& wget -q -O - https://bazel.build/bazel-release.pub.gpg | apt-key add - \ && wget -q -O - https://bazel.build/bazel-release.pub.gpg | apt-key add - \
&& echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" > /etc/apt/sources.list.d/bazel.list \ && echo "deb [arch=amd64] http://storage.googleapis.com/bazel-apt stable jdk1.8" > /etc/apt/sources.list.d/bazel.list \
&& apt-get update \ && apt-get update \

View File

@ -6,7 +6,7 @@ This docker container provides everything needed to build and test Angular appli
- npm 5.5.1 - npm 5.5.1
- yarn 1.3.2 - yarn 1.3.2
- Java 8 (for Closure Compiler and Bazel) - Java 8 (for Closure Compiler and Bazel)
- Bazel build tool v0.15.0 - http://bazel.build - Bazel build tool v0.16.0 - http://bazel.build
- Google Chrome 63.0.3239.84 - Google Chrome 63.0.3239.84
- Mozilla Firefox 47.0.1 - Mozilla Firefox 47.0.1
- xvfb (virtual framebuffer) for headless testing - xvfb (virtual framebuffer) for headless testing