-
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
DOP-5199: Team wide Netlfiy env variables #58
base: main
Are you sure you want to change the base?
Conversation
…#47) * changes * cleaing up code * spelling * print * adding check * adding catch * cleanign up logs * adding to types * fixes: * update variable * fix for docs-landing * nonempty * update urlaliases * fixing urlaliases * spelling * Update extensions/redirects-and-publish/src/mutRedirectsAndPublish.ts Co-authored-by: rayangler <[email protected]> * Update extensions/redirects-and-publish/src/mutRedirectsAndPublish.ts Co-authored-by: rayangler <[email protected]> * raymund comments * clean up --------- Co-authored-by: rayangler <[email protected]>
✅ Deploy Preview for git-changed-file-extension canceled.
|
✅ Deploy Preview for populate-data-extension ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for slack-deploy-extension canceled.
|
❌ Deploy Preview for redirects-and-publish-extension failed. Why did it fail? →
|
✅ Deploy Preview for snooty-cache-extension ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
❌ Deploy Preview for search-manifest-extension failed. Why did it fail? →
|
❌ Deploy Preview for site-links-display failed. Why did it fail? →
|
✅ Deploy Preview for persistence-module-ext canceled.
|
): { snootyDb: SnootyDBName; searchDb: SearchDBName; poolDb: PoolDBName } => { | ||
switch (env) { | ||
case 'dotcomstg': | ||
case dbEnvVars.DOTCOMSTG: |
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.
Hey Bianca, I'm not sure if using dbEnvVars
here is what we want to do. This is getting the value of the that property, which we can set to be whatever. I think it makes sense to do it the way you had it previously, as switch statements typically just use concrete values instead of variable values.
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.
Hey Brandon, thanks for the review! That works for me to go back, but then I am just a little confused as to why we created the environment variables in netlify, are they to be used somewhere else in the repo?
Ticket
DOP-5199
Notes
DEV, STD, PRD, DOTCOMSTG, DOTCOMPRD