Skip to content

Commit eea17a6

Browse files
Merge pull request #6 from include-dcc/adr/cf/development-lifecycle
📝 Adr on development workflow
2 parents d38aaa2 + 92fd689 commit eea17a6

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
# These are optional metadata elements. Feel free to remove any of them.
3+
status: "proposed"
4+
date: 2025-12-01
5+
---
6+
7+
# dbt Model Deployment in Airflow
8+
9+
## Context
10+
11+
There needs to be a decision regarding the development lifecycle of dbt models.
12+
13+
## Decision
14+
15+
The steps of the development lifecycle are described below:
16+
17+
1. New study comes in and sources are loaded into the warehouse
18+
2. Developer(s) are assigned to harmonize the study into the warehouse.
19+
3. A new directory for the study in the appropriate program directory is created
20+
4. In the root of this directory is a `sources.yml` file making the source
21+
tables loaded in step 1 accessible to dbt.
22+
5. in the `internal` directory of the study's directory, models are written that
23+
harmonize the source data. There may be an arbitrary number of structural
24+
and semantic harmonization steps performed in the internal data stage as
25+
required, depending on the complexity of transformations required by the
26+
source data
27+
6. models extracting from the result of `internal` models are written in the
28+
`stable` directory.
29+
7. the dbt models for the study are run and tested by the developer(s) writing
30+
the models.
31+
8. Changes are pushed to github, a pull request is created and reviewed.
32+
9. After review is completed and the pull request is approved by reviewers, the
33+
pull request is merged.

0 commit comments

Comments
 (0)