-
Notifications
You must be signed in to change notification settings - Fork 1
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
Separate Custom Settings From Secrets #39
Comments
In GitLab by @tacc-wbomar on Sep 10, 2020, 12:49 Note: Issue #43 (GL-37) (branch |
In GitLab by @tacc-wbomar on Nov 19, 2020, 15:07 Note: Portal team is also doing this via FP-304: Separate real secrets from custom settings in settings_secret.py. |
Yes, this sounds great. Once this is done, it will be easier to make the case for moving everything into our magical |
@rstijerina has begun work on this for Portal via TACC/Core-Portal @ I plan to wait and follow suite. I don't have the brain power today to concurrently perform it for CMS. |
P.S. This issue is currently blocking #192. |
TACC/Core-Portal#393 is merged into main on Core-portal, so we can now follow suit here and align the two setups. I am testing the setup in 3dem for the portal container, will replicate here for cms container once I have vetted it. Progress! |
This did not follow the pattern of TACC/Core-Portal#393, but its similar and we hope to update it later this year to match more closely. |
Goal
Extract non-secret custom settings from
secrets.py
so that they can be saved in the repo to reduce the manual maintenance ofsecrets.py
.Core Portal will do the same for itself via FP-304. The "Direction" is based on that of FP-304.
Requirements
secrets.py
.Direction
Portal's Solution
Original Idea
Archived
In the
{env}.env
file (e.g.dev.env
) of the TACC/Core-Portal-Deployments repo:In the deploy script for the Jenkins "Core Portal Deploy" job:
In TACC/Core-CMS
settings.py
:Use
custom_settings.py
instead of.env
forTHEME
.Remove
THEME
from Jenkins "Core CMS" job.Migrate non-secret
settings.py
values tocustom_settings.py
.Remove non-secret
settings.py
values from CMS Stache entries.Update TACC/Core-Portal's
sample.secrets.py
.Background
In GitLab by @taoteg on Jul 22, 2020, 18:05
And months later, @rstijerina and @tacc-wbomar discuss a solution for portal then CMS.
The text was updated successfully, but these errors were encountered: