OneBuild icon indicating copy to clipboard operation
OneBuild copied to clipboard

Support application configuration transformations for multi-environments

Open lholman opened this issue 10 years ago • 4 comments

lholman avatar Feb 09 '15 08:02 lholman

Shouldn't this be something the deploy step would take care of?

AwaNoodle avatar Feb 09 '15 17:02 AwaNoodle

Hot topic, but I believe OneBuild should provide the consumer the correct application configuration for an environment (and optionally client too) if you require it. Nothing too fancy beyond some standard config transformation and leaning on NuGet packaging. After all, most deployment tooling is poor at this, let's start treating app config as code and validating it early on.

ll

-----Original Message----- From: "Mark Turner" [email protected] Sent: ‎09/‎02/‎2015 17:22 To: "lholman/OneBuild" [email protected] Cc: "Lloyd Holman" [email protected] Subject: Re: [OneBuild] Support application configuration transformations formulti-environments (#33)

Shouldn't this be something the deploy step would take care of? — Reply to this email directly or view it on GitHub.

lholman avatar Feb 09 '15 17:02 lholman

Aside from including the configs, which you could do in the nuspec already, what would you be doing out of interest? Wouldn't you be adding further steps to do the deploy too? I'm guessing you mean to supply a param that would let OneBuild create a package with the transform already completed. In this case, from the flow I am used to, this would be useful for a single stage, and then I'd have to transform or modify as I promoted the package upwards (since I'm not rebuilding each time). In this scenario I'd look for having a neutral base I could transform against rather than a transformed one that someone would need to be aware of when writing a transform for a later stage of the pipeline.

AwaNoodle avatar Feb 11 '15 14:02 AwaNoodle

@AwaNoodle We're thinking about it in different ways I think. I want to bring the pain forward and complete all transformations during the Commit phase, then deploy the appropriate configuration. More to come on this as the idea is for OneBuild to expose a contract for simple deployment from another tool.

lholman avatar Feb 11 '15 15:02 lholman