You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
As a template authors, in order to have scripts and spruce expressions to fetch files (in config repo ot template repos), that avoid hardcoded path (such as root deploment, subdeployment), I need to rely on variables.
This enables:
ease refactorings such as deployment renaming, or moving across root deployments
The text was updated successfully, but these errors were encountered:
gberche-orange
changed the title
Explicit env vars for constructing paths in scripts and spruce
Explicit env vars for constructing paths in scripts and spruce templates
May 17, 2019
Is your feature request related to a problem? Please describe.
As a template authors, in order to have scripts and spruce expressions to fetch files (in config repo ot template repos), that avoid hardcoded path (such as root deploment, subdeployment), I need to rely on variables.
This enables:
Describe the solution you'd like
Export new env variables such as:
that would be used using spruce env var interpolation https://github.com/geofffranks/spruce/blob/master/doc/environment-variables-and-defaults.md#can-i-use-the-values-of-environment-variables-in-an-operation
and in shell script in
Describe alternatives you've considered
CUSTOM_SCRIPT_DIR
variable as as the following initially suggested in doc(reference-dataset): document spruce file usage #258 (comment)Additional context
This is a followup of #255 and #258 (comment)
The text was updated successfully, but these errors were encountered: