[ 
https://issues.apache.org/jira/browse/AIRFLOW-3008?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16606450#comment-16606450
 ] 

ASF GitHub Bot commented on AIRFLOW-3008:
-----------------------------------------

r39132 closed pull request #3848: [AIRFLOW-3008] Move Kubernetes example DAGs 
to contrib
URL: https://github.com/apache/incubator-airflow/pull/3848
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/airflow/example_dags/example_kubernetes_annotation.py 
b/airflow/contrib/example_dags/example_kubernetes_annotation.py
similarity index 100%
rename from airflow/example_dags/example_kubernetes_annotation.py
rename to airflow/contrib/example_dags/example_kubernetes_annotation.py
diff --git a/airflow/example_dags/example_kubernetes_executor.py 
b/airflow/contrib/example_dags/example_kubernetes_executor.py
similarity index 100%
rename from airflow/example_dags/example_kubernetes_executor.py
rename to airflow/contrib/example_dags/example_kubernetes_executor.py
diff --git a/airflow/example_dags/example_kubernetes_operator.py 
b/airflow/contrib/example_dags/example_kubernetes_operator.py
similarity index 100%
rename from airflow/example_dags/example_kubernetes_operator.py
rename to airflow/contrib/example_dags/example_kubernetes_operator.py
diff --git a/tests/core.py b/tests/core.py
index f8b8691912..4f21ae3fb3 100644
--- a/tests/core.py
+++ b/tests/core.py
@@ -72,7 +72,7 @@
 
 import six
 
-NUM_EXAMPLE_DAGS = 21
+NUM_EXAMPLE_DAGS = 18
 DEV_NULL = '/dev/null'
 TEST_DAG_FOLDER = os.path.join(
     os.path.dirname(os.path.realpath(__file__)), 'dags')


 

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


> Move Kubernetes related example DAGs to contribe/example_dags
> -------------------------------------------------------------
>
>                 Key: AIRFLOW-3008
>                 URL: https://issues.apache.org/jira/browse/AIRFLOW-3008
>             Project: Apache Airflow
>          Issue Type: Improvement
>            Reporter: Kaxil Naik
>            Assignee: Kaxil Naik
>            Priority: Major
>             Fix For: 1.10.1
>
>
> Kubeternetes executor and operators are a part of contrib folder, hence the 
> associated example DAGs should also move to `airflow/contrib/example_dags` 
> instead of `airflow/example_dags`. This would also solve the issue of 
> unncessary logs that inform installing k8s dependencies when examples are 
> turned on in {{airflow.cfg}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to