-
Notifications
You must be signed in to change notification settings - Fork 116
Bazel updates: prepare for BCR release automation #1597
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
Conversation
Signed-off-by: Shameek Ganguly <shameek@intrinsic.ai>
|
Note: this PR cannot be forward-ported to |
Signed-off-by: Shameek Ganguly <shameek@intrinsic.ai>
Signed-off-by: Shameek Ganguly <shameek@intrinsic.ai>
|
MacOS github CI failures are unrelated. |
Signed-off-by: Shameek Ganguly <shameek@intrinsic.ai>
Manual forward port to main: #1599 |
The change had to be amended to apply it on main. Specifically, the repo archive_overrides in MODULE.bazel for gz deps was removed in that PR on the Jetty branch, but we want to preserve it on main to ensure CI uses gz deps from HEAD. -- Original PR description Few small fixes in MODULE.bazel as pre-work to add automation to push new releases to BCR. Drop repo_name, which removes the need to patch MODULE.bazel when pushing a release to BCR. repo_name is not a required field and can be added on the client side during import if needed to disambiguate packages. Add compatibility_level to match what is set in BCR Bump buildifier_prebuilt since version 8.2.0 has a bug in bazel 8 presubmits. Also remove unnecessary buildifier targets in test/BUILD.bazel; the top-level targets in BUILD.bazel cover the whole repo. Signed-off-by: Shameek Ganguly <shameek@intrinsic.ai>
Signed-off-by: Shameek Ganguly <shameek@intrinsic.ai>
Manually backported to use Ionic packages for gz deps from BCR instead of Jetty deps. -- Original PR description: - Remove archive_override for `gz-utils` and `gz-math` deps and used Jetty packages from BCR instead. As a result, bazel CI will use released versions of gz deps, which is consistent with cmake CI. - Drop `repo_name`, which removes the need to patch MODULE.bazel when pushing a release to BCR. `repo_name` is not a required field and can be added on the client side during import if needed to disambiguate packages. - Add `compatibility_level` to match [what is set in BCR](https://github.com/bazelbuild/bazel-central-registry/blob/ac68ad113a1592ea6dbe4f5cd6ad38ca54887637/modules/sdformat/16.0.0-pre2/MODULE.bazel#L4) - Bump `buildifier_prebuilt` since version 8.2.0 has a bug in [bazel 8 presubmits](bazelbuild/bazel-central-registry#5037 (comment)). Also remove unnecessary buildifier targets in test/BUILD.bazel; the top-level targets in BUILD.bazel cover the whole repo. Signed-off-by: Shameek Ganguly <shameek@intrinsic.ai>
🦟 Bug fix
Summary
Few small fixes in MODULE.bazel as pre-work to add automation to push new releases to BCR.
gz-utilsandgz-mathdeps and used Jetty packages from BCR instead. As a result, bazel CI will use released versions of gz deps, which is consistent with cmake CI.repo_name, which removes the need to patch MODULE.bazel when pushing a release to BCR.repo_nameis not a required field and can be added on the client side during import if needed to disambiguate packages.compatibility_levelto match what is set in BCRbuildifier_prebuiltsince version 8.2.0 has a bug in bazel 8 presubmits. Also remove unnecessary buildifier targets in test/BUILD.bazel; the top-level targets in BUILD.bazel cover the whole repo.Checklist
codecheckpassed (See contributing)Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining
Signed-off-byandGenerated-bymessages.