Release management with NuGet/Chocolatey/JIRA

2,258 views

Published on

Building web applications?
Thinking about auto-updater?
Need to document your releases?
Then look at this presentation.
You'll likely discover another point of view on these questions.

Published in: Technology
0 Comments
4 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,258
On SlideShare
0
From Embeds
0
Number of Embeds
19
Actions
Shares
0
Downloads
25
Comments
0
Likes
4
Embeds 0
No embeds

No notes for slide
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Release management with NuGet/Chocolatey/JIRA

    1. 1. Release management with NuGet/Chocolatey/JIRA Iaroslav Sergieiev Sep 29, 2012
    2. 2. 1Package managers
    3. 3. Cool things to learn from LinuxGeeks rarely search apps in Internet. :)They just type apps they need and getthem instantly.Thanks to package managers!
    4. 4. Package managers search in repositories download, install uninstall, repair resolve dependencies
    5. 5. Package managers’ purpose for developer packages for applicationsgems apt yum and many others...
    6. 6. 8,180 54,761unique packages total packages 24,613,866 total downloads
    7. 7. Good news do not end. Meet Chocolatey!
    8. 8. It’s free. And it’s NuGet-based.
    9. 9. 2Use NuGet in Enterprise
    10. 10. NuGet Package Explorer (free GUI) http://npe.codeplex.com
    11. 11. Make your own template for CI buildshttps://github.com/chucknorris/warmup
    12. 12. 3 ways to setup your local NuGet feed1.Make a shared folder over network2.Install-Package NuGet.Server (on MVC)3.Deploy full-scaled NuGet gallery (we’ll skip it today)
    13. 13. Way 1: Just share a folder on the network
    14. 14. Configure Package Manager
    15. 15. Configure Package Manager
    16. 16. Configure Package Manager
    17. 17. Configure Package Manager
    18. 18. Choose your local feed
    19. 19. Your package is ready for install
    20. 20. Way 2: Setup NuGet.Server
    21. 21. Blank Web Application
    22. 22. Run the command below...
    23. 23. You are almost there
    24. 24. Configure appSettings<appSettings> <add key="packagesPath" value="C:MyPackages" /> <add key="apiKey" value="" /></appSettings>
    25. 25. Your local feed server is running
    26. 26. 3Several NuGet feeds for QA, Staging, Production
    27. 27. How is it structured in Debian Linux? http://packages.debian.org
    28. 28. Readiness of packages in Debian Linux squeeze wheezy sid stable testing experimental
    29. 29. It is pretty similar to enterprise workflow production staging night builds live qa feature branches
    30. 30. Guys, how you do that?• Answer was simple.
    31. 31. britney2, set of scripts
    32. 32. britney2, set of scripts
    33. 33. Can we do that easily in .NET?
    34. 34. Let’s invent wheelA little wheel... :)
    35. 35. Tools we use in our work Mercurial
    36. 36. Tools we use in our work Mercurial what can we place here?
    37. 37. Auto-updating environments: my vision
    38. 38. private ?public + octo-nuget /qa /sta /live scheduled task
    39. 39. JIRA: Issue Type “Delivery”
    40. 40. JIRA: Sub-Task Type “Release Package”
    41. 41. JIRA: Sub-Task Type “Release Package” contains project name and build number (full version)
    42. 42. JIRA: Install HTTP Request Workflow Function
    43. 43. Make workflow transitions do the job Deploy to QAPOST /services/jira.ashx?action=publish&issue=%ISSUE_KEY%&to=qa get issue fields via JIRA REST API Rollback from LIVEPOST /services/jira.ashx?action=rollback&issue=%ISSUE_KEY%&from=live e.g.: project = TST, version = 0.2.0.1 Did not pass QAPOST /services/jira.ashx?action=reject&issue=%ISSUE_KEY% copy = publish TST.0.2.0.1.nupkg delete = rollback, reject
    44. 44. Check out these commercial solutions also... http://octopusdeploy.com
    45. 45. Related links http://octopusdeploy.com http://nuget.org chocolatey http://chocolatey.orghttp://www.slideshare.net/maartenba/organize- your-chickens-nuget-for-the-enterprise
    46. 46. Related links http://octopusdeploy.com http://nuget.org chocolatey http://chocolatey.orghttp://www.slideshare.net/maartenba/organize- your-chickens-nuget-for-the-enterprise
    47. 47. Iaroslav Sergieiev @noomorphtwitter github bitbucket https://github.com/noomorph/octo-nuget

    ×