Qinusty / buildbuddy

BuildBuddy is an open source Bazel build event viewer.

Home Page:https://buildbuddy.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


BuildBuddy is an open source Bazel build event viewer

Intro

BuildBuddy is an open source Bazel build event viewer. It helps you collect, view, share and debug build events in a user-friendly web UI.

It's written in Golang and React and can be deployed as a Docker image. It's run both as a cloud hosted service and can be deployed to your cloud provider or run on-prem. BuildBuddy's core is open sourced in this repo under the MIT License.

Features

  • Build summary & build log - a high level overview of the build including who initiated the build, how long it took, how many targets were affected, etc. The build log makes it easy to share stack traces and errors with teammates which makes collaborative debugging easier.

  • Targets & timing - see which targets and tests passed / failed along with timing information so you can debug slow builds and tests.

  • Invocation details - see all of the explicit flags, implicit options, and environment variables that affect your build. This is particularly useful when a build is working on one machine but not another - you can compare these and see what's different.

  • Artifacts - get a quick view of all of the build artifacts that were generated by this invocation so you can easily access them.

  • Raw log - you can really dig into the details here. This is a complete view of all of the events that get sent up via Bazel's build event protocol. If you find yourself digging in here too much, let us know and we'll surface that info in a nicer UI.

Get started

Getting started with Buildbuddy is simple. Just add these two lines to your .bazelrc file.

.bazelrc

build --bes_results_url=https://app.buildbuddy.io/invocation/
build --bes_backend=grpc://events.buildbuddy.io:1985

This will print a Buildbuddy url containing your build results at the beginning and end of every Bazel invocation. You can command click / double click on these to open the results in a browser.

Want more control? Want to get your whole team set up? Get up and running fast with the cloud hosted BuildBuddy.io service.

If you'd like to host your own instance on-premises or in the cloud, check out our getting started guide.

Questions?

If you have any questions, e-mail us at hello@buildbuddy.io. We’d love to chat!

About

BuildBuddy is an open source Bazel build event viewer.

https://buildbuddy.io

License:MIT License


Languages

Language:TypeScript 34.4%Language:Go 34.0%Language:Starlark 23.4%Language:CSS 6.4%Language:HTML 1.1%Language:JavaScript 0.4%Language:Shell 0.2%