Closed jeremybeard closed 3 months ago
Attention: Patch coverage is 63.52941%
with 124 lines
in your changes missing coverage. Please review.
Project coverage is 86.35%. Comparing base (
d79dc21
) to head (a7d14af
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@rujhan-arora-astronomer Looping you in since there are some changes to the software code because of change in a common util function.
Description
This change adds a new command
astro dbt deploy
for deploying a dbt project to a deployment independently of the Astro project of the deployment. This uses the new bundle deploy type, where arbitrary files can be mounted on the Airflow containers at a selected mount path.The selection of the deployment is in line with
astro deploy
, where a deployment id argument can be provided, or one can be selected from a list.By default the dbt project will be mounted on the Airflow containers at
/usr/local/airflow/dbt/{dbt project name}
, where the project name is extracted from the dbt project'sdbt_project.yml
file. This mount path can be overridden with--mount-path
.The command is currently hidden behind the CLI config
dbt_deploys_enabled
until the feature is GA.The
goerr113
lint rule is also removed because it was repeatedly being overridden, and doesn't seem to add a lot of value.🧪 Functional Testing
astro dbt deploy
and manually downloaded the bundle to confirm its contentsastro deploy --dags
to confirm DAG deploys are not impacted📸 Screenshots
📋 Checklist
make test
before taking out of draftmake lint
before taking out of draft