14

DevOps for the SQL Server Database - Redgate...DevOps for the SQL Server Database Brian A. Randell Partner at MCW Technologies, LLC Microsoft Developer Technologies MVP • Partner

  • Upload
    others

  • View
    25

  • Download
    0

Embed Size (px)

Citation preview

Page 1: DevOps for the SQL Server Database - Redgate...DevOps for the SQL Server Database Brian A. Randell Partner at MCW Technologies, LLC Microsoft Developer Technologies MVP • Partner
Page 2: DevOps for the SQL Server Database - Redgate...DevOps for the SQL Server Database Brian A. Randell Partner at MCW Technologies, LLC Microsoft Developer Technologies MVP • Partner

DevOps for the SQL Server Database

Brian A. Randell

Partner at MCW Technologies, LLC

Microsoft Developer Technologies MVP

Page 3: DevOps for the SQL Server Database - Redgate...DevOps for the SQL Server Database Brian A. Randell Partner at MCW Technologies, LLC Microsoft Developer Technologies MVP • Partner

• Partner with MCW Technologies, www.mcwtech.com• Co-author Pro ALM 2013 from Wrox• 15 year Microsoft MVP—Development Technologies• Linked In Learning author

• New course DevOps for the Database with VSTS and Azurehttps://bri.gd/lildbdevopsvsts0818

• Also Db DevOps with TFS 2018 http://bri.gd/lildbdevopstfs18

[email protected] | @brianrandell | blog.brianrandell.com

Brian.About();

Page 4: DevOps for the SQL Server Database - Redgate...DevOps for the SQL Server Database Brian A. Randell Partner at MCW Technologies, LLC Microsoft Developer Technologies MVP • Partner

People. Process. Products.What is DevOps?

DevOps is the union of people, process, and products to enable continuous delivery of value to your end users.

Build&

Test

ContinuousDelivery

Deploy

Operate

Monitor &

Learn

Plan &

Track

Develop

Page 5: DevOps for the SQL Server Database - Redgate...DevOps for the SQL Server Database Brian A. Randell Partner at MCW Technologies, LLC Microsoft Developer Technologies MVP • Partner

Compliant Database DevOps

Page 6: DevOps for the SQL Server Database - Redgate...DevOps for the SQL Server Database Brian A. Randell Partner at MCW Technologies, LLC Microsoft Developer Technologies MVP • Partner

A B C D E F GH I J K L M NO P Q R S T UV W X Y Z

C

Page 7: DevOps for the SQL Server Database - Redgate...DevOps for the SQL Server Database Brian A. Randell Partner at MCW Technologies, LLC Microsoft Developer Technologies MVP • Partner

Focus on the Flow

• Continuous Integration

• Continuous Testing

• Continuous Deployment

• Continuous Feedback

• Continuous Improvement

• Continuous (Value) Delivery

Page 8: DevOps for the SQL Server Database - Redgate...DevOps for the SQL Server Database Brian A. Randell Partner at MCW Technologies, LLC Microsoft Developer Technologies MVP • Partner

Great, but how?

• Let’s look at an end-to-end CI/CD pipeline• Tools I’m using

• Redgate SQL Toolbelt with SQL Change Automation• Microsoft Release Management

• A component of Team Foundation Server 2018

Page 9: DevOps for the SQL Server Database - Redgate...DevOps for the SQL Server Database Brian A. Randell Partner at MCW Technologies, LLC Microsoft Developer Technologies MVP • Partner
Page 10: DevOps for the SQL Server Database - Redgate...DevOps for the SQL Server Database Brian A. Randell Partner at MCW Technologies, LLC Microsoft Developer Technologies MVP • Partner

Models and Databases

• SQL Source Control approach• Model database entities as DDL entities• Publish changes by comparing model to target

Page 11: DevOps for the SQL Server Database - Redgate...DevOps for the SQL Server Database Brian A. Randell Partner at MCW Technologies, LLC Microsoft Developer Technologies MVP • Partner

Migrations and Databases

• Redgate SQL Change Automation uses migrations• Changes tracked using SQL scripts• “Migrate” changes progressively via a series of scripts

Page 12: DevOps for the SQL Server Database - Redgate...DevOps for the SQL Server Database Brian A. Randell Partner at MCW Technologies, LLC Microsoft Developer Technologies MVP • Partner

Some Considerations

• People and Process• Drift• Multiple apps using same database

• Updating the database and app together• Compliant Test Data

Page 13: DevOps for the SQL Server Database - Redgate...DevOps for the SQL Server Database Brian A. Randell Partner at MCW Technologies, LLC Microsoft Developer Technologies MVP • Partner
Page 14: DevOps for the SQL Server Database - Redgate...DevOps for the SQL Server Database Brian A. Randell Partner at MCW Technologies, LLC Microsoft Developer Technologies MVP • Partner

Anyquestions?