diff --git a/dev/dags/jaffle_shop_kubernetes.py b/dev/dags/jaffle_shop_kubernetes.py index 2ed423ca2a..2f40f4513a 100644 --- a/dev/dags/jaffle_shop_kubernetes.py +++ b/dev/dags/jaffle_shop_kubernetes.py @@ -28,7 +28,8 @@ ) from cosmos.profiles import PostgresUserPasswordProfileMapping -DEFAULT_DBT_ROOT_PATH = Path(__file__).parent / "dbt" +DEFAULT_DBT_ROOT_PATH = Path(__file__).resolve().parent / "dbt" + DBT_ROOT_PATH = Path(os.getenv("DBT_ROOT_PATH", DEFAULT_DBT_ROOT_PATH)) AIRFLOW_PROJECT_DIR = DBT_ROOT_PATH / "jaffle_shop" diff --git a/scripts/airflow3/dags/jaffle_shop_kubernetes.py b/scripts/airflow3/dags/jaffle_shop_kubernetes.py new file mode 120000 index 0000000000..b77a4b410c --- /dev/null +++ b/scripts/airflow3/dags/jaffle_shop_kubernetes.py @@ -0,0 +1 @@ +../../../dev/dags/jaffle_shop_kubernetes.py \ No newline at end of file diff --git a/scripts/airflow3/requirements.txt b/scripts/airflow3/requirements.txt index decc3f9ed8..d9b73e2a36 100644 --- a/scripts/airflow3/requirements.txt +++ b/scripts/airflow3/requirements.txt @@ -2,6 +2,7 @@ apache-airflow apache-airflow-task-sdk apache-airflow-providers-standard apache-airflow-providers-fab +apache-airflow-providers-cncf-kubernetes psycopg2 asyncpg dbt-postgres