~/talk

Designing a language Agnostic CI using Bazel queries

Talkat BazelCon 2020 · on Thursday, 2020-11-12· [devops-and-delivery, open-source]
links:none on file
slides:none on file

Pinterest replaces a fragile Python dispatcher with a tested Go CLI called build collector that takes two git SHAs, runs Bazel queries (set, rdeps/deps, tests, kind and sky query), and emits JSON lists of targets for test, build and release stages. It cuts runs against a Java monorepo of 250 services and ~7,000 Bazel targets by computing minimal affected targets instead of rebuilding everything, and uses artifact CI release and artifact dev release macros to enforce push-before-manifest ordering.

AI-written summary · about

  1. 0:00CI with Bazel queries intro
  2. 1:04Pinterest monorepo Bazel migration
  3. 3:34New CI tooling requirements
  4. 4:38Build Collector design
  5. 5:41Bazel queries for file changes
  6. 8:05CI stages and code confidence
  7. 9:51Filtering test release targets
  8. 10:58Custom release macros performance
  9. 13:25Developer experience with rules
  10. 15:11Build Collector in CI stages
  11. 16:13New system achievements
  12. 16:55Future plans for tests scaling
~/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.