Skip to content

Commit

Permalink
Merge pull request #21 from Dorianteffo/dev_dorian
Browse files Browse the repository at this point in the history
airflow cd
  • Loading branch information
Dorianteffo committed Mar 20, 2024
2 parents 17cf6dd + f71ad3b commit b3a843e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 6 additions & 3 deletions airflow/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
FROM apache/airflow:2.8.0
FROM apache/airflow:2.8.3

COPY requirements.txt /

RUN pip install apache-airflow==${AIRFLOW_VERSION} astronomer-cosmos
RUN virtualenv /dbt_venv
RUN /dbt_venv/bin/pip install dbt-snowflake

RUN python -m venv dbt_venv && source dbt_venv/bin/activate && \
pip install --no-cache-dir dbt-snowflake && deactivate

# RUN python -m venv dbt_venv && source dbt_venv/bin/activate && \
# pip install --no-cache-dir dbt-snowflake && deactivate
1 change: 0 additions & 1 deletion airflow/dags/cosmos_dbt_dag.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
),
)


profile_config_prod = ProfileConfig(
profile_name="modern_warehouse",
target_name="prod",
Expand Down

0 comments on commit b3a843e

Please sign in to comment.