Skip to content

Commit

Permalink
hotfix: bad reference in dbt_profiles_dir
Browse files Browse the repository at this point in the history
should reference inside the container instead of outside the container
  • Loading branch information
diegoquintanav committed Sep 2, 2024
1 parent c7a51a9 commit 41583a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dags/dbt_test_quality_dset.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ def dbapi_to_dict(dbapi: str):
"S3_SECRET_KEY": s3_secret_key,
"S3_ENDPOINT": s3_endpoint,
"DBT_PACKAGES_INSTALL_PATH": "/home/somenergia/.dbt/dbt_packages",
"DBT_PROFILES_DIR": "/opt/airflow/repos/somenergia-jardiner/dbt_jardiner/config", # noqa
"DBT_PROJECT_DIR": "/opt/airflow/repos/somenergia-jardiner/dbt_jardiner",
"DBT_PROFILES_DIR": "/repos/somenergia-jardiner/dbt_jardiner/config",
"DBT_PROJECT_DIR": "/repos/somenergia-jardiner/dbt_jardiner",
}

image = "harbor.somenergia.coop/dades/somenergia-jardiner-dbt-deps:latest"
Expand Down
4 changes: 2 additions & 2 deletions dags/dset_materialize_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ def dbapi_to_dict(dbapi: str):
"DBPORT": dbapi_dict["port"],
"DBNAME": dbapi_dict["database"],
"DBT_PACKAGES_INSTALL_PATH": "/home/somenergia/.dbt/dbt_packages",
"DBT_PROFILES_DIR": "/opt/airflow/repos/somenergia-jardiner/dbt_jardiner/config", # noqa
"DBT_PROJECT_DIR": "/opt/airflow/repos/somenergia-jardiner/dbt_jardiner",
"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 41583a8

Please sign in to comment.