potiuk commented on issue #6867: [AIRFLOW-6315] Create .airflow_db_initialised 
always in tests dir
URL: https://github.com/apache/airflow/pull/6867#issuecomment-568074992
 
 
   I think it's more to that. We should not create it in the test folder 
because it is shared between host and container. So rather than removing it in 
the "entrypoint" I'd crate it in ${AIRFLOW_HOME} (fallback to ${HOME}/airflow 
if AIRFLOW_HOME is not defined. This is easy to create and has the benefit that 
if you exit the container, it will be gone. Also you can run several containers 
in parallel this way with independently initialized database. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to