Deployment taken seriously with Octopus Deploy and TeamCity

2,706 views

Published on

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,706
On SlideShare
0
From Embeds
0
Number of Embeds
44
Actions
Shares
0
Downloads
33
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • Present thetopic Deployment
  • Trenger en ny profilbilde
  • Minimizeimpactofbugs long lead time thebugswill have more affect and youneed to take more seriousdecisionaboutwhat to doMinimize time for fix automated (fast) deploy makes it easier to release a fix fasterMore time for whatyouaresupposed to do
  • Deployment taken seriously with Octopus Deploy and TeamCity

    1. 1. DEPLOYMENT TAKEN SERIOUSLY WITH OCTOPUS DEPLOY AND TEAMCITY (and PowerShell) Trondheim/Trondheim Developer Conference Tomas Jansson 28/10/2013
    2. 2. AGENDA This is me Why? The Goal The Tools Demo Summary
    3. 3. THIS IS ME Tomas Jansson Manager & Group Lead .NET BEKK Oslo @TomasJansson tomas.jansson@bekk.no github.com/mastoj blog.tomasjansson.com
    4. 4. WHY CONTINUOUS DEPLOYMENT? Bug impact Money Time Shorter time between releases  smaller impact New features faster  you can save or make money faster Automated deploy  more time for development
    5. 5. WHERE SHOULD I START? Visualize what is needed for you to make a complete deployment Ex: Build Test (5 min) (5 min) Provision server (1 hr) Deploy (20 min) Then ask the following question: • How often do I do each step during a day/week/month? My guess is; build, test, deploy and last provision of server
    6. 6. Repetitive The Goal Automated One artifact
    7. 7. THE GOAL Test 7a QA 7b Deployment manager You and me 7c Prod 6 1 5 VCS 2 Build server 3 4 Artifact repository
    8. 8. THE GOAL Test QA You and me Git Octopus Deploy Prod TeamCity NuGet feed
    9. 9. Tools
    10. 10. TEAMCITY Continuous integration engine JetBrains Free for small teams
    11. 11. OCTOPUS DEPLOY Automated deployment for .NET (Windows) • Deployment dashboard • Secure • Promotion between environments • Based on NuGet • PowerShell • Deploy to Azure
    12. 12. NUGET & OCTOPUS DEPLOY
    13. 13. OCTOPUS DEPLOY PROCESS • • Pre deploy • Octopus does IIS setup • Run transformations of config files Check environment • Configure environment • PostDeploy.ps1 • Delete files • Clean up Deploy.ps1 • PreDeploy.ps1 Deploy Post deploy
    14. 14. PowerShell
    15. 15. Demo http://www.mrwallpaper.com/view/despicable-me-hitman-minion-1920x1080/
    16. 16. SUMMARY • Continuous deployment doesn’t have to be hard • The right tools will help you a long way (TeamCity and Octopus deploy) • Learn PowerShell, it will make your life easier
    17. 17. RESOURCES Blog post about the setup: http://tinyurl.com/PowerOctoTeam Octopus Deploy: http://www.octopusdeploy.com TeamCity: http://www.jetbrains.com/teamcity/ GitHub project: https://github.com/mastoj/OctoWebSetup NuGet download: https://nuget.org/packages/OctoWebSetup/
    18. 18. Questions?
    19. 19. Thank you! @TomasJansson

    ×