We're testing Octopus Deploy 2.0 (OD) to deploy web services, windows services and citrix applications.
QUICK QUESTION: When using config transformation, can parameters be used to indicate which config file should be used for the transformations?
MORE DETAIL: When setting up for config transformations, we would like to have files named
- MyApp.DEV_US.config
- MyApp.DEV_CANADA.config
- MyApp.DEV_AUSTRALIA.config
- and so on for TEST, STAGE and PRODUCTION
Our deployments to DEV, for example, always include deployments to all regions. So we would prefer if OD environments were DEV, TEST, STAGE and PRODUCTION. Then in each deployment, we have multiple steps that deploy to each region.
However, OD config transformations only look for OD Environments when looking for which config files to use as part of the transformation. It seems OD would require us to bring each region up to the environment level, which from our POV is not ideal and would clutter the dashboard.
Can we pass parameters into the config transformation process such that we can indicate which file to use for the transform?