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/07/31 05:24:01 UTC

[GitHub] [airflow] bravefoot opened a new pull request #17354: Add Docker Sensor

bravefoot opened a new pull request #17354:
URL: https://github.com/apache/airflow/pull/17354


   <!--
   Thank you for contributing! Please make sure that your code changes
   are covered with tests. And in case of new features or big changes
   remember to adjust the documentation.
   
   Feel free to ping committers for the review!
   
   In case of existing issue, reference it using one of the following:
   
   closes: #ISSUE
   related: #ISSUE
   
   How to write a good git commit message:
   http://chris.beams.io/posts/git-commit/
   -->
   
   ---
   **^ Add meaningful description above**
   
   Read the **[Pull Request Guidelines](https://github.com/apache/airflow/blob/main/CONTRIBUTING.rst#pull-request-guidelines)** for more information.
   In case of fundamental code change, Airflow Improvement Proposal ([AIP](https://cwiki.apache.org/confluence/display/AIRFLOW/Airflow+Improvements+Proposals)) is needed.
   In case of a new dependency, check compliance with the [ASF 3rd Party License Policy](https://www.apache.org/legal/resolved.html#category-x).
   In case of backwards incompatible changes please leave a note in [UPDATING.md](https://github.com/apache/airflow/blob/main/UPDATING.md).
   


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



[GitHub] [airflow] mik-laj commented on a change in pull request #17354: Add Docker Sensor

Posted by GitBox <gi...@apache.org>.
mik-laj commented on a change in pull request #17354:
URL: https://github.com/apache/airflow/pull/17354#discussion_r680374393



##########
File path: airflow/providers/docker/hooks/docker.py
##########
@@ -17,13 +17,70 @@
 # under the License.
 from typing import Dict, Optional
 
-from docker import APIClient
+from docker import APIClient, tls
 from docker.errors import APIError
 
 from airflow.exceptions import AirflowException
 from airflow.hooks.base import BaseHook
 from airflow.utils.log.logging_mixin import LoggingMixin
 
+"""

Review comment:
       Docstring should be in method/class, not above it.




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



[GitHub] [airflow] potiuk commented on pull request #17354: Add Docker Sensor

Posted by GitBox <gi...@apache.org>.
potiuk commented on pull request #17354:
URL: https://github.com/apache/airflow/pull/17354#issuecomment-890303249


   Some statoc checks and docs are failing


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



[GitHub] [airflow] bravefoot commented on a change in pull request #17354: Add Docker Sensor

Posted by GitBox <gi...@apache.org>.
bravefoot commented on a change in pull request #17354:
URL: https://github.com/apache/airflow/pull/17354#discussion_r680442829



##########
File path: airflow/providers/docker/hooks/docker.py
##########
@@ -17,13 +17,70 @@
 # under the License.
 from typing import Dict, Optional
 
-from docker import APIClient
+from docker import APIClient, tls
 from docker.errors import APIError
 
 from airflow.exceptions import AirflowException
 from airflow.hooks.base import BaseHook
 from airflow.utils.log.logging_mixin import LoggingMixin
 
+"""

Review comment:
       Thanks for the tip. I moved it.




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



[GitHub] [airflow] github-actions[bot] closed pull request #17354: Add Docker Sensor

Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed pull request #17354:
URL: https://github.com/apache/airflow/pull/17354


   


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



[GitHub] [airflow] github-actions[bot] closed pull request #17354: Add Docker Sensor

Posted by GitBox <gi...@apache.org>.
github-actions[bot] closed pull request #17354:
URL: https://github.com/apache/airflow/pull/17354


   


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



[GitHub] [airflow] github-actions[bot] commented on pull request #17354: Add Docker Sensor

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on pull request #17354:
URL: https://github.com/apache/airflow/pull/17354#issuecomment-924475476


   This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 5 days if no further activity occurs. Thank you for your contributions.


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



[GitHub] [airflow] potiuk commented on pull request #17354: Add Docker Sensor

Posted by GitBox <gi...@apache.org>.
potiuk commented on pull request #17354:
URL: https://github.com/apache/airflow/pull/17354#issuecomment-890591714


   Seems like tests need fixing @bravefoot 


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