Add variables substitution capabilities
We keep our deployment configurations in octopus variables and use json substitution the replace them on deploy time
This could be improved in a few ways:
- Use the json variables substitution feature on other step templates than deploy a package (for example: run a script)
- have to ability to substitute also yml files
- give a variable a null value, the only option now is tho give him empty string, which influence the code.
The new “Structured configuration variables” feature extends the JSON substitution to YAML, XML, and Java properties files. It is also available on a “Run a script” step for use with additional package references.
You can find more information on this feature at https://octopus.com/docs/projects/steps/configuration-features/structured-configuration-variables-feature.
as we move more into yaml config files, having a way to transform them would be great
This would be particulairly useful for substituting environment specific JSON inside of YAML files.