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

Get up to speed with DevOps

Get up to speed with DevOps

Erwin Staal

June 05, 2020
Tweet

More Decks by Erwin Staal

Other Decks in Technology

Transcript

  1. @erwin_staal DevOps is the union of people, process, and products

    to enable continuous delivery of value to our end users Donovan Brown, Microsoft
  2. @erwin_staal Deploy – Database changes Id Name CreatedDate 1 Peter

    2017-05-19 2 John 2017-05-21 Id Name CD CreatedDate 1 Peter 2017-05-19 2017-05-19 2 John 2017-05-21 2017-05-21 Id Name CD 1 Peter 2017-05-19 2 John 2017-05-21 v1 v2 v3
  3. @erwin_staal Deploy – Database changes public partial class AddStockProperty :

    DbMigration { public override void Up() { AddColumn("dbo.Fruit", "Stock", c => c.Int(nullable: false)); } public override void Down() { DropColumn("dbo.Fruit", "Stock"); } } public class Fruit { public int ID { get; set; } public string Name { get; set; } } public class Fruit { public int ID { get; set; } public string Name { get; set; } public int Stock { get; set; } }
  4. @erwin_staal Feature Flags Deployment != release Business decision Groups Performance

    monitoring No rollbacks Feature A Feature B Dev Test Prod
  5. @erwin_staal Feature Flags Code Sample var api = new FeatureFlagsApi();

    if (await api.IsFeatureFlagEnabledAsync("MyFirstFlag", "SimpleMVCApp", userid)){ // FeatureFlag enabled }
  6. @erwin_staal Feature Flags Code Sample var api = new FeatureFlagsApi();

    ViewBag.FlagEnabled = await api.IsFeatureFlagEnabledAsync("MyFirstFlag", "SimpleMVCApp", userid); @if (ViewBag.FlagEnabled) { <div class="jumbotron"> <h1>Awesome new feature enabled!</h1> </div> }