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

Does bazel-remote work with --experimental_enable_bzlmod #766

Open
printharsh opened this issue Aug 5, 2024 · 1 comment
Open

Does bazel-remote work with --experimental_enable_bzlmod #766

printharsh opened this issue Aug 5, 2024 · 1 comment

Comments

@printharsh
Copy link

We have bzlmod enabled, and are trying to remote cache.

For testing I'm running the bazel remote cache server locally and trying to get it to hit by bazel cleaning and building.
bazel build --remote_cache=http://localhost:8080 --remote_upload_local_results=true //target

From the docker container that's running for bazel-remote, it never gets called and the stats show nothing either.

@mostynb
Copy link
Collaborator

mostynb commented Aug 5, 2024

That looks like it should work. You can test that the docker container is reachable by doing something like wget -q -O - http://localhost:8080/e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 (that will try to fetch the empty blob and print it to the screen). If that works, you should see a corresponding log line from bazel-remote.

Does bazel log anything related to the cache not being reachable?

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

No branches or pull requests

2 participants