Skip to content

Commit

Permalink
fix(#182): changing path name
Browse files Browse the repository at this point in the history
  • Loading branch information
witash committed Nov 21, 2024
1 parent d8e8324 commit c7bf41f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion dbt/dbt-run.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def get_package():

if os.getenv("DBT_LOCAL_PATH"):
package_json = json.dumps({"packages": [{
"local": '/dbt/local/'
"local": '/dbt/package/'
}]})

with open("/dbt/packages.yml", "w") as f:
Expand Down
4 changes: 1 addition & 3 deletions docker-compose.local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ services:
build: ./dbt/
working_dir: /dbt/
volumes:
- "${DBT_LOCAL_PATH:-dbt}:/dbt/local/"
- "${DBT_LOCAL_PATH}:/dbt/package/"
environment:
- POSTGRES_HOST=${POSTGRES_HOST}
- POSTGRES_USER=${POSTGRES_USER}
Expand All @@ -37,7 +37,5 @@ services:
- POSTGRES_TABLE=${POSTGRES_TABLE}
- POSTGRES_SCHEMA=${POSTGRES_SCHEMA}
- ROOT_POSTGRES_SCHEMA=${POSTGRES_SCHEMA}
- CHT_PIPELINE_BRANCH_URL=${CHT_PIPELINE_BRANCH_URL}
- DATAEMON_INTERVAL=${DATAEMON_INTERVAL}
- DBT_PACKAGE_TARBALL_URL=${DBT_PACKAGE_TARBALL_URL}
- DBT_LOCAL_PATH=${DBT_LOCAL_PATH}

0 comments on commit c7bf41f

Please sign in to comment.