I need to deploy a website from SVN to different servers on our own network. The code currently does not compile, but is likely to be in the future.
First, the site must be deployed to a development server for testing testers.
As soon as the developer crashes, he will be deployed on an intermediate server for testers.
After the final report has been received, it will be deployed to the server farm - two live servers.
Each server has several settings in the web.config file that are different (with the exception of two live servers, of course). I would like to use templates, as the Ruby on Rails world does. This seems like an elegant solution for multiple web.config files.
I also need to create a list / report of files that have been changed and what has happened since the last deployment.
I am thinking of writing a script that will do the following: 1. Take args to deploy the server and review
2. Export a copy of the source to the directory using svn export -r <deploy revision>
3. Delete the web.config file
4. Use ttree (template tool http://template-toolkit.org/ ) to create the correct web.config
5. Create a list of file changes using svn list -r <deploy revision>:<current server revision>
6. Save the <current server revision> website the next time the script is run
The problem I have is not like the most elegant solution. This can become overwhelming, and I prefer to use tools that are already available, rather than reinvent the wheel. Unfortunately, I do not think that MSDeploy will do what I need, but I am glad to use it or something else if it will do what I need. Does anyone know any tools that fit the task, or is this the script my only option?
source share