-
Notifications
You must be signed in to change notification settings - Fork 16.4k
[v2-11-test] Ensure that the the generated airflow.cfg contains a ran… #47755
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
[v2-11-test] Ensure that the the generated airflow.cfg contains a ran… #47755
Conversation
81c710d to
55b4ea2
Compare
55b4ea2 to
4c11b56
Compare
4c11b56 to
dce0e57
Compare
|
Could you fix the failing test @jscheffl ? |
|
@kaxil oh, lost focus on this one. Let me attempt to re-base and get it fixed. Jarek had a few fixes for docs on the branch... |
…dom jwt_secret and fernet_key (apache#46966) * Ensure that the the generated airflow.cfg contains a random jwt_secret and fernet_key I don't know exactly when this got broken, and unforutnaltey it wasn't tested, but I suspect it might have been around the time we swapped the default config from a config file to the yaml based values. I.e. a while ago! To make sure it doesn't get broken I've gone and added some unit tests And to make my next PR and test easier I have done the same thing with the `auth_jwt_secret` that we do for fernet_key -- of only set it in the config file if we're generating that file, not always in memory. * Improve upgrade path by generating and warning about the missing config (cherry picked from commit 106b872) Co-authored-by: Ash Berlin-Taylor <ash@apache.org>
dce0e57 to
5addf0c
Compare
|
Test failure:
|
|
@kaxil I hope now I make it... |
…dom jwt_secret and fernet_key (#46966)
Backport with adjustments to v2-11-test