Bazel
Setting up a Bazel remote execution cache on DevZero.
Looking for a pre-made recipe template? See: Bazel Buildfarm
Installation (using Helm)
- Make sure both kubectl and helm are installed.
- When creating a new workspace, take a look at the Kubectl recipe and the Helm recipe.
- Install bazel buildfarm on your k8s cluster using the official helm chart:
- Forward the port from the k8s cluster to your DevBox:
Example
Create the following bazel workspace file structure for testing:
main.cc
BUILD
WORKSPACE
Leave this file empty.
Run bazel run :main
to verify the build locally.