Deployment - just copy from Staging (.NET)

Automated deployment for web applications and databases

Moderators: justin.caldicott, Mike Upton, Sean.newham, csmith, chirayu, DavidSimner, david.conlin

Deployment - just copy from Staging (.NET)

Postby vladnech » Mon May 27, 2013 2:22 pm

hi guys

I am a new one in Deployment Manager. Quick question - we have Staging environment, from where we're doing the deployments. We are not doing compiling, building and etc. before deploying to PROD. All those things are deployed to Staging and tested. I want to configure the Deployment Manager Steps to copy from Staging to PROD and change the Web.PROD.config.transformed file into Web.config. Is there any tutorial how to do it?
Thanks in advance for your answer.
vladnech
 
Posts: 2
Joined: Mon May 27, 2013 2:17 pm

Postby vladnech » Tue May 28, 2013 11:46 am

Nobody knows?
Is there any way to specify the deployment step as PowerShell script?
vladnech
 
Posts: 2
Joined: Mon May 27, 2013 2:17 pm

Postby chirayu » Thu May 30, 2013 11:21 am

Hi

Deployment Manager works with NuGet packages. NuGet package(s) for the project are added as steps and you deploy the same package(s) to different environments. So you can use Deployment Manager to deploy to Staging environment and once you are happy you can deploy that release to production from Deployment Manager.

To get different behaviour for different environments, there are variables in Deployment Manager and as you mentioned there are transformation files. May I ask, why do you need to rename production transformation file to Web.config? Deployment Manager will apply transformations from Web.production.config to change your Web.config.

We have some documentation about XML config transformations: http://documentation.red-gate.com/displ ... tion+files

There is also an option to run powershell scripts during deployments: http://documentation.red-gate.com/displ ... ll+scripts

Let me know if you have further issues.

Thanks

Chirayu
Chirayu Shishodiya
Software Engineer - Deployment Manager
Red Gate
chirayu
 
Posts: 65
Joined: Mon Sep 17, 2012 5:48 pm


Return to Deployment Manager

Who is online

Users browsing this forum: No registered users and 0 guests