Schedule DM deploys

Automated deployment for web applications and databases

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

Schedule DM deploys

Postby jochem4207 » Tue Feb 04, 2014 4:45 pm

Hello RedGate,

Is there someway to talk to the DM process to automate deploys?

The case would be:
- We create a package (tested and ready for publish)
- We go home
- A automatic script would talk to the DM for example at midnight and start the deploy for our development environment. (Nightly build idea)

We come back in the office and go start working with it!

At the moment deploys just take about 5-10 minutes but still some kind of scheduling would be usefull. Even more when you can get error/success reports from it.


-------------
http://redgate.uservoice.com/forums/176 ... in-config-

Is there a status update possible on that? How long its going to take? Like it will be build within 3/6/12 months?
jochem4207
 
Posts: 34
Joined: Fri Dec 06, 2013 2:27 pm
Location: Netherlands

Postby Mike Upton » Sat Feb 08, 2014 8:48 am

Hi,

Automating deployments

We don't currently have support for scheduled deployments in the Deployment Manager UI (it's mentioned in this uservoice suggestion). However, you can get the functionality you want by using Windows scheduled tasks to schedule DeploymentManager.exe operations to automate deployments. The process exit code will be zero if the deployment suceeds, non-zero otherwise. You can also make deploymentmanager.exe output the full deployment log by adding the -l command line flag.

DeploymentManager.exe is documented here, and you can also get full documentation on the available command line arguments by running
Code: Select all
deploymentmanager.exe help


Using variables to control all sections of .config files

We were actually discussing that one in a planning meeting this week. We're not sure how to strike the balance between simplicity and flexibility of configuration. It would be really helpful if you could tell us what configuration elements you're trying to change, and how you'd like to be able to use variables to make those changes.


Mike
Mike Upton

Software Engineer
Red Gate Software Ltd.
Mike Upton
 
Posts: 157
Joined: Wed May 11, 2011 8:04 am
Location: Red Gate


Return to Deployment Manager

Who is online

Users browsing this forum: No registered users and 0 guests