-
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
issue #221: .env.secrets & .env.config #222
base: main
Are you sure you want to change the base?
Conversation
0d92dfe
to
30f3957
Compare
30f3957
to
f5c3bd0
Compare
@ThomasCardin this works perfectly locally. I have issues running it in a docker container however. The |
secrets.env.template
Outdated
FERTISCAN_DB_URL= | ||
|
||
# Blob Storage | ||
FERTISCAN_STORAGE_URL= |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think it would be possible to store both the username and password instead of the full URL for the secrets.env.template
file? Full url's are quite hard to manage with the git-secrets
tool
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I agree we should be splitting this up and building the string in code at runtime if we need to use the string
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done. Note that the modifications to the code are so that the tests no longer require secrets.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@k-allagbe Do we want to implement the proposed changes to include the username and password in the .env.secrets.template
file, or is there a technical constraint? I ask because I still see FERTISCAN_DB_URL
in the .env.secrets.template
file, and I don’t see any updates in the code showing that the database username and password are being used to construct the connection string.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
1078236
to
8e6ed91
Compare
ee1c5f1
to
f1d31c5
Compare
f1d31c5
to
8856305
Compare
8856305
to
059ccce
Compare
@ai-cfia/fertiscan please review when you can. |
No description provided.