Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prysm: disable bzlmod #171

Merged
merged 1 commit into from
May 14, 2024
Merged

Conversation

prestonvanloon
Copy link
Contributor

@prestonvanloon prestonvanloon commented May 14, 2024

This PR disables bzlmod which seems to be rate limiting or banning the builder.

Error in download: java.io.IOException: Error downloading [https://bcr.bazel.build/modules/rules_cc/0.0.9/patches/module_dot_bazel_version.patch] to /data/gh-home/.cache/bazel/_bazel_root/e06669d813ee8962af5ff3fbbdf856de/external/rules_cc~/.tmp_remote_patches/module_dot_bazel_version.patch: GET returned 403 Forbidden

A long term solution is to cache the bazel build directories or use a remote cache with --experimental-remote-downloader=grpc://$REMOTE_CACHE and --remote_cache=grpc://$REMOTE_CACHE. This would fetch the remote dependencies from the remote cache box as a proxy and cache any interim build steps. You won't bomb / get banned from dependency providers and build times should increase significantly when builds haven't changed much.

Edit: I meant the --experimental_remote_asset_api flag

@skylenet skylenet merged commit a2f8ac9 into ethpandaops:master May 14, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants