Skip to content
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

Read conf variables from the environment #16

Closed
lrascao opened this issue Jan 14, 2021 · 7 comments
Closed

Read conf variables from the environment #16

lrascao opened this issue Jan 14, 2021 · 7 comments
Milestone

Comments

@lrascao
Copy link
Contributor

lrascao commented Jan 14, 2021

example conf:

param.p = $SOME_ENV_VARIABLE

cuttlefish would consult the environment for the SOME_ENV_VARIABLE key and replace it while processing the .conf file. I can put forward a PR for this, just wanted to first clear if this an appropriate syntax.

cc @lukebakken

@lrascao
Copy link
Contributor Author

lrascao commented Jan 14, 2021

one other option is to use the current $() variable substitution and have it also search the environment.

@lukebakken
Copy link
Collaborator

My inclination is to use $()

@lukebakken
Copy link
Collaborator

Implemented in #17. Thank you!

@lrascao
Copy link
Contributor Author

lrascao commented Jan 26, 2021

@lukebakken could you push 2.6.0 to hex please? thanks!

@lukebakken
Copy link
Collaborator

Please be patient! I was waiting on CI yesterday to complete when my day ended.

@lukebakken
Copy link
Collaborator

@lrascao
Copy link
Contributor Author

lrascao commented Jan 26, 2021

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants