-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
[AAP-34936] Manage Django Settings with Dynaconf #15702
base: devel
Are you sure you want to change the base?
Conversation
|
So how would the |
2211f8f
to
7cdfe26
Compare
598a36d
to
38598cc
Compare
@AlanCoding will not, this is going to be on phase 2 only. |
0981fdf
to
4a6f6e8
Compare
FYI, it looks like the awx-operator CI check failed. The AWX deployment by the operator itself was successful, but the job template failed. This may be related to the settings changes in this PR. I would next check that job templates run successfully in the AWX dev environment. If they do, then there are likely awx-operator changes needed around how we mount-in the settings.py file into the task and web pods. |
d482a87
to
0eb7b4e
Compare
I did an updated run and got the following traceback when
|
0eb7b4e
to
1efb08d
Compare
|
With the latest fixes, this gets to the following traceback on install
|
@AlanCoding the error above is a validation that I explicitly added to replicate the following lines awx/awx/settings/production.py Lines 70 to 99 in 7d30dff
My logic was: If neither So it look like that is not the case right? |
The expectation is that
Help me talk that out a little better. Again, I can wave away corner cases here and presume that if not included_file or included_file == settings_file: Specifically, |
@AlanCoding this is logic from
From what I learned, split_settings keeps state of which files already loaded in the As I am removing split_settings, this logic is not applying anymore, as dynaconf tracks loaded files in a different way. |
AAP-34936
New or Enhanced Feature
Settings now managed by Dynaconf.
NOTE: Currently depends on DAB ansible/django-ansible-base#689 to be merged.
DOCS https://github.com/rochacbruno/django-ansible-base/blob/dynaconf_settings/docs/lib/dynamic_config.md