Skip to content

Commit

Permalink
Merge pull request #38 from Dorianteffo/dev_dorian
Browse files Browse the repository at this point in the history
airflow snowflake provider
  • Loading branch information
Dorianteffo committed Mar 21, 2024
2 parents 65de033 + a3f5d99 commit 32efc3b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/cd_airflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
TARGET: "/home/ubuntu/airflow"
SCRIPT_AFTER: |
cd airflow
docker compose down
docker build -t apache-airflow:dbt-snowflake-dorian .
docker compose up airflow-init
docker compose up -d
Expand Down
3 changes: 1 addition & 2 deletions airflow/dags/cosmos_dbt_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@
from datetime import datetime
from airflow.decorators import dag


DBT_PROJECT_PATH = "/opt/airflow/dags/dbt/dbt_transformation"
DBT_EXECUTABLE_PATH = "/opt/airflow/dbt_venv/bin/dbt"


# dev environment
profile_config_dev = ProfileConfig(
profile_name="modern_warehouse",
Expand All @@ -18,6 +16,7 @@
),
)


# profile for the prod env
profile_config_prod = ProfileConfig(
profile_name="modern_warehouse",
Expand Down

0 comments on commit 32efc3b

Please sign in to comment.