-
Notifications
You must be signed in to change notification settings - Fork 14.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create HostnameCallableRule to ease upgrade to Airflow 2.0 #11044
Labels
area:upgrade
Facilitating migration to a newer version of Airflow
good first issue
kind:feature
Feature Requests
upgrade-check
upgrade-check CLI
Milestone
Comments
turbaszek
added
area:upgrade
Facilitating migration to a newer version of Airflow
kind:feature
Feature Requests
good first issue
labels
Sep 21, 2020
Hey @turbaszek, can I pick this up? |
Sure @snehal199 ! |
Hey @snehal199 any update on this one? |
ashb
modified the milestones:
Airflow 2.0.0-beta3,
Airflow Upgrade Check - First release
Nov 18, 2020
19 tasks
dimberman
added a commit
that referenced
this issue
Dec 1, 2020
Creates a rule to ensure users have a 2.0 compatible hostname_callable configuration in their airflow.cfg addresses #11044
kaxil
added a commit
that referenced
this issue
Dec 3, 2020
Creates a rule to ensure users have a 2.0 compatible hostname_callable configuration in their airflow.cfg closes #11044 Co-authored-by: Ash Berlin-Taylor <[email protected]> Co-authored-by: Kaxil Naik <[email protected]>
closed by #12743 |
cfei18
pushed a commit
to cfei18/incubator-airflow
that referenced
this issue
Mar 5, 2021
) Creates a rule to ensure users have a 2.0 compatible hostname_callable configuration in their airflow.cfg closes apache#11044 Co-authored-by: Ash Berlin-Taylor <[email protected]> Co-authored-by: Kaxil Naik <[email protected]>
leahecole
pushed a commit
to GoogleCloudPlatform/composer-airflow
that referenced
this issue
Jun 9, 2021
Creates a rule to ensure users have a 2.0 compatible hostname_callable configuration in their airflow.cfg closes apache/airflow#11044 Co-authored-by: Ash Berlin-Taylor <[email protected]> Co-authored-by: Kaxil Naik <[email protected]> GitOrigin-RevId: 326e0f910f2ee584af9fb2750868b5a2cfa56146
leahecole
pushed a commit
to GoogleCloudPlatform/composer-airflow
that referenced
this issue
Jun 9, 2021
Creates a rule to ensure users have a 2.0 compatible hostname_callable configuration in their airflow.cfg closes apache/airflow#11044 Co-authored-by: Ash Berlin-Taylor <[email protected]> Co-authored-by: Kaxil Naik <[email protected]> GitOrigin-RevId: 326e0f910f2ee584af9fb2750868b5a2cfa56146
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area:upgrade
Facilitating migration to a newer version of Airflow
good first issue
kind:feature
Feature Requests
upgrade-check
upgrade-check CLI
This issue is part of #8765
Rule
Create
HostnameCallableRule
which corresponds toentry in UPDATING.md. This rule should allow users to check if their current configuration needs any adjusting
before migration to Airflow 2.0.
How to guide
To implement a new rule, create a class that inherits from
airflow.upgrade.rules.base_rule.BaseRule
.It will be auto-registered and used by
airflow upgrade-check
command. The custom rule class has to havetitle
,description
properties and should implementcheck
method which returns a list of error messages in case ofincompatibility.
For example:
airflow/airflow/upgrade/rules/conn_type_is_not_nullable.py
Lines 25 to 42 in ea36166
Remember to open the PR against
v1-10-test
branch.The text was updated successfully, but these errors were encountered: