8000 GitHub - CesarOliart/airflow-dbt: Airflow 2.2 with dbt
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

CesarOliart/airflow-dbt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AIRFLOW 2.2.4 WITH DBT

In this repo you would get and airflow local environment with dbt (0.21.1) installed and ready to go

Steps to Install

  1. Install Docker

  2. Install Docker Compose

  3. On the .env add the AIRFLOW_UID ( to get this value execute echo -e "AIRFLOW_UID=$(id -u)" on terminal)

  4. Add .env variables that are needed

  5. Run docker-compose build, to build airflow image

  6. Run docker-compose up airflow-init, init airflow postgress db

  7. Run docker-compose up, up all airflow services

For DBT:

Add your dbt project into ./dbt folder

Requirements:

  1. dbt version supported == 0.21.

  2. Should include a ./dbt/profiles.yml to referrer it on airflow dags

  3. There is a .env file with a few variables that would be required to set it up the dbt profile

About

Airflow 2.2 with dbt

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0