-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Initialize custom variables before running db-reset #54324
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
Initialize custom variables before running db-reset #54324
Conversation
Before that change, when you set custom variables or intialization in airflow-breeze-config, the initialization was kind of wrongly done. a) in case of regular breeze command, it was done AFTER db-reset b) when start-airflow was done, the initialization was done during the start-airflow - separately - which was kinda strangely duplicated This change unifies it - the initialization of custom variables and scripts happens before we run db-reset or check if we should start airflow.
|
Thanks a lot @potiuk . One more follow-up question. Since I am also testing for the provider release. When running |
aritra24
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmmmm, I think it makes sense. 🤔
|
ah make sense :) |
Before that change, when you set custom variables or intialization in airflow-breeze-config, the initialization was kind of wrongly done. a) in case of regular breeze command, it was done AFTER db-reset b) when start-airflow was done, the initialization was done during the start-airflow - separately - which was kinda strangely duplicated This change unifies it - the initialization of custom variables and scripts happens before we run db-reset or check if we should start airflow. (cherry picked from commit 9334484) Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
…he#54324) Before that change, when you set custom variables or intialization in airflow-breeze-config, the initialization was kind of wrongly done. a) in case of regular breeze command, it was done AFTER db-reset b) when start-airflow was done, the initialization was done during the start-airflow - separately - which was kinda strangely duplicated This change unifies it - the initialization of custom variables and scripts happens before we run db-reset or check if we should start airflow. (cherry picked from commit 9334484) Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
…he#54324) Before that change, when you set custom variables or intialization in airflow-breeze-config, the initialization was kind of wrongly done. a) in case of regular breeze command, it was done AFTER db-reset b) when start-airflow was done, the initialization was done during the start-airflow - separately - which was kinda strangely duplicated This change unifies it - the initialization of custom variables and scripts happens before we run db-reset or check if we should start airflow. (cherry picked from commit 9334484) Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
…) (#54327) Before that change, when you set custom variables or intialization in airflow-breeze-config, the initialization was kind of wrongly done. a) in case of regular breeze command, it was done AFTER db-reset b) when start-airflow was done, the initialization was done during the start-airflow - separately - which was kinda strangely duplicated This change unifies it - the initialization of custom variables and scripts happens before we run db-reset or check if we should start airflow. (cherry picked from commit 9334484) Co-authored-by: Jarek Potiuk <jarek@potiuk.com>
Before that change, when you set custom variables or intialization in airflow-breeze-config, the initialization was kind of wrongly done. a) in case of regular breeze command, it was done AFTER db-reset b) when start-airflow was done, the initialization was done during the start-airflow - separately - which was kinda strangely duplicated This change unifies it - the initialization of custom variables and scripts happens before we run db-reset or check if we should start airflow.
Before that change, when you set custom variables or intialization in airflow-breeze-config, the initialization was kind of wrongly done.
a) in case of regular breeze command, it was done AFTER db-reset b) when start-airflow was done, the initialization was done during
the start-airflow - separately - which was kinda strangely duplicated
This change unifies it - the initialization of custom variables and scripts happens before we run db-reset or check if we should start airflow.
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named
{pr_number}.significant.rstor{issue_number}.significant.rst, in airflow-core/newsfragments.