For companies, we offer an Enterprise version of BuildBuddy that contains advanced features like OIDC Auth, API access, and more.
Getting started
There are four ways to run BuildBuddy on-prem:Bazel Run
Get the source and run a simple
bazel run commandDocker Image
Pre-built Docker images running the latest version
Kubernetes
Deploy to your Kubernetes cluster with a one-line script
Helm
Deploy with official BuildBuddy helm charts
Bazel Run
The simplest method of running BuildBuddy on your own computer is to download and run it with “bazel run”. Doing that is simple:Docker Image
We publish a Docker image with every release that contains a pre-configured BuildBuddy. To run it, use the following command:If you’d like to pass a custom configuration file to BuildBuddy running in a Docker image - see the configuration docs on using Docker’s -v flag.
Kubernetes
If you run or have access to a Kubernetes cluster, and you have the “kubectl” command configured, we provide a shell script that will deploy BuildBuddy to your cluster, namespaced under the “buildbuddy” namespace.This script uses this deployment file, if you want to see the details of what is being configured.
Custom configuration
To pass in a custom config file, you can use the-config flag:
Output to yaml file
By default thek8s_on_prem.sh script will use kubectl apply to deploy BuildBuddy to your current Kubernetes cluster. If you’d like to output the Kubernetes deployment to a yaml file instead that can be checked in, you can use the -out flag:
Number of replicas
By default thek8s_on_prem.sh script will deploy a single replica of BuildBuddy. If you’ve configured a MySQL database, storage, and other options necessary to support multiple replicas, you can increase the number of BuildBuddy replicas to deploy with the -replicas flag.
Restart behavior
By default thek8s_on_prem.sh will restart your BuildBuddy deployment to pick up any changes in your configuration file. This can lead to brief downtime if only one replica is deployed. You can disable this behavior with the -norestart flag.
Enterprise deployment
If you’ve obtained a BuildBuddy enterprise license, you deploy enterprise BuildBuddy by specifying the-enterprise flag.
Helm
If you run or have access to a Kubernetes cluster and are comfortable with Helm, we maintain official BuildBuddy Helm charts that are easy to configure and deploy. They have options to deploy everything necessary to use all of BuildBuddy’s bells and whistles - including MySQL, nginx, and more. The official BuildBuddy charts live in our buildbuddy-helm repo and can be added to helm with the following command:Configuring BuildBuddy
Configuration Documentation
For documentation on all BuildBuddy configuration options, check out our configuration documentation.