Patrick Pedersen (NAV)
11/23/2023, 11:27 AMdbt deps in its own dbt project inside site-packages to download dbt packages even if --project-dir is defined. Is there a easy way to circumvent this or do I have to manually run dbt deps inside site-packages in the container build step? See 🧵 for logs.Patrick Pedersen (NAV)
11/23/2023, 11:35 AM--project-dir and --profiles-dir is using the same variable (DBT_PATH).
edr send-report \
--slack-token $TOKEN \
--slack-channel-name $CHANNEL_INFO \
--profiles-dir $DBT_PATH \
--project-dir $DBT_PATH \
--target-path $EDR_TARGET_PATH \
--config-dir $SCRIPTPATH \
--disable-samples true
Output in log:
2023-11-23 11:47:34 — INFO — Running with edr=0.12.0
2023-11-23 11:47:34 — INFO — Running dbt --log-format json deps --project-dir /Users/patrick/git/vdl-faktura/elementary/.venv/lib/python3.11/site-packages/elementary/monitor/dbt_project --profiles-dir /Users/patrick/git/vdl-faktura/dbtDaniel Pollak
11/23/2023, 1:23 PMdbt deps only if they are not.
So, running dbt deps as a build step will solve it.Patrick Pedersen (NAV)
11/23/2023, 2:47 PM--project-dir supposed to do? I can’t see any difference in behaviour if elementary finds my project or not.Patrick Pedersen (NAV)
11/24/2023, 2:28 PM