Compare commits

...

1 Commits

Author SHA1 Message Date
Potuz
c615637bdb Use bazel mirror due to expired cert
See https://github.com/DataDog/datadog-agent/pull/44621
and the original issue in
https://github.com/bazelbuild/bazel/issues/28101
2025-12-26 08:11:13 -03:00
4 changed files with 8 additions and 0 deletions

1
.bazeliskrc Normal file
View File

@@ -0,0 +1 @@
BAZELISK_BASE_URL=https://github.com/bazelbuild/bazel/releases/download

View File

@@ -32,6 +32,10 @@ import %workspace%/.bazelrc
# startup --digest_function=blake3
startup --host_jvm_args=-Xmx8g --host_jvm_args=-Xms4g
# Disable bzlmod to avoid BCR registry access (certificate issues)
common --noenable_bzlmod
build --experimental_strict_action_env
build --sandbox_tmpfs_path=/tmp
build --verbose_failures

View File

@@ -8,4 +8,5 @@ env -i \
PATH=/usr/bin:/bin \
HOME="$HOME" \
GOOGLE_APPLICATION_CREDENTIALS="$GOOGLE_APPLICATION_CREDENTIALS" \
BAZELISK_BASE_URL="https://github.com/bazelbuild/bazel/releases/download" \
bazel "$@"

View File

@@ -0,0 +1,2 @@
### Ignored
- Use bazel mirror due to expired certificate.