Skip to content

Commit

Permalink
Merge pull request #23 from meaningfy-ws/feature/TED-90
Browse files Browse the repository at this point in the history
fixed airflow network and symbolic links
  • Loading branch information
costezki authored Mar 11, 2022
2 parents 86d909f + aa2760a commit c94ef34
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ create-env-airflow:
@ echo -e "$(BUILD_PRINT) Create Airflow env $(END_BUILD_PRINT)"
@ echo -e "$(BUILD_PRINT) ${AIRFLOW_INFRA_FOLDER} ${ENVIRONMENT} $(END_BUILD_PRINT)"
@ mkdir -p ${AIRFLOW_INFRA_FOLDER}/logs ${AIRFLOW_INFRA_FOLDER}/plugins ${AIRFLOW_INFRA_FOLDER}/.env
@ ln -s -f ${PROJECT_PATH}/dags ${AIRFLOW_INFRA_FOLDER}/dags
@ ln -s -f ${PROJECT_PATH}/ted_sws ${AIRFLOW_INFRA_FOLDER}/ted_sws
@ ln -s -f -n ${PROJECT_PATH}/dags ${AIRFLOW_INFRA_FOLDER}/dags
@ ln -s -f -n ${PROJECT_PATH}/ted_sws ${AIRFLOW_INFRA_FOLDER}/ted_sws
@ chmod 777 ${AIRFLOW_INFRA_FOLDER}/logs ${AIRFLOW_INFRA_FOLDER}/plugins ${AIRFLOW_INFRA_FOLDER}/.env

build-airflow: guard-ENVIRONMENT create-env-airflow build-externals
Expand Down
6 changes: 6 additions & 0 deletions infra/airflow/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@ services:
restart: unless-stopped
networks:
- airflow
- airflow-ext
depends_on:
<<: *airflow-common-depends-on
airflow-init:
Expand All @@ -186,6 +187,7 @@ services:
restart: unless-stopped
networks:
- airflow
- airflow-ext
depends_on:
<<: *airflow-common-depends-on
airflow-init:
Expand Down Expand Up @@ -306,6 +308,10 @@ networks:
airflow:
internal: true
name: airflow-${ENVIRONMENT}
networks:
airflow-ext:
internal: false
name: airflow-ext-${ENVIRONMENT}
proxy-net:
external:
name: proxy-net

0 comments on commit c94ef34

Please sign in to comment.