You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ur...@apache.org on 2022/08/22 17:54:19 UTC
[airflow] branch main updated (a7cc467817 -> 0eb0b543a9)
This is an automated email from the ASF dual-hosted git repository.
uranusjr pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
from a7cc467817 Bump ws from 6.2.1 to 6.2.2 in /airflow/ui (#25804)
add 0eb0b543a9 Add @task.kubernetes taskflow decorator (#25663)
No new revisions were added by this update.
Summary of changes:
airflow/decorators/__init__.pyi | 118 ++++++++++++++++++++
.../cncf/kubernetes/decorators}/__init__.py | 0
.../cncf/kubernetes/decorators/kubernetes.py | 124 +++++++++++++++++++++
.../cncf/kubernetes/operators/kubernetes_pod.py | 1 -
airflow/providers/cncf/kubernetes/provider.yaml | 4 +
.../kubernetes/python_kubernetes_script.jinja2} | 11 --
.../cncf/kubernetes/python_kubernetes_script.py | 79 +++++++++++++
.../cncf/kubernetes/decorators}/__init__.py | 0
.../cncf/kubernetes/decorators/test_kubernetes.py | 90 +++++++++++++++
.../kubernetes/example_kubernetes_decorator.py} | 54 +++++----
10 files changed, 450 insertions(+), 31 deletions(-)
copy airflow/{api/auth => providers/cncf/kubernetes/decorators}/__init__.py (100%)
create mode 100644 airflow/providers/cncf/kubernetes/decorators/kubernetes.py
copy airflow/{utils/python_virtualenv_script.jinja2 => providers/cncf/kubernetes/python_kubernetes_script.jinja2} (83%)
create mode 100644 airflow/providers/cncf/kubernetes/python_kubernetes_script.py
copy {airflow/api_connexion => tests/providers/cncf/kubernetes/decorators}/__init__.py (100%)
create mode 100644 tests/providers/cncf/kubernetes/decorators/test_kubernetes.py
copy tests/system/providers/{zendesk/example_zendesk_custom_get.py => cncf/kubernetes/example_kubernetes_decorator.py} (51%)