MiGrid workspace where master branch is kept strictly in sync with SF upstream svn repo. Any development or experiments should use a branch. You probably want to fork your own clone or work e.g. on the edge branch if you wish to contribute.
GNU General Public License v2.0
3
stars
4
forks
source link
generateconfs.py: apply values from environment variables #15
This PR add the possiblity to feed option values to the generateconfs.py script via env variables.
If the same option is set both as env variable and CLI parameter, then the CLI parameter take precedence.
This feature might come in handy with future (container) deployments as one does not have to maintain lists of arguments given to the config generator and environment variable are already heavily in use in the docker-migrid code.
This PR add the possiblity to feed option values to the generateconfs.py script via env variables. If the same option is set both as env variable and CLI parameter, then the CLI parameter take precedence.
This feature might come in handy with future (container) deployments as one does not have to maintain lists of arguments given to the config generator and environment variable are already heavily in use in the docker-migrid code.