Running a Start-up on Bazel
summary
A 10‑engineer company runs Bazel on roughly 1 MM LOC across about 850 build files and ~3600 targets, migrating Go first (live May 2022) and using Gazelle for autogeneration. Remote GCS caching plus stateful CI runners yields full‑repo builds in under 10 minutes. Kotlin multiplatform gaps force custom rules and hosting Gradle inside Bazel; developer pain around IDE previews leads to a forked Android Studio plugin to restore Compose and XML tooling.
AI-written summary · about
chapters (22)
- 0:00Introduction
- 0:43What this talk is not
- 1:05Who are Ergatta
- 2:31Repositories
- 4:44Team Size
- 6:12Starting with Bazel
- 7:10Vertical scale
- 7:36What do we like
- 7:51GCS Cache
- 8:41CI
- 8:56Rules
- 10:03Deploying
- 11:04Slack Group
- 12:38What we dont like
- 15:22How to make it work
- 15:46Get Scrappy
- 16:27Build Files
- 16:59Community
- 17:48Benefits of Bazel
- 18:01How would you do it again
- 20:09Would you start another company today
- 21:25Questions
