Elon Gliksberg
12/06/2022, 12:46 PMvars:
disable_run_results: "{{ target.name != 'prod' }}"
disable_dbt_artifacts_autoupload: "{{ (target.name != 'prod') | as_bool }}"
disable_dbt_invocation_autoupload: "{{ target.name != 'prod' }}"
...
The new version of the dbt package is 0.6.4, change the packages.yml and run dbt deps.
Thanks @Josh Elston-Green for reporting and helping us figure this out.
_Please note_: If you were using any of the disablement vars (disable_*) with a Jinja expression (most notably target.name != prod) rather than true or false,
up until now, it would've always been disabled regardless of the expression.
If you're interested, technicals details as to what was the problem in the thread ๐งต.Elon Gliksberg
12/06/2022, 12:46 PMFranny (Procore)
01/05/2023, 9:07 PMdbt_project.yml, then elementary will not run anything except on target prod, correct? Asking as we are looking at implementing this, but I don't want to make our analysts run elementary locally during development (both due to the extra processing time and the initial --select elementary I believe they would have to run)Elon Gliksberg
01/05/2023, 11:24 PMmodels:
elementary:
+enabled: "{{ target.name == 'prod' }}"
Let me know if you have any further questions,
would love to help.Franny (Procore)
01/05/2023, 11:25 PM