Lint Like Lightning, Deploy Like a Ninja: Ruff + Dagger in Action
summary
Ruff replaces flake8, black and isort with a Rust engine that runs up to 100x faster and lints the OpenStack Nova repo (≈1,400 files) in about 0.03s, giving instant local and pre-commit feedback. Dagger lets CI be written as reusable, language‑agnostic functions so pipelines compose like libraries; demo shows a Python-defined workflow that runs Ruff, tests, and pushes to Kubernetes and plugs into GitHub Actions, cutting CI runtime and costs by ~50%.
AI-written summary · about
chapters (23)
- 0:00Welcome and introduction
- 0:48Speaker introduction
- 1:32Session overview and expectations
- 2:13Why code consistency matters
- 4:01Traditional linters and formatters
- 5:28Introducing Ruff and its benefits
- 6:33Real-life example with Ruff
- 7:36How to use Ruff effectively
- 8:42Understanding CI/CD pipelines
- 9:51Continuous integration explained
- 10:57Day 50 pipeline complexity
- 12:00Developer vs CI/CD perspectives
- 13:03Docker limitations at scale
- 14:08Problems with Docker in CI/CD
- 16:23Introducing Dagger's approach
- 17:06Dagger core building blocks
- 18:08Dagger's modularity feature
- 19:11Language-agnostic pipelines
- 20:13Practical Dagger implementation
- 22:23Integrating Dagger with existing CI
- 23:25Dagger in GitHub Actions
- 24:52Session summary and takeaways
- 25:15Q&A on Ruff and formatting
