Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dbt Cloud & airflow: best of friends #16

Open
wants to merge 31 commits into
base: master
Choose a base branch
from
Open

dbt Cloud & airflow: best of friends #16

wants to merge 31 commits into from

Conversation

sungchun12
Copy link
Owner

@sungchun12 sungchun12 commented Jun 29, 2021

Merge Request Description

  • Demonstrate how dbt Cloud can work well with airflow
  • Give people easy code examples to follow and copy for themselves
  • Using XCOM push and pull with KubernetesPodOperator
  • Airflow 2.1.0 for improved UI and speed

Checklist

  • I ran this code locally(attached screenshot)
  • I wrote the necessary PASSING tests(attached screenshot)(I performed a dry run)
  • I covered my code with type-hints
    image
    image
    image
    Passing dbt Cloud job run
    Checkov and Terragrunt CICD checks are intended to fail

Considerations

  • I had to make a manual git clone https for my local setup which will break the Google Cloud setup inherently because Cloud Composer can't freely access the public internet with the current configs. I have to allow Google Cloud access to the dbt Labs github organization which is too risky for this project.
  • I had to enable cloud source repos api manually, but this is a trivial issue given the above. What matters is that I get my airflow toolkit to work locally
  • This will be a good demo to show off how dbt Core can work well with Google Cloud AND a side by side comparison of how airflow can work with dbt Cloud smoothly.
  • ONLY Toolkit #1 is in scope for the changes here
  • This pull request SHOULD NOT be merged until the cloud source mirror repo issue is resolved
  • Airflow 2.0 is MUCH FASTER and the UI is much cleaner and modern compared to Airflow 1.0

@sungchun12 sungchun12 changed the title Demo sung dbt Cloud & airflow: best of friends Jul 6, 2021
@sungchun12 sungchun12 added the demo label Jul 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant