-
Notifications
You must be signed in to change notification settings - Fork 29
monorepo: move grpc spec into proto
subdir, and update make tools
#80
monorepo: move grpc spec into proto
subdir, and update make tools
#80
Conversation
Skipping CI for Draft Pull Request. |
PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
I still have some cleanup to do on this, but the biggest part of making this work is done I think |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: BlaineEXE 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 |
Move the core required files for gRPC specification to ./proto directory. Do not make any file modifications at this point. Signed-off-by: Blaine Gardner <[email protected]>
Fix some package deprecations in proto/hack/fake-gen Signed-off-by: Blaine Gardner <[email protected]>
Modeled after: container-storage-interface/spec#552 Update to the latest, non-deprecated versions of Google's tools for protobuf generation. Also update make tools to allow working with go modules outside of GOPATH, and to build on ARM-based Macbooks. New tools are significantly different from prior tools. Notably, the grpc plugin is no longer supported, so the `--go-gprc_out` flag is used, which moves some generated content from `cosi.pb.go` to a new `cosi_grpc.pb.go` file. We are still able to keep fake-gen by continuing to use deprecated tool versions for that purpose. There's a chance that it may not serve the COSI project long-term, but it should still work for now. Signed-off-by: Blaine Gardner <[email protected]>
/lgtm |
…d-in-cloudbuild push images using PROJECT_ID in cloudbuild
Move the core required files for gRPC specification to ./proto
directory. Do not make any file modifications at this point.
in a new commit:
Fix some package deprecations in proto/hack/fake-gen
In the final and largest commit:
Modeled after:
container-storage-interface/spec#552
Update to the latest, non-deprecated versions of Google's tools for
protobuf generation.
Also update make tools to allow working with go modules outside of
GOPATH, and to build on ARM-based Macbooks.
New tools are significantly different from prior tools. Notably, the
grpc plugin is no longer supported, so the
--go-gprc_out
flag is used,which moves some generated content from
cosi.pb.go
to a newcosi_grpc.pb.go
file.We are still able to keep fake-gen by continuing to use deprecated tool
versions for that purpose. There's a chance that it may not serve the
COSI project long-term, but it should still work for now.