Clone this repo:
  1. 7c4a1cb Add the Build and TestRun struct. by Hao Wu · 2 hours ago main
  2. be2404a [bbv2] Add --buildbucket_project flag to task-scheduler-jc by Eric Boren · 2 hours ago
  3. e7bbe1d [bbv2] Add scheduler URL flag to task-scheduler-bbfe by Eric Boren · 3 hours ago
  4. 81560a8 Make CombinedCommit public. by Hao Wu · 12 hours ago
  5. 4269f04 [bbv2] Fail RunTask and StartBuild when Buildbucket tokens are missing by Eric Boren · 4 hours ago

Skia-Buildbot Repository

This repo contains infrastructure code for Skia.

Getting the Source Code

The main source code repository is a Git repository hosted at It is possible to check out this repository directly with git clone or via go get.

Using git clone allows you to work in whatever directory you want. You will still need to set GOPATH in order to build some apps (recommended to put this in a cache dir). E.g.:

$ cd ${WORKDIR}
$ git clone
$ export GOPATH=${HOME}/.cache/gopath/$(basename ${WORKDIR})
$ mkdir $GOPATH
$ cd buildbot

Install dependencies

Almost all applications are built with Bazel, and bazelisk is the recommended tool to ensure you have the right version of bazel installed:

go install
go install
go install
go install
go install
go install

Install other dependencies:

sudo apt-get install jq

Build ~everything

bazelisk build --config=mayberemote //...

Test everything

bazelisk test --config=mayberemote //...

Generated Code

To update generated code run the following in any directory:

go generate ./...

Running unit tests

Install Cloud SDK.

Use this command to run the presubmit tests:

./run_unittests --small