dagster
dagster copied to clipboard
Handle `dbt deps` in DbtProject
Summary & Motivation
This PR updates DbtProject
and DagsterDbtManifestPreparer
to handle dbt deps
.
Process in DagsterDbtManifestPreparer
:
- Check for the presence of
dependencies.yml
orpackages.yml
- Check for the presence of
dbt_packages
- If (a) exists and (b) is not present, then run
dbt deps
. On subsequent manifest creation, we shouldn't need to redownload the deps.
Fixes our dbt NUX for dbt project including a dependencies.yml
file.
How I Tested These Changes
BK make apidoc-build dagster dev
This stack of pull requests is managed by Graphite. Learn more about stacking.
Join @maximearmstrong and the rest of your teammates on Graphite
Deploy preview for dagster-docs ready!
Preview available at https://dagster-docs-ogdpu020e-elementl.vercel.app https://maxime-run-dbt-deps-in-dbt-project.dagster.dagster-docs.io
Direct link to changed pages: