Bazelmod: registryUrls should set only for datasource=bazel #34545
Labels
manager:bazel-module
priority-3-medium
Default priority, "should be done" but isn't prioritised ahead of others
Discussed in #33748
Originally posted by jeremy-muon January 22, 2025
How are you running Renovate?
Self-hosted Renovate
If you're self-hosting Renovate, tell us which platform (GitHub, GitLab, etc) and which version of Renovate.
GitHub, Renovate 11.0.0
Please tell us more about your question or problem
I'm running Renovate against Bazel repositories, using Bazel Modules and a custom registry (in addition to the Bazel central registry). I'm using git_override as described here.
When I run Renovate, I get an error where it tries and fails to retrieve commit information at this URL: https://bcr.bazel.build/api/v3/repos/$ORG/$REPO/commits?per_page=1, then shows "Error getting latest commit from GitHub repo".
It appears that this function is attempting to use https://bcr.bazel.build instead of https://github.com for some reason. I attempted to work around this by instead pointing at my own custom registry where I can forward to github.com, but it still looks for bcr.bazel.build. It seems as though apiBaseUrl should be api.github.com in this case?
Reproduction
https://github.com/jeremy-muon/renovate-bzlmod-git-override
The text was updated successfully, but these errors were encountered: