Open kokorin opened 3 months ago
Hi @kokorin, does providing --profiles-dir .
solve this issue for you? trying to understand the root cause
Sorry for not mentioning it, yes, explicit --profiles-dir
fixes the issue
Alright then, i am not sure that this is an incorrect behavior, but that the previous behavior was a nice side effect that was documented. I believe the course of action here is just to fix the documentation
@ofek1weiss I see that @kokorin is right and there is a bug in dbt: https://github.com/dbt-labs/dbt-core/issues/8997
Guys, can you update your docs if that is the case and specifiying a profiles-dir is a requirement, because your help message says that by default it looks into pwd. It is hard to troubleshoot that way.
Describe the bug EDR 0.16.1 doesn't find
profiles.yml
in current directory and complains about missing.dbt
folder in user's home directory. The bug appears on Ubuntu and not on Windows.Documentation says:
EDR 0.15.2 works correct.
To Reproduce Steps to reproduce the behavior:
profiles.yml
in DBT project, not in~/.dbt
edr monitor ...
without specifying--profiles-dir
optionPath '/root/.dbt' does not exist.
Expected behavior EDR sends monitoring notifications (if any).
Screenshots N/A
Environment (please complete the following information):
Additional context I believe the problem is in new DBT API runner. DBT internal API has a bug and it changes CWD after running
dbt deps
. Elementary runs several DBT commands, so I'm 80% sure it's the case.Elementary log:
Would you be willing to contribute a fix for this issue? Yes.