17
Automated deployment using TeamCity and Octopus Deploy Paul Stovell

Automated deployment using TeamCity and Octopus Deploy

Embed Size (px)

DESCRIPTION

Agile software delivery revolves around getting working software in front of people early, and that's easy when you're delivering a small demo application. But when deployments involve delivering multi-tiered solutions to multiple web, application and database servers in production and pre-production environments, deployment itself can be a risky, heart-pounding and time-consuming process. In this talk, I'll look at streamlining the delivery of .NET applications all the way from source control to pre-production and production environments. At the push of a button (or a source code commit), we'll take code, compile it, run unit tests, deploy it to multiple servers in a test environment, run smoke tests, and then promote it to production. I'll show how TeamCity and Octopus Deploy can work together to put working software into the hands of users, faster.

Citation preview

Page 1: Automated deployment using TeamCity and Octopus Deploy

Automated deployment using TeamCity and Octopus

DeployPaul Stovell

Page 2: Automated deployment using TeamCity and Octopus Deploy

Agenda

• The case for automation• Roles of TeamCity and Octopus Deploy• Packaging applications for deployment• Deploying applications• Automating deployments from TeamCity

Page 3: Automated deployment using TeamCity and Octopus Deploy

Zen

Automated deployments

Automated builds

Source control

Works on my machine

Page 4: Automated deployment using TeamCity and Octopus Deploy

Friends don’t let friends deploy manually

• Error prone• Time consuming• Opaque• Unreliable• Bus factor• Full of friction• Scary!

Page 5: Automated deployment using TeamCity and Octopus Deploy

Automation = faster deployments

Page 6: Automated deployment using TeamCity and Octopus Deploy

Automation = more frequent deployments

Page 7: Automated deployment using TeamCity and Octopus Deploy

94% “Deployments are less risky”

90% “More confident in our ability to deploy successfully”

Page 8: Automated deployment using TeamCity and Octopus Deploy

TeamCity and Octopus Deploy

Page 9: Automated deployment using TeamCity and Octopus Deploy
Page 10: Automated deployment using TeamCity and Octopus Deploy
Page 11: Automated deployment using TeamCity and Octopus Deploy

Building & packaging with TeamCityDemo

Page 12: Automated deployment using TeamCity and Octopus Deploy
Page 13: Automated deployment using TeamCity and Octopus Deploy

Deployment with OctopusDemo

Page 14: Automated deployment using TeamCity and Octopus Deploy
Page 15: Automated deployment using TeamCity and Octopus Deploy

Triggering deployments from TeamCityDemo

Page 16: Automated deployment using TeamCity and Octopus Deploy

What we’ve seen

• The case for automation• Roles of TeamCity and Octopus Deploy• Packaging applications for deployment with TeamCity• Deploying applications with Octopus• Automating deployments from TeamCity

Page 17: Automated deployment using TeamCity and Octopus Deploy

Happy deployments!

@octopusdeploy [email protected]

• TeamCity: http://www.jetbrains.com/teamcity/

• Octopus: http://octopusdeploy.com

• NuGethttp://nuget.org

• Sample code:https://github.com/OctopusSamples/OctoFX