Skip to content

Commit 5d19e05

Browse files
devversionjelbourn
authored andcommitted
build: update to bazel v1.1.0 (#17700)
Update Bazel to the latest stable version. Bazel 1.1.0 supposedly fixes a permission bug in Windows. Hence we should try to update and see if that fixes the bug. It's generally good to be up to date. See potential bug fix commit: bazelbuild/bazel@618e5a2
1 parent aaa5783 commit 5d19e05

File tree

3 files changed

+27
-27
lines changed

3 files changed

+27
-27
lines changed

WORKSPACE

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ http_archive(
2121

2222
load("@build_bazel_rules_nodejs//:defs.bzl", "check_bazel_version", "node_repositories", "yarn_install")
2323

24-
# The minimum bazel version to use with this repo is 1.0.0
25-
check_bazel_version("1.0.0")
24+
# The minimum bazel version to use with this repo is v1.1.0.
25+
check_bazel_version("1.1.0")
2626

2727
node_repositories(
2828
node_repositories = {
@@ -100,9 +100,9 @@ sass_repositories()
100100
# Bring in bazel_toolchains for RBE setup configuration.
101101
http_archive(
102102
name = "bazel_toolchains",
103-
sha256 = "0b36eef8a66f39c8dbae88e522d5bbbef49d5e66e834a982402c79962281be10",
104-
strip_prefix = "bazel-toolchains-1.0.1",
105-
url = "https://github.com/bazelbuild/bazel-toolchains/archive/1.0.1.tar.gz",
103+
sha256 = "3c1299efcf64a4ecf4f6def7564db28879ad2870632144d77932e7910686d3f3",
104+
strip_prefix = "bazel-toolchains-1.1.2",
105+
url = "https://github.com/bazelbuild/bazel-toolchains/archive/1.1.2.tar.gz",
106106
)
107107

108108
load("@bazel_toolchains//repositories:repositories.bzl", bazel_toolchains_repositories = "repositories")
@@ -117,8 +117,8 @@ rbe_autoconfig(
117117
# platform configurations for the "ubuntu16_04" image. Otherwise the autoconfig rule would
118118
# need to pull the image and run it in order determine the toolchain configuration.
119119
# See: https://github.com/bazelbuild/bazel-toolchains/blob/master/rules/rbe_repo.bzl#L229
120-
base_container_digest = "sha256:3e98e2e1233de1aed4ed7d7e05450a3f75b8c8d6f6bf53f1b390b5131c790f6f",
121-
digest = "sha256:76e2e4a894f9ffbea0a0cb2fbde741b5d223d40f265dbb9bca78655430173990",
120+
base_container_digest = "sha256:1ab40405810effefa0b2f45824d6d608634ccddbf06366760c341ef6fbead011",
121+
digest = "sha256:0b8fa87db4b8e5366717a7164342a029d1348d2feea7ecc4b18c780bc2507059",
122122
registry = "marketplace.gcr.io",
123123
# We can't use the default "ubuntu16_04" RBE image provided by the autoconfig because we need
124124
# a specific Linux kernel that comes with "libx11" in order to run headless browser tests.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@
6969
"@angular/platform-server": "^9.0.0-rc.2",
7070
"@angular/router": "^9.0.0-rc.2",
7171
"@angular/upgrade": "^9.0.0-rc.2",
72-
"@bazel/bazel": "1.0.0",
72+
"@bazel/bazel": "^1.1.0",
7373
"@bazel/buildifier": "^0.29.0",
7474
"@bazel/ibazel": "^0.10.3",
7575
"@bazel/jasmine": "^0.39.1",

yarn.lock

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -227,31 +227,31 @@
227227
lodash "^4.17.11"
228228
to-fast-properties "^2.0.0"
229229

230-
"@bazel/bazel-darwin_x64@1.0.0":
231-
version "1.0.0"
232-
resolved "https://registry.yarnpkg.com/@bazel/bazel-darwin_x64/-/bazel-darwin_x64-1.0.0.tgz#8ab7ecba867130d87e3ecd6cfd5757e59ea274ab"
233-
integrity sha512-2J8qPpUAhSsuZ1P0kMFLvAQUz8zB8mkKmGL3/8raXUnw9TblsykwAdeg3QlJwTLORn+ZqdAjOYEQIarnTpS1NA==
230+
"@bazel/bazel-darwin_x64@1.1.0":
231+
version "1.1.0"
232+
resolved "https://registry.yarnpkg.com/@bazel/bazel-darwin_x64/-/bazel-darwin_x64-1.1.0.tgz#9402ecadfaf0383bc366ef5b37b933e0d0e804fc"
233+
integrity sha512-/dnpkjqnl2Qrcy+qFerOe+lV9QZ2HoUHtTplQgRxa+OH8AtQ7mcopdJ9/3Y10GqgT2Kp+AR6G99R59/Si+BOMg==
234234

235-
"@bazel/bazel-linux_x64@1.0.0":
236-
version "1.0.0"
237-
resolved "https://registry.yarnpkg.com/@bazel/bazel-linux_x64/-/bazel-linux_x64-1.0.0.tgz#7043cc41eaf7b1d2618766e0759d513873bb9659"
238-
integrity sha512-/ZpOrYyDNGqUyAGPHFr4Y1kn8xCG1G4Lg2VMZtfCZzDohzoYFYs8iyQGU2/8PwldH8XX+oJT9atWqSt1EyoeAw==
235+
"@bazel/bazel-linux_x64@1.1.0":
236+
version "1.1.0"
237+
resolved "https://registry.yarnpkg.com/@bazel/bazel-linux_x64/-/bazel-linux_x64-1.1.0.tgz#98d75240e3e9ff5ba14fa48d6241d5d741e89926"
238+
integrity sha512-yDR1URphRQTkXYjl4U2NLmbGR8ar8imhytK3txZZqlPf5pfWI/7wa7gSg0H4VbRRLIGAy/nD2eXZpgSj1eUiqA==
239239

240-
"@bazel/bazel-win32_x64@1.0.0":
241-
version "1.0.0"
242-
resolved "https://registry.yarnpkg.com/@bazel/bazel-win32_x64/-/bazel-win32_x64-1.0.0.tgz#1111e4910c155a1917162ae96fd3737d062d20dd"
243-
integrity sha512-p5LpQ/WiijwOS+eBkdD7UewHL8JwK+8gpb4tIKqgh/a2yawgzEQPJDPBUV9ykss5t+s85BL2kEMhduuDewt/MA==
240+
"@bazel/bazel-win32_x64@1.1.0":
241+
version "1.1.0"
242+
resolved "https://registry.yarnpkg.com/@bazel/bazel-win32_x64/-/bazel-win32_x64-1.1.0.tgz#e9c80a8c6495834ee7fc6184c425284d1151ac38"
243+
integrity sha512-mj3ujcifKO+hjAjHvLoutYxzs90YWuc/fYJuVaEQrk4YFrRW5g70OpjN74zzBHRstObOjSZ3cOj+HDB19SIFKw==
244244

245-
"@bazel/bazel@1.0.0":
246-
version "1.0.0"
247-
resolved "https://registry.yarnpkg.com/@bazel/bazel/-/bazel-1.0.0.tgz#7c6e306d8ced3a6e087f041861364ef742560342"
248-
integrity sha512-bxNjlieM1HwgIgqx+AqtNeUA6bvqIQ0X5YysWuCCtT24Dd+wTs6fRSx1KGOA1NiRBrg+kpk7ebitOU8yaM+tiA==
245+
"@bazel/bazel@^1.1.0":
246+
version "1.1.0"
247+
resolved "https://registry.yarnpkg.com/@bazel/bazel/-/bazel-1.1.0.tgz#9ce8308e44d76132812e908fcbc9e9051c7c2e1a"
248+
integrity sha512-3NOWRHG1i/tAVQWuStIUuliFLVfjcKMbqIlc2Q206VWQ5pjlKgo0qa+qrWb0G6BYq+N3hxT4IwBz+Z17A8dbbg==
249249
dependencies:
250250
"@bazel/hide-bazel-files" latest
251251
optionalDependencies:
252-
"@bazel/bazel-darwin_x64" "1.0.0"
253-
"@bazel/bazel-linux_x64" "1.0.0"
254-
"@bazel/bazel-win32_x64" "1.0.0"
252+
"@bazel/bazel-darwin_x64" "1.1.0"
253+
"@bazel/bazel-linux_x64" "1.1.0"
254+
"@bazel/bazel-win32_x64" "1.1.0"
255255

256256
"@bazel/buildifier-darwin_x64@0.29.0":
257257
version "0.29.0"

0 commit comments

Comments
 (0)