go: Add bb-remote-execution dependency #898
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
github.com/buildbarn/bb-remote-execution
defines an RPC service that we'd like to implement. We can:This change attempts to do the former. This came with some complications:
cloud.google.com/go
, which causes issues due to the genproto migration that is currently underway. To resolve this, this PR:GoogleCloudPlatform/cloud-build-notifiers
, with updated deps and import paths (once go: Update all dependencies to latest GoogleCloudPlatform/cloud-build-notifiers#163 is merged, this fork can be dropped)go_googleapis
. Usuallyrules_go
does this for us, but we needed new datastore protos to be compatible with the updated datastore module, and so we must specify the version ourselves and also generate the patches thatrules_go
usually does.github.com/bazelbuild/remote-apis
has BUILD files that reference@googleapis
instead of@go_googleapis
; this is usually patched in the buildbarn ecosystem, but we can't use that patch verbatim due to our updated version of@go_googleapis
- so this change adds a slightly modified version of this patch.Tested:
bazel test //... -k
works