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_r213867121
 
 

 ##########
 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 [email protected] -r 
Admin -p airflow || true) && \
-echo "retrieved from mount" > /root/test_volume/test.txt
 
 Review comment:
   So the reason this line didn't break the CI is because a previous PR 
silently broke all kubernetes tests. I'm actively trying to fix this and will 
report back when I have it working.

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to