-
Notifications
You must be signed in to change notification settings - Fork 136
Conversation
pcj
commented
Oct 24, 2018
- Remove pubref/rules_protobuf
- Add stackb/rules_proto
- Update rules_go to 0.16.0
thanks a lot for putting this together @pcj ! |
/retest All tests passing on my ubuntu 17 laptop
|
/retest |
Thanks very much, @pcj ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also please check the e2e tests since it is failing right now with the error msg:
bazel-bin/examples/hellogrpc/cc/server/staging.describe
INFO: Elapsed time: 0.365s, Critical Path: 0.00s
INFO: 0 processes.
INFO: Build completed successfully, 1 total action
INFO: Build completed successfully, 1 total action
Error from server (NotFound): deployments.apps "hello-grpc-staging" not found
So I suspect it has something to do with the rename of build targets.
/retest I dug a bit more in the log and the relevant error message is: Note that for the cc, java and py hellogrpc samples the output is indeed the expected Should be feasible to have some hack in the script to add the |
Thanks @nlopezgi for looking into this; that makes sense. The workaround is similar to bazel-contrib/rules_go#1239 (comment) that I'll address. |
this is still failing, |
Previous protobuf rules used by example gRPC server/client implementations did not use proto_library. This change updates to these rules (compatible with newer rules_go) Upgrade to rules_go 0.16.1. Previously, the e2e_test.sh assumed the name of the generated go_binary matched the rule name, but with changes introduced for cross-compilation, that assumption no longer held true. A genrule has been introduced to fix that.
You are too fast and too right sir! Added |
hi @pcj , |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: nlopezgi, pcj The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
@pjc, thanks again for putting this pr together |