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
- Deployment Controller
- Scheduled Deployments
- Interval Deployments
- SVN Checkout
- SVN Commit
- 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…












