https://dagster.io/ logo
#dagster-cloud
Title
# dagster-cloud
a

Aliénor Lougerstay

01/25/2023, 5:02 PM
Trying to run dbt deps in the
dagster_cloud_post_install.sh
file which works well on “slow” deploy but this file does not seem to be run for fast deploys so I end up without the dbt packages installed and definitions will not load successfully. Any way to solve this or should we stick to slow deploys?
s

Shalabh Chaturvedi

01/25/2023, 5:08 PM
Hi Aliénor - yes
dagster_cloud_post_install.sh
only works with the slow deploys. If you want to package data with the fast deploys you can use the package data feature in setup.py: https://docs.python.org/3/distutils/setupscript.html#installing-package-data Any files you copy into you main package will also get copied to the current directory when it is run.
I wanted to share this example of how we package the dbt files for our quickstart repo, which works for fast deploys: • including the files in setup.pyreferencing the files Let me know if this helps.