I'm starting learn dbt and I'm long time Airflow user. I've built, ran and tested a dbt model and I've pushed it to a remote repo. Now, I want pull this remote to another repo where is my Airflow DAGs. My Airflow structure is the following:
~/airflow
- .git
- dags/
But I have some questions:
- I read the
git submodulethe best way to pull my dbt repo on my Airflow repo. Am I correct? - Which location should I have to pull my dbt repo?
- If I built other dbt project, how shoud I have to config my dbt to support two projects?
I hope be clear, but let me know if you need any detail. Thanks for your help guys!