diff --git a/dags/dbt_advanced.py b/dags/dbt_advanced.py index 66e1308..8ecfb74 100644 --- a/dags/dbt_advanced.py +++ b/dags/dbt_advanced.py @@ -12,7 +12,7 @@ # We're hardcoding this value here for the purpose of the demo, but in a production environment this # would probably come from a config file and/or environment variables! -DBT_PROJECT_DIR = "/usr/local/airflow/dbt" +DBT_PROJECT_DIR = "include/dbt" DBT_ENV = { "DBT_USER": "{{ conn.postgres.login }}", diff --git a/dags/dbt_advanced_utility.py b/dags/dbt_advanced_utility.py index 471b47e..8eaf767 100644 --- a/dags/dbt_advanced_utility.py +++ b/dags/dbt_advanced_utility.py @@ -13,7 +13,7 @@ # We're hardcoding these values here for the purpose of the demo, but in a production environment these # would probably come from a config file and/or environment variables! -DBT_PROJECT_DIR = "/usr/local/airflow/dbt" +DBT_PROJECT_DIR = "include/dbt" DBT_GLOBAL_CLI_FLAGS = "--no-write-json" DBT_TARGET = "dev" DBT_TAG = "tag_staging" diff --git a/dags/dbt_basic.py b/dags/dbt_basic.py index 79c511e..050e5f6 100644 --- a/dags/dbt_basic.py +++ b/dags/dbt_basic.py @@ -11,7 +11,7 @@ # We're hardcoding this value here for the purpose of the demo, but in a production environment this # would probably come from a config file and/or environment variables! -DBT_PROJECT_DIR = "/usr/local/airflow/dbt" +DBT_PROJECT_DIR = "include/dbt" with DAG( diff --git a/dbt/data/.gitkeep b/include/dbt/data/.gitkeep similarity index 100% rename from dbt/data/.gitkeep rename to include/dbt/data/.gitkeep diff --git a/dbt/data/raw_customers.csv b/include/dbt/data/raw_customers.csv similarity index 100% rename from dbt/data/raw_customers.csv rename to include/dbt/data/raw_customers.csv diff --git a/dbt/data/raw_orders.csv b/include/dbt/data/raw_orders.csv similarity index 100% rename from dbt/data/raw_orders.csv rename to include/dbt/data/raw_orders.csv diff --git a/dbt/data/raw_payments.csv b/include/dbt/data/raw_payments.csv similarity index 100% rename from dbt/data/raw_payments.csv rename to include/dbt/data/raw_payments.csv diff --git a/dbt/dbt_project.yml b/include/dbt/dbt_project.yml similarity index 100% rename from dbt/dbt_project.yml rename to include/dbt/dbt_project.yml diff --git a/dbt/models/customers.sql b/include/dbt/models/customers.sql similarity index 100% rename from dbt/models/customers.sql rename to include/dbt/models/customers.sql diff --git a/dbt/models/docs.md b/include/dbt/models/docs.md similarity index 100% rename from dbt/models/docs.md rename to include/dbt/models/docs.md diff --git a/dbt/models/orders.sql b/include/dbt/models/orders.sql similarity index 100% rename from dbt/models/orders.sql rename to include/dbt/models/orders.sql diff --git a/dbt/models/overview.md b/include/dbt/models/overview.md similarity index 100% rename from dbt/models/overview.md rename to include/dbt/models/overview.md diff --git a/dbt/models/schema.yml b/include/dbt/models/schema.yml similarity index 100% rename from dbt/models/schema.yml rename to include/dbt/models/schema.yml diff --git a/dbt/models/staging/schema.yml b/include/dbt/models/staging/schema.yml similarity index 100% rename from dbt/models/staging/schema.yml rename to include/dbt/models/staging/schema.yml diff --git a/dbt/models/staging/stg_customers.sql b/include/dbt/models/staging/stg_customers.sql similarity index 100% rename from dbt/models/staging/stg_customers.sql rename to include/dbt/models/staging/stg_customers.sql diff --git a/dbt/models/staging/stg_orders.sql b/include/dbt/models/staging/stg_orders.sql similarity index 100% rename from dbt/models/staging/stg_orders.sql rename to include/dbt/models/staging/stg_orders.sql diff --git a/dbt/models/staging/stg_payments.sql b/include/dbt/models/staging/stg_payments.sql similarity index 100% rename from dbt/models/staging/stg_payments.sql rename to include/dbt/models/staging/stg_payments.sql diff --git a/dbt/profiles.yml b/include/dbt/profiles.yml similarity index 100% rename from dbt/profiles.yml rename to include/dbt/profiles.yml diff --git a/dbt/target/manifest.json b/include/dbt/target/manifest.json similarity index 100% rename from dbt/target/manifest.json rename to include/dbt/target/manifest.json