r-geoflow / geoflow

Tools to Orchestrate Geospatial (Meta)Data Management Workflows and Manage FAIR Services
https://github.com/r-geoflow/geoflow/wiki
Other
41 stars 14 forks source link

Support environment variable expressions in config #227

Closed eblondel closed 2 years ago

eblondel commented 2 years ago

Environment variables should be supported in configurations. For this, they can be specified as variable expression: {{ variable }}. The whisker package, based on Mustache specification, is probably the right way to proceed.

eblondel commented 2 years ago

@juldebar @wheintz in case you are interested in this feature. I'm testing it with an integration test tailored to Zenodo, where I have to use an environment variable for the Zenodo token.

eblondel commented 2 years ago

I will create another ticket to see how this could be implemented into metadata entities as well.