﻿<?xml version="1.0" encoding="utf-8"?><rss version="2.0"><channel><title>Ayende @ Rahien</title><link>http://ayende.com</link><description>Ayende @ Rahien</description><copyright>Copyright (C) Ayende Rahien  2004 - 2021 (c) 2026</copyright><ttl>60</ttl><item><title>Robz commented on Requirements 101: Have an automated deployment</title><description>And mine was a response to your original tools matter post. :D
  
http://ferventcoder.com/archive/2008/09/07/tools-matter-automated-builds--automated-deployments.aspx
</description><link>http://ayende.com/3586/requirements-101-have-an-automated-deployment#comment16</link><guid>http://ayende.com/3586/requirements-101-have-an-automated-deployment#comment16</guid><pubDate>Wed, 10 Sep 2008 00:02:07 GMT</pubDate></item><item><title>Luc commented on Requirements 101: Have an automated deployment</title><description>I just finishing an automated deployment at work. 
  
We use the following comination of tools/ solutions: Subversion, Draco.NET, NAnt, MSBUILD, Wix3, DBScript, SQL Examiner.
  
  
The coolest part of the whole automated deployement and the hardest part is deployment of databases. We use only Micrtosoft SQL Server 2005 database at work.
  
  
First I use open source tool DBScript to get the whole database in separate scripts in Subversion. Then I made a simple tool to make a MDF from those scripts (HINT: create an empty mdf file with SQL Express and attach this file through SQL express and execute the scripts one by one to fill the structure of the new mdf file)
  
This simple tool is executed in the NAnt build script. Then during deployment I use the commandline tools of SQL Examiner to generate a diff sql script between the mdf file and the target database. And this diff script is executed by the same tool against the target database and voila database updated.
  
  
The only thing I have difficulties with is the whole WIX3 part. Its hard to find good documentation for it.
  
  
  
  
  
  
</description><link>http://ayende.com/3586/requirements-101-have-an-automated-deployment#comment15</link><guid>http://ayende.com/3586/requirements-101-have-an-automated-deployment#comment15</guid><pubDate>Tue, 09 Sep 2008 17:05:34 GMT</pubDate></item><item><title>Stuart C commented on Requirements 101: Have an automated deployment</title><description>We use a combination of msbuild, robocopy, SqlCompare API and Powershell 2. Msbuild and robocopy's uses are obvious. SqlCompareAPI we use to execute schema upgrades. Powershell 2 mainly for it's remoting abillity such as encrypting web.config and other config files. 
  
Most of these tasks are msbuild tasks or custom scripts. I find it all a bit messy and tedious to put together, plus PS2 remoting is only supported on Vista and Win2008 at the moment.
  
I would love to see some better guidance and/or frameworks to help us out in this space... 
  
Rhino.Deployment has a certain ring to it.. :)
</description><link>http://ayende.com/3586/requirements-101-have-an-automated-deployment#comment14</link><guid>http://ayende.com/3586/requirements-101-have-an-automated-deployment#comment14</guid><pubDate>Mon, 08 Sep 2008 20:53:25 GMT</pubDate></item><item><title>Max commented on Requirements 101: Have an automated deployment</title><description>Yes, but how do you actually "push changes to srv1"? (The deployment script code is not running on srv1, and still needs to check for and create IIS virtual folders, install services, etc). Plus, IT nazis would want the exact same build to be installed first on QA and then on prod boxes. Yet somehow a bunch of parameters need to be different between QA and prod, some of which (like production passwords) they won't even let you check into SVN... I'm not saying that this can't be done, of course. But creating a fool-proof solution that works every time without prayer is not quite trivial, especially if you are starting from scratch (as in C#/BCL)
</description><link>http://ayende.com/3586/requirements-101-have-an-automated-deployment#comment13</link><guid>http://ayende.com/3586/requirements-101-have-an-automated-deployment#comment13</guid><pubDate>Mon, 08 Sep 2008 20:44:16 GMT</pubDate></item><item><title>Jeff Brown commented on Requirements 101: Have an automated deployment</title><description>At Ingenio we're using a bunch of batch files, VBScript and XML to do automated deployment of dozens of services, web sites, scheduled tasks, COM+ apps, reports, and other stuff across the web farm.
  
  
The hitch is that the system is getting long in the tooth (7-8 years old) and is a bit flaky.  And yet... there still does not appear to be a decent commercial or open source tool that can handle stuff like this.
  
  
Capistrano seems fine for Rails apps on *ix... but there's not much out there for Windows.
  
  
I don't mind building a new tool but I wish I didn't have to for stuff like this which ought to fulfill a fairly universal need anyways.  (Of course the devil is in the details and the assumptions you make up-front...)
</description><link>http://ayende.com/3586/requirements-101-have-an-automated-deployment#comment12</link><guid>http://ayende.com/3586/requirements-101-have-an-automated-deployment#comment12</guid><pubDate>Mon, 08 Sep 2008 20:24:54 GMT</pubDate></item><item><title>Ayende Rahien commented on Requirements 101: Have an automated deployment</title><description>depending on the ops environment.
  
Ideally, I would be able to do it by simple build script, something like:
  
  
-build
  
