Slide 1

Slide 1 text

BAZEL FOR RUBY SF BAY AREA RUBY MEETUP @ JAN 16, 2025

Slide 2

Slide 2 text

ALEX RODIONOV - Quality Architect @ Toptal - Author @ Maccy - Ruby maintainer @ Selenium - Co-founder @ Alumnium.ai - Member @ Bazel Rules SIG

Slide 3

Slide 3 text

- Build and test tool - Open source and created at Google - Designed for monorepos - Polyglot (Java, Python, Go, JavaScript, etc.) - Extremely e ffi cient and scalable - Hermetic - Supports remote caching and remote execution WHAT IS BAZEL?

Slide 4

Slide 4 text

WHAT IS BAZEL BUILD?

Slide 5

Slide 5 text

WHAT IS BAZEL BUILD?

Slide 6

Slide 6 text

WHAT IS BAZEL TEST?

Slide 7

Slide 7 text

IT’S A GRAPH

Slide 8

Slide 8 text

IT’S EFFICIENT

Slide 9

Slide 9 text

IT’S POLYGLOT

Slide 10

Slide 10 text

IT’S POLYGLOT - rules_java - rules_python - rules_nodejs - rules_ts - rules_go - rules_rust - rules_oci (Docker) - rules_helm - … - rules_ruby

Slide 11

Slide 11 text

- Supports Ruby language in Bazel ecosystem - Installs Ruby itself (MRI, JRuby, Tru ff l eRuby) - Installs dependencies via Bundler - Provides interface for common operations - rb_library - rb_gem_build - rb_gem_push - rb_binary - rb_test RULES_RUBY

Slide 12

Slide 12 text

DEMO

Slide 13

Slide 13 text

- https://bazel.build/ - https://github.com/bazel-contrib/rules_ruby - https://bazelbuild.slack.com/channels/ruby - p0deje@gmail.com THANK YOU!