4 ms·
I wonder how / if Bazel will integrate wit Google Cloud Build. IMO that should be an end goal for a tool like Bazel. At a first glance, they are (highly) incomp
by random3 7y ago
I wonder how / if Bazel will integrate wit Google Cloud Build. IMO that should be an end goal for a tool like Bazel.
At a first glance, they are (highly) incompatible.
1. Bazel's statefulness is a core feature while GCB is stateless.
2. They both need to control things holistically to work (or you lose advantages otherwise).
So in order to benefit from the two, it would likely require GCB to work with Bazel natively and also to have some powerful state abstractions in order to optimize builds in a distributed fashion.
- the-rc 7y agoThere's a hosted Bazel in an early access preview. Tensorflow uses it.
- random3 7y agoThank you! Would love to try that. How to access pre-release?
- orbz 7y agoJust use it in your cloudbuild.yaml file: https://github.com/GoogleCloudPlatform/cloud-builders/tree/master/bazel https://github.com/GoogleCloudPlatform/cloud-builders/tree/m...
- whs 7y agohttps://blog.bazel.build/2018/10/05/remote-build-execution.html https://blog.bazel.build/2018/10/05/remote-build-execution.h...