~/talk

Building a great CI w/ Bazel

Talkat BazelCon 2019 · 2019-12-11..12-12· [devops-and-delivery]
speakerdeck:philwo
slides:none on file

Built a CI that runs Bazel across Linux, macOS and Windows using Buildkite, adds sharding because RBE lacks macOS so Macs were the bottleneck, and cuts clone time with a prebuilt bare Git mirror. Uses bazel-remote for local caching (works on macOS CI), extracts failed-test logs from the BEP JSON to upload as artifacts, retries flaky tests with --flaky_test_attempts, and pins Bazel with bazelisk (repo-checked VERSION file) so upgrades are testable and reproducible.

AI-written summary · about

  1. 0:00Introduction
  2. 1:50Early CI challenges
  3. 5:38Feature requests and diversity
  4. 7:25Developer-friendly CI
  5. 9:10Network and repo handling
  6. 10:56Sharding tests
  7. 12:41Remote caching
  8. 14:05Cache correctness
  9. 15:51Bazel UI in CI
  10. 17:16Flaky tests and failures
  11. 18:18CI scripts structure
  12. 19:24Parsing Bazel logs
  13. 20:50Build Event Protocol
  14. 21:31Build performance analysis
  15. 22:38Managing flaky tests
  16. 23:21Optimizing keep_going
  17. 24:45SikbBus sandboxing
  18. 26:32Incompatible Bazel flags
  19. 27:57Xcode versions in CI
  20. 29:00Pinning Bazel versions
  21. 30:03Summary
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.