Skip to content

Commit

Permalink
updated the dags folder access from read only to shared in scheduler …
Browse files Browse the repository at this point in the history
…container (#1003)
  • Loading branch information
neel-astro committed Jan 12, 2023
1 parent 1876b5f commit f0edf27
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions airflow/docker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ services:
- postgres
environment: *common-env-vars
volumes:
- airflow_home/dags:/usr/local/airflow/dags:ro
- airflow_home/dags:/usr/local/airflow/dags:z
- airflow_home/plugins:/usr/local/airflow/plugins:z
- airflow_home/include:/usr/local/airflow/include:z
- airflow_home/tests:/usr/local/airflow/tests:z
Expand Down Expand Up @@ -221,7 +221,7 @@ services:
- postgres
environment: *common-env-vars
volumes:
- airflow_home/dags:/usr/local/airflow/dags:ro
- airflow_home/dags:/usr/local/airflow/dags:z
- airflow_home/plugins:/usr/local/airflow/plugins:z
- airflow_home/include:/usr/local/airflow/include:z
- airflow_home/tests:/usr/local/airflow/tests:z
Expand Down
2 changes: 1 addition & 1 deletion airflow/include/composeyml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ services:
- postgres
environment: *common-env-vars
volumes:
- {{ .AirflowHome }}/dags:/usr/local/airflow/dags:ro
- {{ .AirflowHome }}/dags:/usr/local/airflow/dags:{{ .MountLabel }}
- {{ .AirflowHome }}/plugins:/usr/local/airflow/plugins:{{ .MountLabel }}
- {{ .AirflowHome }}/include:/usr/local/airflow/include:{{ .MountLabel }}
- {{ .AirflowHome }}/tests:/usr/local/airflow/tests:{{ .MountLabel }}
Expand Down

0 comments on commit f0edf27

Please sign in to comment.