airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] dimberman commented on a change in pull request #3782: [AIRFLOW-2936] Use official Python images as base image for Docker
Date Thu, 23 Aug 2018 22:03:20 GMT
dimberman commented on a change in pull request #3782: [AIRFLOW-2936] Use official Python images
as base image for Docker
URL: https://github.com/apache/incubator-airflow/pull/3782#discussion_r212471258
 
 

 ##########
 File path: scripts/ci/kubernetes/docker/airflow-init.sh
 ##########
 @@ -17,9 +17,10 @@
 #  specific language governing permissions and limitations      *
 #  under the License.
 
-cd /usr/local/lib/python2.7/dist-packages/airflow && \
-cp -R example_dags/* /root/airflow/dags/ && \
+set -e
+
+cd /usr/local/lib/python3.7/site-packages/airflow/ && \
+cp -R example_dags/* /home/airflow/dags/ && \
 airflow initdb && \
 alembic upgrade heads && \
-(airflow create_user -u airflow -l airflow -f jon -e airflow@apache.org -r Admin -p airflow
|| true) && \
-echo "retrieved from mount" > /root/test_volume/test.txt
 
 Review comment:
   Why did you remove this line? Isn't this necessary for the volume mounting tests?

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


With regards,
Apache Git Services

Mime
View raw message