A class library to help automate simple deployment tasks.

Warning: pre-alpha.

AutoDeploy has 2 main components; deployment objects and a deployment controller. A deployment object holds n+1 deployment tasks. The deployment controller is responsible for executing scheduled, interval and on demand deployment tasks.

AutoDeploy is complete enough for me to start dog fooding it this week. I’ll have a road-map soon after.

Features
  1. Deployment Controller
  2. Scheduled Deployments
  3. Interval Deployments
  4. SVN Checkout
  5. SVN Commit
  6. ASP.NET Build
Example 1: Fluent Interface, SVN Checkout, Interval
   1:  var deploymentController = AutoDeploy.Controllers.DeploymentController.GetInstance;
   2:  new AutoDeploy.Mappings.FluentMapping().Named("TestMapping")
   3:  .FromSvnHttpRepositoryUrl("URL")
   4:  .UsingSvnCredentials(new System.Net.NetworkCredential("UID", "PASS"))
   5:  .SvnCheckoutToDirectory("C:/Temp")
   6:  .AtTime(6)
   7:  .Save();

First, or last, or never..we create a controller. The controller will check every minute for interval and scheduled deployments. In this example we checkout every day @ 6am.

Example 1: Fluent Interface, Compile, Publish, One Time
   1:  new AutoDeploy.Mappings.FluentMapping()
   2:  .SvnCheckoutToDirectory("C:/Temp")
   3:  .BuildAndOutputToDirectory("C:/TempCompiled")
   4:  .Execute();

shhh..I know the source directory name is horrible…

Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

 
© 2012 eric.polerecky.com Suffusion theme by Sayontan Sinha