@@ -8,16 +8,16 @@ load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
88# Fetch rules_nodejs so we can install our npm dependencies
99http_archive (
1010 name = "build_bazel_rules_nodejs" ,
11- sha256 = "f9e7b9f42ae202cc2d2ce6d698ccb49a9f7f7ea572a78fd451696d03ef2ee116 " ,
12- urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/1.6 .0/rules_nodejs-1.6 .0.tar.gz" ],
11+ sha256 = "84abf7ac4234a70924628baa9a73a5a5cbad944c4358cf9abdb4aab29c9a5b77 " ,
12+ urls = ["https://github.com/bazelbuild/rules_nodejs/releases/download/1.7 .0/rules_nodejs-1.7 .0.tar.gz" ],
1313)
1414
1515# Check the rules_nodejs version and download npm dependencies
1616# Note: bazel (version 2 and after) will check the .bazelversion file so we don't need to
1717# assert on that.
1818load ("@build_bazel_rules_nodejs//:index.bzl" , "check_rules_nodejs_version" , "node_repositories" , "yarn_install" )
1919
20- check_rules_nodejs_version (minimum_version_string = "1.6 .0" )
20+ check_rules_nodejs_version (minimum_version_string = "1.7 .0" )
2121
2222# Setup the Node.js toolchain
2323node_repositories (
@@ -91,17 +91,18 @@ rbe_autoconfig(
9191 # Need to specify a base container digest in order to ensure that we can use the checked-in
9292 # platform configurations for the "ubuntu16_04" image. Otherwise the autoconfig rule would
9393 # need to pull the image and run it in order determine the toolchain configuration. See:
94- # https://github.com/bazelbuild/bazel-toolchains/blob/1.1.2 /configs/ubuntu16_04_clang/versions.bzl
95- base_container_digest = "sha256:1ab40405810effefa0b2f45824d6d608634ccddbf06366760c341ef6fbead011 " ,
94+ # https://github.com/bazelbuild/bazel-toolchains/blob/3.2.0 /configs/ubuntu16_04_clang/versions.bzl
95+ base_container_digest = "sha256:5e750dd878df9fcf4e185c6f52b9826090f6e532b097f286913a428290622332 " ,
9696 # Note that if you change the `digest`, you might also need to update the
9797 # `base_container_digest` to make sure marketplace.gcr.io/google/rbe-ubuntu16-04-webtest:<digest>
9898 # and marketplace.gcr.io/google/rbe-ubuntu16-04:<base_container_digest> have
9999 # the same Clang and JDK installed. Clang is needed because of the dependency on
100100 # @com_google_protobuf. Java is needed for the Bazel's test executor Java tool.
101- digest = "sha256:0b8fa87db4b8e5366717a7164342a029d1348d2feea7ecc4b18c780bc2507059 " ,
101+ digest = "sha256:f743114235a43355bf8324e2ba0fa6a597236fe06f7bc99aaa9ac703631c306b " ,
102102 env = clang_env (),
103103 registry = "marketplace.gcr.io" ,
104104 # We can't use the default "ubuntu16_04" RBE image provided by the autoconfig because we need
105105 # a specific Linux kernel that comes with "libx11" in order to run headless browser tests.
106106 repository = "google/rbe-ubuntu16-04-webtest" ,
107+ use_checked_in_confs = "Force" ,
107108)
0 commit comments