Your code is not just…your code

Slides:



Advertisements
Similar presentations
Software Testing with Visual Studio 2013 & Team Foundation Server 2013 Benjamin Day.
Advertisements

#sqlsatPordenone #sqlsat367 February 28, 2015 Testing your databases Alessandro
BizTalk Deployment using Visual Studio Release Management
Access Web Apps – OK, Now What? EXTENDING ACCESS WEB APPS George Young Dawson Butte Software ACCESS DAY – OCTOBER DENVER,
Building a social networking portal on Windows Azure in 1 hour Saranya Sriram Developer Evangelist Microsoft, India.
Continuous Integration for Databases Learn how to automate your build and test Steve Jones Red Gate Software Part II of the Continuous Delivery for Databases.
Automating Drupal Deployment Dominique De Cooman.
Testing Tools using Visual Studio Randy Pagels Sr. Developer Technology Specialist Microsoft Corporation.
@benday #vslive Automated Build, Test & Deploy with TFS, ASP.NET, and SQL Server Benjamin
Web/App Performance How to keep you out of the News
Continuous Deployment JEFFREY KNAPP 8/6/14. Introduction Why is it valuable How to achieve What to consider.
Chris Menegay VP of Consulting Notion Solutions, Inc. DTL319.
Anubha Gupta | Software Engineer Visual Studio Online Microsoft Corp. Visual Studio Enterprise Leveraging modern tools to streamline Build and Release.
Infrastructure as code. “Enable the reconstruction of the business from nothing but a source code repository, an application data backup, and bare metal.
Real World SQL Server Data Tools Benjamin
Continuous Integration for Databases Steve Jones SQLServerCentral Red Gate Software.
Developing SQL/Server database in Visual Studio Introducing SQL /Server Data Tools Peter Lu.Net Practices Director Principle Architect Nexient March 19.
Benjamin Day Get Good at DevOps: Feature Flag Deployments with ASP.NET, WebAPI, & JavaScript.
ASP.NET Core* 1.0 The Future of Web Apps Shahed Chowdhuri
DevOps in the cloud Peter’s personal journey on how I found out, I need Dev skills to optimize my ‘Azure’ work… and so do you!!
Continuous Integration for Databases Steve Jones SQLServerCentral Red Gate Software.
Version Control for PL/SQL
Automated Build and Test
DevOps with ASP.NET Core and Entity Framework Core
Analysis Services in times of Continuous Integration
Bringing DevOps to the Database
Stress Free Deployments with Octopus Deploy
Visual Studio Database Tools (aka SQL Server Data Tools)
Microsoft /23/2018 8:20 PM THR3038 Implement dev and test scenarios using Azure and Visual Studio Team Services Alex Mang Azure MVP © 2016 Microsoft.
SQL Server Data Tools for Visual Studio Part I: Core SQL Server Tools
By Gary Mandela December 26, 2006
Introduction to Team Foundation Server 2010
Team Foundation Server – Build-Deploy-Test Workflow
A lot of Software Development is about learning
Build /21/2018 © 2015 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION.
Bringing DevOps to the Database
Continuous Integration For Databases
Database Code Management with VS 2017 and RedGate
Get Good at DevOps: Feature Flag Deployments with ASP
Should I Transition to .NET Core? Will it hurt?
Visual Studio Database Tools (aka SQL Server Data Tools)
TechEd /3/2018 8:11 AM © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks.
Johan Hedberg Microsoft Azure MVP
Bringing DevOps to the Database
Johan Hedberg Consultant & XLENT | Cloud and Integration specialist | Microsoft MVP Using VSTS to deploy BizTalk Server solutions, what you.
Tech·Ed North America /2/2019 4:47 PM
Delivering Business Value Faster
DAT381 Team Development with SQL Server 2005
Real World Scrum with TFS & VSTS / Azure DevOps
ETL Automation using Biml
Presented by : Chirag Dani & Dhaval Shah
SSDT and Database Project Basics
From Development to Production: Optimizing for Continuous Delivery
Summit Nashville /3/2019 1:48 AM
From Development to Production: Optimizing for Continuous Delivery
HCL’s Viewpoint – DevOps on MS Cloud
SSDT, Docker, and (Azure) DevOps
Azure Data Factory V2 Templates
Keeping your SQL Code safe
SSDT, Docker, and (Azure) DevOps
7/19/2019 2:53 AM © 2007 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered.
Adopting a Compliant Database DevOps Process
The Future of Database Development
Erik Porter Program Manager ASP.NET Microsoft Corporation
Adopting a Compliant Database DevOps Process
The Future of Database Development
Jamie Cool Program Manager Microsoft
SSDT, Docker, and (Azure) DevOps
Your code is not just…your code
The Future of Database Development (with containers)
Presentation transcript:

Your code is not just…your code SQL Saturday 2016

Thank you to our sponsors

About me > > Family Work Community

POLL: Why are you here? Session Title Learn about tsqlt Database Deployments There was nothing else on at the moment Any other reasons?

Session overview Ways to deploy to production Why is it important to have a good release pipeline Deployment techniques Demo Time

What is the typical flow for releasing code? Just do it Development Production 1 3 2 5 4 6 7 8 9 10

Pros and Cons of Just do it Quick fixes Simple process Cons Risky fixes More chance of bugs being fixed and then breaking again Not easy to see what a version of a component/object was in the past Only really ever dev test Manual testing need to be repeated ever release

What is the typical flow for releasing code? We use Source Control Development Production 1 2 3 6 4 5

Pros and Cons of We use Source Control Bug fixes have no impact on production because they in the dev space Simple process All objects are versioned History of an object Comments for commits so you can potentially see why changes were made and by who Cons Only really ever dev test Manual testing need to be repeated ever release

What is the typical flow for releasing code? Release pipeline Development Production Integration 1 2 3 6 7 5 8 9 10 11 4

Pros and Cons of Release pipeline Bug fixes have no impact on production because they in the dev space Automated Builds (compile / package software and run unit tests) Integration Testing (replaces / minimizes manual testing) Deployments (repeatable which minimizes inconsistences) All objects are versioned History of an object Comments for commits so you can potentially see why changes were made and by who Fixes get to production faster with higher quality Cons “Complicated” process

Summary of typical flow for releasing code? Just do it We use Source Control Release pipeline Anything else?

Why is a good release pipeline important? Bugs cost you more the longer they’re there Bugs in a component with lots of technical debt Dev < Integration < QA < Staging < Production (“real money”?) Consistency Less key man reliance for getting code into production Release often and fast Improved Quality Measurable Allows you to better experiment with A/B testing

Deployment techniques Manual Copy & Paste Keep changes in a script and then run in production Schema Compare ??? Automated Power Shell scripts Walk source control tree and apply changes since last release Code first* Database project generated scripts Dac Pac’s

Our Demo App TODO Base css template from http://todomvc.com/ ASP.net MVC with Web API for the server side Microsoft SQL Server 2016

DEMO Let’s see the app What does the existing code look like tsqlt? What? Setup Team Build Create a release Add some app functionality to see it all come together

Links http://tsqlt.org tSQLt Visual Studio Test Adapter blog post http://r3f.co/2cmw5AF After all RSA SQL Saturdays there will be a blog post on http://beeming.net that has a recording of this session for reference if wanted.