Skip to content

Commit e43a3f5

Browse files
authored
Merge pull request #5774 from cloudflare/yagiz/use-bazelisk-mirror
update bazel registry to a mirror
2 parents 820c0f7 + 4a2c693 commit e43a3f5

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.bazeliskrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Use GitHub as mirror for Bazel binary downloads
2+
# This works around outages at releases.bazel.build
3+
BAZELISK_BASE_URL=https://github.com/bazelbuild/bazel/releases/download

.bazelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ build --test_size_filters=-enormous
1010
# corresponds to small,medium,large,enormous tests (medium is default)
1111
build --test_timeout=3,15,60,240
1212

13+
# Use GitHub mirror for BCR to work around bcr.bazel.build outages
14+
common --registry=https://raw.githubusercontent.com/bazelbuild/bazel-central-registry/main/
15+
1316
# We're only using bzlmod in a nominal capacity so far
1417
common --enable_workspace
1518

0 commit comments

Comments
 (0)