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 2021/06/23 22:52:50 UTC

[GitHub] [airflow] zhangyi-hu opened a new issue #16621: Open up breeze container ssh access to support IDE remote development

zhangyi-hu opened a new issue #16621:
URL: https://github.com/apache/airflow/issues/16621


   
   **Description**
   
   The breeze container is the preferred way of development setup since it provides a full-fledged and isolated environment. However, breeze container is not very suitable for IDE development. 
   
   **Use case / motivation**
   
   My IDEs actually support remote development and the only additional requirement is for a host to support ssh connection. 
   We can make breeze container support ssh connection by adding two changes:
   
   1. Add a password to user airflow for the CI Docker image. 
   2. Add a portforward to 22 from host. 
   
   **Are you willing to submit a PR?**
   
   Yes a PR is on the way
   
   **Setup with Pycharm pro**
   
   1. Add a ssh configuration, with user airflow and password airflow and the default ssh port 12322, (12322 will be forward to 22)
   2. Add a remote ssh interpreter, (airflow@localhost:12322/usr/local/bin/python)
   3. Add two source mappings from local source to container: <source root>/airflow -> /opt/airflow/airflow; <source root>/tests -> /opt/airflow/tests.
   4. Set the unnit test framework for this project as pytest.  
   
   After those steps, one will be able to set breakpoints and debug through the python codes in Pycharm. 
   


-- 
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



[GitHub] [airflow] potiuk commented on issue #16621: Open up breeze container ssh access to support IDE remote development

Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #16621:
URL: https://github.com/apache/airflow/issues/16621#issuecomment-867437318


   Nice :)


-- 
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



[GitHub] [airflow] potiuk closed issue #16621: Open up breeze container ssh access to support IDE remote development

Posted by GitBox <gi...@apache.org>.
potiuk closed issue #16621:
URL: https://github.com/apache/airflow/issues/16621


   


-- 
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



[GitHub] [airflow] zhangyi-hu commented on issue #16621: Open up breeze container ssh access to support IDE remote development

Posted by GitBox <gi...@apache.org>.
zhangyi-hu commented on issue #16621:
URL: https://github.com/apache/airflow/issues/16621#issuecomment-867238122


   Will create a PR from branch: https://github.com/zhangyi-hu/airflow/tree/breeze_container_ssh_remote_debugging after https://github.com/apache/airflow/pull/16617 is merged. 


-- 
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



[GitHub] [airflow] potiuk commented on issue #16621: Open up breeze container ssh access to support IDE remote development

Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #16621:
URL: https://github.com/apache/airflow/issues/16621#issuecomment-867866057


   The #16617 merged. Looking forward to the SSH/Breeze one


-- 
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