Skip to content

Commit

Permalink
fix: add dbt_project_dir to snapshot dag (et/somenergia-jardiner!157)
Browse files Browse the repository at this point in the history
Merge branch 'fix/dags-not-finding-dbt-models' into 'main'
  • Loading branch information
diegoquintanav committed Sep 11, 2024
2 parents 93fa112 + b774cec commit 0a38d30
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dags/dag_jardiner_dbt_snapshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,8 @@ def dbapi_to_dict(dbapi: str) -> dict:
"DBPORT": dbapi_dict["port"],
"DBNAME": dbapi_dict["database"],
"DBT_PACKAGES_INSTALL_PATH": "/home/somenergia/.dbt/dbt_packages",
"DBT_PROFILES_DIR": "/repos/somenergia-jardiner/dbt_jardiner/config",
"DBT_PROJECT_DIR": "/repos/somenergia-jardiner/dbt_jardiner",
}

dbt_transformation_task = DockerOperator(
Expand Down

0 comments on commit 0a38d30

Please sign in to comment.