Gurjit Sandhu
11/01/2023, 5:11 PMvars:
disable_dbt_artifacts_autoupload: true
disable_dbt_invocation_autoupload: true
disable_run_results: true
disable_tests_results: trueGurjit Sandhu
11/01/2023, 5:12 PMSindre Grindheim
11/02/2023, 7:35 AMvars: should be properly left aligned.
We do this too and haven't had any issues.Gurjit Sandhu
11/02/2023, 5:21 PMSindre Grindheim
11/03/2023, 7:10 AMvars section in dbt_project.yml looks like below - we disable uploading results for developers (as identified by the target name), and only upload dbt artifacts during deploy (which is identified by the proxy full-refresh flag). Currently we have 2456 models and 2387 sources.
vars:
# Disable Elementary hooks for development
disable_run_results: "{{ 'release' not in target.name }}"
disable_tests_results: "{{ 'release' not in target.name }}"
disable_dbt_artifacts_autoupload: "{{ 'release' not in target.name or not flags.FULL_REFRESH }}"
disable_dbt_invocation_autoupload: "{{ 'release' not in target.name }}"