This is an automated email from the ASF dual-hosted git repository.
kaxilnaik pushed a change to branch v1-10-stable
in repository https://gitbox.apache.org/repos/asf/airflow.git.
omit b8f3d93 fixup! Update to new helm stable repo (#12137)
omit 868ff46 Update to new helm stable repo (#12137)
add 827a717 Remove deprecation warning from contrib/kubernetes/pod.py
add 87038ae Add missing imports to app.py (#10650)
add c8d1586 Add airflow upgrade-check command (MVP) (#9467)
add 4913ab2 Fix rules auto-detection for upgrade check (#11066)
add ebf5150 Allow upgrade rules to return None or str (#11081)
add 6185f5e Add SendGrid emailer rule (#11067)
add 301ca11 Add FernetEnabledRule for upgrade check command (#11116)
add baa28b8 Update SendGridEmail with None return type (#11256)
add 920ac26 Add UniqueConnIdRule rule and unittest (#11222)
add c2af3e7 Add LoggingConfigurationRule for upgrade_check (#11132)
add b044be8 Add LegacyUIDeprecated for upgrade_check (#11279)
add c4adb16 Use rst lexer to format airflow upgrade check output (#11259)
add 8f27ae9 Add rules to ensure users are using pod_template_file for
KubernetesE… (#11090)
add 6b14f74 Add GCP Service Account rule (#11230)
add fc2b7e9 Create AirflowMacroPluginRemoved rule and tests (#11285)
add 56efd57 Add TaskHandlersMovedRule in upgrade check command (#11265)
add 0e6e13db Fix interpolation issue in conf_vars in tests
add 9c68453 Merge branch 'u15' into v1-10-stable
add 6b7588f Adding ChainBetwenDAGAndOperatorNotAllowedRule for easing
upgrade to 2.0 (#11839)
add 65df1e8 Do not upgrade dependencies on v1-10-stable (#11903)
add 6dbed4b Fix Logout Google Auth issue in Non-RBAC UI (#11890)
add fc40a49 Deprecate adding Operators and Sensors via plugins (#12069)
add 321bf6b Deprecate importing Hooks from plugin-created module (#12133)
add 4d499b4 Use only-if-needed upgrade strategy for PRs (#11363)
add 005a615 Update to new helm stable repo (#12137)
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (b8f3d93)
\
N -- N -- N refs/heads/v1-10-stable (005a615)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
No new revisions were added by this update.
Summary of changes:
.github/workflows/ci.yml | 3 +-
Dockerfile.ci | 7 +-
airflow/bin/cli.py | 31 ++++-
airflow/contrib/auth/backends/google_auth.py | 4 +
airflow/contrib/kubernetes/pod.py | 5 -
airflow/hooks/__init__.py | 6 +
airflow/operators/__init__.py | 8 ++
airflow/plugins_manager.py | 96 ++++++++++++++-
airflow/sensors/__init__.py | 7 ++
.../upgrade}/__init__.py | 0
airflow/{utils/__init__.py => upgrade/checker.py} | 36 +++---
airflow/upgrade/formatters.py | 129 +++++++++++++++++++++
airflow/{utils/__init__.py => upgrade/problem.py} | 41 ++++---
.../models => airflow/upgrade/rules}/__init__.py | 21 +++-
.../upgrade/rules/airflow_macro_plugin_removed.py | 53 +++++++++
.../default.py => upgrade/rules/base_rule.py} | 30 ++---
...in_between_dag_and_operator_not_allowed_rule.py | 73 ++++++++++++
airflow/upgrade/rules/conn_id_is_unique.py | 45 +++++++
.../rules/conn_type_is_not_nullable.py} | 32 +++--
.../rules/fernet_enabled.py} | 37 +++---
.../rules/gcp_service_account_keys_rule.py} | 37 +++---
.../upgrade/rules/invalid_kubernetes_configs.py | 69 +++++++++++
.../rules/legacy_ui_deprecated.py} | 29 +++--
airflow/upgrade/rules/logging_configuration.py | 82 +++++++++++++
.../rules/pod_template_file_rule.py} | 37 +++---
.../rules/send_grid_moved.py} | 36 +++---
airflow/upgrade/rules/task_handlers_moved.py | 67 +++++++++++
airflow/utils/cli.py | 23 ++++
airflow/www_rbac/app.py | 4 +-
docs/conf.py | 1 +
docs/security.rst | 9 +-
scripts/ci/docker-compose/local.yml | 2 +-
scripts/ci/libraries/_initialization.sh | 14 +++
scripts/ci/libraries/_local_mounts.sh | 2 +-
scripts/{ci => }/in_container/entrypoint_ci.sh | 0
setup.py | 1 +
tests/plugins/test_plugins_manager_www.py | 30 ++++-
tests/test_utils/config.py | 1 +
tests/{test_local_settings => upgrade}/__init__.py | 0
.../rules}/__init__.py | 0
.../rules/test_airflow_macro_plugin_removed.py | 68 +++++++++++
.../upgrade/rules/test_base_rule.py | 16 +--
...in_between_dag_and_operator_not_allowed_rule.py | 112 ++++++++++++++++++
tests/upgrade/rules/test_conn_id_is_unique.py | 43 +++++++
.../rules/test_conn_type_is_not_nullable.py} | 41 ++++---
tests/upgrade/rules/test_fernet_enabled.py | 47 ++++++++
.../rules/test_gcp_service_account_key_rule.py | 48 ++++++++
.../upgrade/rules/test_legacy_ui_deprecated.py | 39 ++++---
tests/upgrade/rules/test_logging_configuration.py | 78 +++++++++++++
tests/upgrade/rules/test_send_grid_moved.py | 47 ++++++++
tests/upgrade/rules/test_task_handlers_moved.py | 68 +++++++++++
tests/upgrade/test_formattes.py | 54 +++++++++
.../deny_all.py => tests/upgrade/test_problem.py | 29 +++--
53 files changed, 1540 insertions(+), 258 deletions(-)
copy {tests/test_local_settings => airflow/upgrade}/__init__.py (100%)
copy airflow/{utils/__init__.py => upgrade/checker.py} (54%)
create mode 100644 airflow/upgrade/formatters.py
copy airflow/{utils/__init__.py => upgrade/problem.py} (55%)
copy {tests/models => airflow/upgrade/rules}/__init__.py (53%)
create mode 100644 airflow/upgrade/rules/airflow_macro_plugin_removed.py
copy airflow/{api/auth/backend/default.py => upgrade/rules/base_rule.py} (64%)
create mode 100644
airflow/upgrade/rules/chain_between_dag_and_operator_not_allowed_rule.py
create mode 100644 airflow/upgrade/rules/conn_id_is_unique.py
copy airflow/{ti_deps/deps/dag_ti_slots_available_dep.py =>
upgrade/rules/conn_type_is_not_nullable.py} (50%)
copy airflow/{utils/configuration.py => upgrade/rules/fernet_enabled.py} (54%)
copy airflow/{utils/configuration.py =>
upgrade/rules/gcp_service_account_keys_rule.py} (56%)
create mode 100644 airflow/upgrade/rules/invalid_kubernetes_configs.py
copy airflow/{bin/airflow => upgrade/rules/legacy_ui_deprecated.py} (57%)
mode change 100755 => 100644
create mode 100644 airflow/upgrade/rules/logging_configuration.py
copy airflow/{utils/configuration.py =>
upgrade/rules/pod_template_file_rule.py} (56%)
copy airflow/{utils/configuration.py => upgrade/rules/send_grid_moved.py} (54%)
create mode 100644 airflow/upgrade/rules/task_handlers_moved.py
rename scripts/{ci => }/in_container/entrypoint_ci.sh (100%)
copy tests/{test_local_settings => upgrade}/__init__.py (100%)
copy tests/{test_local_settings => upgrade/rules}/__init__.py (100%)
create mode 100644 tests/upgrade/rules/test_airflow_macro_plugin_removed.py
copy airflow/contrib/kubernetes/kube_client.py =>
tests/upgrade/rules/test_base_rule.py (67%)
create mode 100644
tests/upgrade/rules/test_chain_between_dag_and_operator_not_allowed_rule.py
create mode 100644 tests/upgrade/rules/test_conn_id_is_unique.py
copy tests/{contrib/hooks/test_azure_container_registry_hook.py =>
upgrade/rules/test_conn_type_is_not_nullable.py} (50%)
create mode 100644 tests/upgrade/rules/test_fernet_enabled.py
create mode 100644 tests/upgrade/rules/test_gcp_service_account_key_rule.py
copy scripts/ci/pre_commit/pre_commit_local_yml_mounts.sh =>
tests/upgrade/rules/test_legacy_ui_deprecated.py (50%)
mode change 100755 => 100644
create mode 100644 tests/upgrade/rules/test_logging_configuration.py
create mode 100644 tests/upgrade/rules/test_send_grid_moved.py
create mode 100644 tests/upgrade/rules/test_task_handlers_moved.py
create mode 100644 tests/upgrade/test_formattes.py
copy airflow/api/auth/backend/deny_all.py => tests/upgrade/test_problem.py
(56%)