Red Gate forums :: View topic - Deployment - just copy from Staging (.NET)
Return to www.red-gate.com RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
Deployment Manager
Deployment Manager forum

Deployment - just copy from Staging (.NET)

Search in Deployment Manager forum
Post new topic   Reply to topic
Jump to:  
Author Message
vladnech



Joined: 27 May 2013
Posts: 2

PostPosted: Mon May 27, 2013 2:22 pm    Post subject: Deployment - just copy from Staging (.NET) Reply with quote

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.
Back to top
View user's profile Send private message
vladnech



Joined: 27 May 2013
Posts: 2

PostPosted: Tue May 28, 2013 11:46 am    Post subject: Reply with quote

Nobody knows?
Is there any way to specify the deployment step as PowerShell script?
Back to top
View user's profile Send private message
chirayu



Joined: 17 Sep 2012
Posts: 60

PostPosted: Thu May 30, 2013 11:21 am    Post subject: Reply with quote

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/display/DM11/XML+configuration+files

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

Let me know if you have further issues.

Thanks

Chirayu
_________________
Chirayu Shishodiya
Software Engineer - Deployment Manager
Red Gate
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group