-
Notifications
You must be signed in to change notification settings - Fork 231
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
Trouble building with bazel #801
Comments
@derekperkins have you tried a standalone bazel build of cel-go? Our continuous build seems to be just fine. |
Digging deeper, I think this is an issue with how gazelle is dealing with the |
I was able to track down the issue and get it fixed with a workaround. The actual issue is that go_repository(
name = "com_github_google_cel_go",
build_file_proto_mode = "disable_global",
build_naming_convention = "go_default_library",
importpath = "github.com/google/cel-go",
sum = "h1:s2151PDGy/eqpCI80/8dl4VL3xTkqI/YubXLXCFw0mw=",
version = "v0.17.1",
) If this underlying issue with gazelle is resolved, this manual workaround shouldn't be needed in the future. Thanks for responding @TristonianJones |
Describe the bug
I'm using this library transitively via https://github.com/bufbuild/protovalidate-go, and while go builds succeed, bazel builds fail. I see that there are bazel files in this repo, is there something I should do to make builds succeed? No proto compilation happens inside bazel, generated files are committed.
Environment
Additional context
The text was updated successfully, but these errors were encountered: