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 2022/10/11 03:47:16 UTC
[GitHub] [airflow] uranusjr commented on a diff in pull request #26974: Add FTP Operator
uranusjr commented on code in PR #26974:
URL: https://github.com/apache/airflow/pull/26974#discussion_r991788170
##########
scripts/docker/entrypoint_ci.sh:
##########
@@ -221,6 +221,12 @@ if [[ ${SKIP_ENVIRONMENT_INITIALIZATION=} != "true" ]]; then
ssh-keyscan -H localhost >> ~/.ssh/known_hosts 2>/dev/null
fi
+ sudo apt-get update && sudo apt-get install -y vsftpd
+ mkdir /ftphome
+ sudo chown airflow:airflow /ftphome
+ echo "write_enable=YES" >> /etc/vsftpd.conf
+ sudo service vsftpd restart
Review Comment:
I’d prefer simply mocking `ftplib` for testing.
--
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.
To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org