You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2019/04/03 10:28:52 UTC

[GitHub] [airflow] potiuk commented on issue #4938: [AIRFLOW-4117] Multi-staging Image - Travis CI tests [Step 3/3]

potiuk commented on issue #4938: [AIRFLOW-4117] Multi-staging Image - Travis CI tests [Step 3/3]
URL: https://github.com/apache/airflow/pull/4938#issuecomment-479432212
 
 
   @Fokko  -> i understand being busy. I am quite busy myself now so I move it in a slower pace than I would like to (the remainig tests and kubernetes parts). 
   
   Answering the mysql part -> we are only installing client libraries for mysql not the server ones. Our python mysql library(https://pypi.org/project/mysqlclient/)  requires mysql-client and libmysqlclient-dev native libraries to be installed. Since we are using debian-stretch as a base (this is what official python images use as a base), default mysql libraries are actually mariadb ones not the "oracle mysql" ones. They are supposed to be compatible (mariadb is fork of mysql).
   
   I figured that Airflow's target is the original "MySQL" rather than "MariaDB" so I think using "official" libs from Oracle might be better choice for CI build - that's why we have separate step to install Oracle libs (following official instructions). It's a bit long because you need to install Oracle Keys and set-up repos, but it boils down to:
   
   `apt-get install --no-install-recommends -y mysql-client libmysqlclient-dev
   `
   
   Note that Ubuntu has Oracle MySQL installed by default rather than MariaDB, so I guess most of airflow users will also have the MySQL client rather than MariaDB.
   
   

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services