-create file app_offline.htm on srv1
  
- push changes to srv1
  
-remove app_ofline from srv1
  
  
etc.
</description><link>http://ayende.com/3586/requirements-101-have-an-automated-deployment#comment11</link><guid>http://ayende.com/3586/requirements-101-have-an-automated-deployment#comment11</guid><pubDate>Mon, 08 Sep 2008 20:10:18 GMT</pubDate></item><item><title>Max commented on Requirements 101: Have an automated deployment</title><description>Oren, what would you personally use to deploy a simple "ASP.Net"-type project? Considering that there are dev/qa/prod environments, single SQL box per environment, and a few web servers? Would you roll the deployment script from scratch in C#?
</description><link>http://ayende.com/3586/requirements-101-have-an-automated-deployment#comment10</link><guid>http://ayende.com/3586/requirements-101-have-an-automated-deployment#comment10</guid><pubDate>Mon, 08 Sep 2008 20:03:08 GMT</pubDate></item><item><title>Louis commented on Requirements 101: Have an automated deployment</title><description>Excellent points, especially about how this can be started in isolation. Deployment processes are something that can suffer from death by committee.
</description><link>http://ayende.com/3586/requirements-101-have-an-automated-deployment#comment9</link><guid>http://ayende.com/3586/requirements-101-have-an-automated-deployment#comment9</guid><pubDate>Mon, 08 Sep 2008 19:54:02 GMT</pubDate></item><item><title>Tobin Harris commented on Requirements 101: Have an automated deployment</title><description>+1 for Capistrano. For Mono at least :) 
  
  
I'm not sure what it's Windows story is, if it even has one.
</description><link>http://ayende.com/3586/requirements-101-have-an-automated-deployment#comment8</link><guid>http://ayende.com/3586/requirements-101-have-an-automated-deployment#comment8</guid><pubDate>Mon, 08 Sep 2008 19:03:54 GMT</pubDate></item><item><title>Paul commented on Requirements 101: Have an automated deployment</title><description>Josh and others, I'm interested in why you wouldn't consider nant a good tool for automated deployment.
</description><link>http://ayende.com/3586/requirements-101-have-an-automated-deployment#comment7</link><guid>http://ayende.com/3586/requirements-101-have-an-automated-deployment#comment7</guid><pubDate>Mon, 08 Sep 2008 17:37:22 GMT</pubDate></item><item><title>Ayende Rahien commented on Requirements 101: Have an automated deployment</title><description>Josh,
  
csc.exe can produce a really flexible build script
</description><link>http://ayende.com/3586/requirements-101-have-an-automated-deployment#comment6</link><guid>http://ayende.com/3586/requirements-101-have-an-automated-deployment#comment6</guid><pubDate>Mon, 08 Sep 2008 10:10:00 GMT</pubDate></item><item><title>DannyT commented on Requirements 101: Have an automated deployment</title><description>I'd be interested in some references for achieving this (without TFS). I definitely fall into the never tried it category.
</description><link>http://ayende.com/3586/requirements-101-have-an-automated-deployment#comment5</link><guid>http://ayende.com/3586/requirements-101-have-an-automated-deployment#comment5</guid><pubDate>Mon, 08 Sep 2008 08:47:38 GMT</pubDate></item><item><title>Adam commented on Requirements 101: Have an automated deployment</title><description>Capistrano is a god send for deployments.
  
&gt; cap production deploy:migrations -- check out from SVN, run any pending migrations, restart the servers, done.
</description><link>http://ayende.com/3586/requirements-101-have-an-automated-deployment#comment4</link><guid>http://ayende.com/3586/requirements-101-have-an-automated-deployment#comment4</guid><pubDate>Mon, 08 Sep 2008 07:58:19 GMT</pubDate></item><item><title>Andreas &amp;#214;hlund commented on Requirements 101: Have an automated deployment</title><description>We use TFSDeployer and it works quite ok (you need to be on TFS of cource)
  
  
http://www.codeplex.com/tfsdeployer
  
</description><link>http://ayende.com/3586/requirements-101-have-an-automated-deployment#comment3</link><guid>http://ayende.com/3586/requirements-101-have-an-automated-deployment#comment3</guid><pubDate>Mon, 08 Sep 2008 06:22:12 GMT</pubDate></item><item><title>josh commented on Requirements 101: Have an automated deployment</title><description>outside of nant, I've never had a good deployment automation system.  that's something I've always wanted.  I wouldn't really consider a nant script a good automated deployment system, personally.
</description><link>http://ayende.com/3586/requirements-101-have-an-automated-deployment#comment2</link><guid>http://ayende.com/3586/requirements-101-have-an-automated-deployment#comment2</guid><pubDate>Mon, 08 Sep 2008 04:53:00 GMT</pubDate></item><item><title>V. commented on Requirements 101: Have an automated deployment</title><description>What kind of tool are you guys using to make automated deployment possible?
</description><link>http://ayende.com/3586/requirements-101-have-an-automated-deployment#comment1</link><guid>http://ayende.com/3586/requirements-101-have-an-automated-deployment#comment1</guid><pubDate>Mon, 08 Sep 2008 01:02:38 GMT</pubDate></item></channel></rss>