Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add scripts\in_container folder when all other sources are removed. #36129

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions scripts/ci/docker-compose/remove-sources.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@
---
services:
airflow:
# Removes airflow sources from container
volumes:
- ./empty:/opt/airflow/airflow:cached
# Removes airflow sources from container
- type: bind
source: ./empty
target: /opt/airflow/airflow:cached
# However we keep in_container scripts in order to be able to debug easily the scripts that
# are run with --mount-sources removed flag - such as installing airflow and providers
- type: bind
source: ../../../scripts/in_container
target: /opt/airflow/scripts/in_container:cached
Loading