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

Add bazel8 support. #248

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

Add bazel8 support. #248

wants to merge 5 commits into from

Conversation

bstoll
Copy link
Contributor

@bstoll bstoll commented Jan 14, 2025

This PR updates GNOI to use Bazel8/bzlmod. This change also has makes Gazelle BUILD file generation work, which has resulted in fixing some consistency problems with import_prefix not being applied to all GNOI protos.

This PR is flagged as a draft because it pins openconfig_gnmi, openconfig_gnsi, and openconfig_bootz to my personal git branch. openconfig/gnmi#192 , openconfig/gnsi#220 and openconfig/bootz#147 need to be merged and uploaded to the Bazel Central Registry before this PR can be merged.

@bstoll bstoll mentioned this pull request Jan 14, 2025
@coveralls
Copy link

coveralls commented Jan 14, 2025

Pull Request Test Coverage Report for Build 13910522812

Details

  • 0 of 2667 (0.0%) changed or added relevant lines in 36 files are covered.
  • 245 unchanged lines in 19 files lost coverage.
  • Overall coverage remained the same at 0.0%

Changes Missing Coverage Covered Lines Changed/Added Lines %
common/common.pb.go 0 4 0.0%
bgp/bgp_grpc.pb.go 0 11 0.0%
factory_reset/factory_reset_grpc.pb.go 0 11 0.0%
bootconfig/bootconfig_grpc.pb.go 0 14 0.0%
debug/debug_grpc.pb.go 0 14 0.0%
otdr/otdr_grpc.pb.go 0 14 0.0%
packet_capture/packet_capture_grpc.pb.go 0 14 0.0%
bootconfig/bootconfig.pb.go 0 16 0.0%
diag/diag_grpc.pb.go 0 17 0.0%
mpls/mpls_grpc.pb.go 0 20 0.0%
Files with Coverage Reduction New Missed Lines %
common/common.pb.go 1 0.0%
bgp/bgp.pb.go 2 0.0%
debug/debug.pb.go 3 0.0%
bootconfig/bootconfig.pb.go 4 0.0%
factory_reset/factory_reset.pb.go 4 0.0%
types/types.pb.go 4 0.0%
mpls/mpls.pb.go 8 0.0%
otdr/otdr.pb.go 8 0.0%
layer2/layer2.pb.go 10 0.0%
packet_capture/packet_capture.pb.go 10 0.0%
Totals Coverage Status
Change from base Build 13888936731: 0.0%
Covered Lines: 0
Relevant Lines: 12486

💛 - Coveralls

bstoll added 4 commits March 17, 2025 21:31
* Use latest go1.24.1
* Use latest Bazel 8.1.1
* Add bazel test to CI Workflow
* Add Bazel Central Registry release template
* Use local C++ GRPC build rules to fix import_prefix header issue
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