Skip to content

Commit 01c2575

Browse files
authored
Add Kuba and Payment models to dbt_daily DAG (#4520)
* List only models when running dbt list in deploy-dbt workflow * Add Kuba device mart incremental table to run daily [#4445]
1 parent d4dccba commit 01c2575

File tree

3 files changed

+5
-49
lines changed

3 files changed

+5
-49
lines changed

.github/workflows/deploy-dbt.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ jobs:
234234

235235
- name: List changed models
236236
working-directory: warehouse
237-
run: poetry run dbt list --select "${{ needs.dbt-changed.outputs.changed }}+" --target ${{ env.DBT_TARGET }}
237+
run: poetry run dbt list --select "${{ needs.dbt-changed.outputs.changed }}+" --target ${{ env.DBT_TARGET }} --resource-type=model
238238

239239
- name: Run dbt against changed files
240240
working-directory: warehouse

airflow/dags/dbt_daily_dag.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,10 @@
3737
"+fct_schedule_feed_downloads",
3838
"+fct_benefits_events",
3939
"stg_audit__cloudaudit_googleapis_com_data_access+",
40+
"+fct_kuba__device_properties",
41+
"models/staging/payments",
42+
"models/intermediate/payments",
43+
"models/mart/payments",
4044
],
4145
test_behavior=TestBehavior.AFTER_ALL,
4246
),

airflow/dags/dbt_payments_dag.py

Lines changed: 0 additions & 48 deletions
This file was deleted.

0 commit comments

Comments
 (0)