The GitHub Actions job "Tests" on airflow.git/v2-11-test has succeeded.
Run started by GitHub user kaxil (triggered by kaxil).

Head commit for run:
b68510efb25e0e6ff6ae690173739e7462d99cb4 / Jens Scheffler 
<[email protected]>
[v2-11-test] Ensure that the the generated airflow.cfg contains a ran… (#47755)

Ensure that the the generated airflow.cfg contains a random jwt_secret and 
fernet_key (#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 106b8726724fa712176dfc17ae192dbf5be83e17)

Co-authored-by: Ash Berlin-Taylor <[email protected]>

* Missing another one...

* Fixup!

* Fix error about missing section

* Remove not-needed test

---------
(cherry picked from commit 106b8726724fa712176dfc17ae192dbf5be83e17)

Co-authored-by: Ash Berlin-Taylor <[email protected]>

Report URL: https://github.com/apache/airflow/actions/runs/14762599198

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to