Skip to content

Add support for configuring custom alembic file#31415

Merged
uranusjr merged 5 commits into
apache:mainfrom
amoghrajesh:alemblicIni
May 23, 2023
Merged

Add support for configuring custom alembic file#31415
uranusjr merged 5 commits into
apache:mainfrom
amoghrajesh:alemblicIni

Conversation

@amoghrajesh

@amoghrajesh amoghrajesh commented May 19, 2023

Copy link
Copy Markdown
Contributor

Adding support to provide a custom alembic file with logging support. Motivation: #30563 (review)
Closes #30562


^ 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.rst or {issue_number}.significant.rst, in newsfragments.

@amoghrajesh

Copy link
Copy Markdown
Contributor Author

@hussein-awala can you take a look at this PR when you have some time?

Comment thread airflow/config_templates/config.yml Outdated
@amoghrajesh
amoghrajesh requested a review from uranusjr May 22, 2023 08:09
Comment thread airflow/config_templates/config.yml Outdated
Co-authored-by: Hussein Awala <[email protected]>
@amoghrajesh
amoghrajesh requested a review from hussein-awala May 22, 2023 08:31

@hussein-awala hussein-awala left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to run pre-commit hooks after the last change, to update the default_airflow.cfg file, otherwise static checks will fail

@amoghrajesh

Copy link
Copy Markdown
Contributor Author

Let me pull the changes locally and push it once I run the hooks

Comment thread tests/utils/test_db.py Outdated
@amoghrajesh
amoghrajesh requested a review from ephraimbuddy May 22, 2023 09:28
@hussein-awala hussein-awala added this to the Airflow 2.7.0 milestone May 22, 2023
@hussein-awala hussein-awala added the type:new-feature Changelog: New Features label May 22, 2023
@amoghrajesh

Copy link
Copy Markdown
Contributor Author

@hussein-awala @ephraimbuddy I was able to fix the CI here. We can merge this one as we have a clean build here

@uranusjr
uranusjr merged commit e470d78 into apache:main May 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type:new-feature Changelog: New Features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

alembic Logging

4 participants