Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Visual Studio Release Management - New weltanschauung or natural evolution? @ Swansea SDC

Visual Studio Release Management - New weltanschauung or natural evolution? @ Swansea SDC

Talk at Swansea SDC, Meet-up #22.

Giulio Vian

March 21, 2016
Tweet

More Decks by Giulio Vian

Other Decks in Technology

Transcript

  1. Visual Studio Release Management: new Weltanschauung or natural evolution? Giulio

    Vian http://blog.casavian.eu/ [email protected] @giulio_vian http://www.getlatestversion.it/
  2. Who am I? • 25 years experience • 14 years

    • Currently • Me? I’m just an OpsDev, you can tell it by the way I walk… • Some works on GitHub • TfsAggregator2 • TfsGitAdmin • GitPushFilterPlugin • since 2010 • If I do not speak English (or sounds weird to you) stop me
  3. Will talk about? • Visual Studio Release Management „vNext“ •

    Available on VSTS • On premise with 2015 Update 2 • Questions to be answered • What is? • Costs • Advantages • Complexity • Idiosyncrasies Said undelicately, in the cloud, we can release features that aren't finished yet. Brian Harry 100/200-level session!
  4. What is Visual Studio Release Management “vNext”? «DevOps solution for

    delivering your software easily and more frequently» An automation technology very similar to Build v.Next designed to support deployment New implementation WRT InRelease, 2013 o 2015 Tool to properly implement Continuous Delivery
  5. What is Visual Studio Release Management “vNext”? «DevOps solution for

    delivering your software easily and more frequently» An automation technology very similar to Build v.Next designed to support deployment New implementation WRT InRelease, 2013 o 2015 Tool to properly implement Continuous Delivery
  6. My own definition • A tool to manage release of

    packages, built by internal or external development teams, to QA and production environments, be they in house or external, helping coordinate with teams responsible for operation and monitoring QA and production environments • Shortly, what happens after the build
  7. Martin Fowler says… • You’re doing continuous delivery when: •

    Your software is deployable throughout its lifecycle • Your team prioritizes keeping the software deployable over working on new features • Anybody can get fast, automated feedback on the production readiness of their systems any time somebody makes a change to them • You can perform push-button deployments of any version of the software to any environment on demand Source: http://martinfowler.com/bliki/ContinuousDelivery.html
  8. Availability and costs • Currently VSTS-only, but Update 2 is

    just around the corner • First hosted agent is ‘free’ • Hosted Agent (i.e. runs on an Azure VM) • €33,73 / month • £24.44 / month • Private Agent (on premise) • €12,65 / month • £9.16 / month
  9. Complexity • Limited task library • A good thing? •

    Variables flow • Manage server farm • Global Objects • Service Endpoints
  10. Idiosyncrasies (PITA in en-US) • Migrating from earlier versions •

    http://blogs.msdn.com/b/visualstudioalmrangers/archive/2015/12/09/releas e-management-workflow-migrator.aspx • No inheritance or sharing • Would be nice to share Credentials between Release Definitions • Tasks are mostly designed for a single machine • But using Azure… • …or some Powershell trick… • …or Azure Stack some day
  11. Chicken or egg? (bootstrapping) 1. Install the agent • Do

    not need being an admin • Credentials specified in Release Definition • TFS / VSTS on sight view (HTTP/S) • Use a pre-canned VM image, DSC, Chef, … to install 2. Configure the machine • Pre-requisites, e.g. IIS, WebDeploy 3. Install your Application
  12. Caveats • Approvers like cops • Agent Pools to insulate

    environment (e.g. production from dev) • An environment is not an environment • Security • Agent Pool Admin Account VSTS / TFS Instance • Agent Queue Administrators / Users Collection • Release Administrators Project • Creating new Release is powerful • Limit accesses
  13. Update 2 • No more sequential Environment • Skipping intermediate

    un-deployed Releases • Set Release time schedule while approving • Multiple approvers (and/or) • Auto “Release notes” • TFS on premise • Source: http://blogs.msdn.com/b/visualstudioalm/archive/2016/01/08/vsts-release- management-plan-for-2016-h1.aspx
  14. To know more • Official Documentation • https://msdn.microsoft.com/en- us/Library/vs/alm/Release/overview •

    HOL at • https://github.com/Microsoft/PartsUnlimited/blob/hands-on- labs/docs/HOL_PartsUnlimited_WebSite_Continuous_Deployment /HOL_Continuous_Deployment_Release_Management.md • Continuous Delivery with Visual Studio ALM 2015 — M.Olausson, J.Ehn (Apress) • http://www.amazon.it/Continuous-Delivery-Visual-Studio- 2015/dp/1484212738/
  15. Free Resources for DevOps Practices • Optimize your DevOps practices

    and tools: • Get started on your DevOps journey: aka.ms/devops • Download the Forrester Infrastructure-as-Code whitepaper: • Complexity kills. Automate with Infra as code: aka.ms/iac_tlp • Technical resources for Practitioners: • Get access to free online training: aka.ms/devopsmva • DevOps Maturity Self-Assessment • See where your organization is at across 7 areas: http://devopsassessment.azurewebsites.net/ • Learn DevOps Practices hands-on with PartsUnlimited apps • github.com/Microsoft/PartsUnlimited and github.com/Microsoft/PartsUnlimitedMRP Accelerate your application delivery lifecycle