Automated Dependency Updates for Bazel
Renovate supports updating Bazel dependencies.
File Matching¶
By default, Renovate will check any files matching any of the following regular expressions:
(^|/)WORKSPACE(|\.bazel)$
\.bzl$
For details on how to extend a manager's fileMatch
value, please follow this link.
Supported datasources¶
This manager supports extracting the following datasources: docker
, github-releases
, github-tags
, go
.
Default config¶
{
"fileMatch": [
"(^|/)WORKSPACE(|\\.bazel)$",
"\\.bzl$"
]
}
Additional Information¶
Bazel is quite unlike most other "package managers" that Renovate supports, which usually focus on a particular ecosystem like JavaScript, Ruby or Docker. Instead, Bazel is a build tool so supports a multitude of languages/datasources. Renovate does not support all possible Bazel references, although would like to, and feature requests are welcome.
If you need to change the versioning format, read the versioning documentation to learn more.
Open items¶
The below list of features were current when this page was generated on June 06, 2023.
Feature requests¶
- Bazel: Updating http_file's that point into GitHub repos #8784
- bazel: support http_archives with non-GitHub URLs #6847
- [Bazel] Support for repository_ctx download and download_and_extract #6462
- Support bazel go_repository urls field #6207
- Invoke
bazel run //:gazelle
to upgrade BUILD files after updating theWORKSPACE
of a Bazel proejct #3347