CI for dbt: Beyond the basics!
23rd August 2023
CI for dbt: Beyond the basics!
Introduction
Pádraic Slattery
Analytics Engineer @ Xebia Data
Lecturer @ University College Dublin
2
CI for dbt: Beyond the basics!
Expectations
3
CI for dbt: Beyond the basics!
What is Continuous Integration?
4
?
CI for dbt: Beyond the basics!
CI starts before pushing to your repo!
5
CI for dbt: Beyond the basics!
dbt-checkpoint
github.com/dbt-checkpoint/dbt-checkpoint
A dbt-native collection of pre-commit hooks
6
CI for dbt: Beyond the basics!
dbt Artifacts
7
CI for dbt: Beyond the basics!
The power of pytest
8
CI for dbt: Beyond the basics!
The power of pytest
9
CI for dbt: Beyond the basics!
Bonus points!
- Use the “state:modified” method to compare manifests
- Easily assess downstream impact on marts in large projects
- Emojis make everything better
10
CI for dbt: Beyond the basics!
11
CI for dbt: Beyond the basics!
Dedicated dataset per CI run
12
CI for dbt: Beyond the basics!
But building all the models is expensive!
13
CI for dbt: Beyond the basics!
Dedicated dataset per CI run: The sequel
14
CI for dbt: Beyond the basics!
Mart Monitor!
15
CI for dbt: Beyond the basics!
To be approve, or not to be approve
16
CI for dbt: Beyond the basics!
Summary
17
CI for dbt: Beyond the basics!
18
CI for dbt: Beyond the basics!
Colors
Primary
Secondary
19
CI for dbt: Beyond the basics!
Assets
20
CI for dbt: Beyond the basics!