Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
go: Add bb-remote-execution dependency (#898)
`github.com/buildbarn/bb-remote-execution` defines an RPC service that we'd like to implement. We can: * depend on this repo as a dependency to use the protos within * copy the protos and their transitive imports into enkit and author our own BUILD files This change attempts to do the former. This came with some complications: * Pulling in this dep upgraded GCP modules under `cloud.google.com/go`, which causes issues due to the [genproto migration](https://code.googlesource.com/gocloud/+/refs/heads/main/migration.md) that is currently underway. To resolve this, this PR: * runs the fixer tool on our code to update import paths, plus gazelle to fix BUILD files * pulls in a fork of `GoogleCloudPlatform/cloud-build-notifiers`, with updated deps and import paths (once GoogleCloudPlatform/cloud-build-notifiers#163 is merged, this fork can be dropped) * pulls in an updated version of `go_googleapis`. Usually `rules_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 that `rules_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
- Loading branch information