14
Continuous Deployment con SQL Server SQL Server e la cultura DevOps TEST STAGING PRODUCTION

PASS Virtual Chapter - SQL Server Continuous Deployment

Embed Size (px)

Citation preview

Page 1: PASS Virtual Chapter - SQL Server Continuous Deployment

Continuous Deployment con SQL Server

SQL Server e la cultura DevOps

TEST STAGING PRODUCTION

Page 2: PASS Virtual Chapter - SQL Server Continuous Deployment

Alessandro AlpiMicrosoft MVP – SQL Server dal 2008

Blog ITA: http://blogs.dotnethell.it/suxstellinoBlog ENG: http://suxstellino.wordpress.com/Website: http://www.alessandroalpi.net

CTO Engage IT Services S.r.l.www.engageitservices.itTeam leader (Agile)

CommunitiesGetlatestversion.it

Page 3: PASS Virtual Chapter - SQL Server Continuous Deployment

Parleremo diSviluppo e IT Operation

Continuous Integration

Automazione

Deploy e ambienti

DevDev Sta Prod

Page 4: PASS Virtual Chapter - SQL Server Continuous Deployment

DevOpsDevOps is a cultural approach in which the entire Line of Business is responsible for creating customer Value.In this scenario, Developers and Operations constantly experiment new ways of working together, standardizing and mastering processes through repetition and practice

Page 5: PASS Virtual Chapter - SQL Server Continuous Deployment

Perchè DevOpsLe applicazioni moderne

necessitano velocità di cambiamentonecessitano di un flusso continuo di delivery

Concentrarsi suPiù test e deploy piuttosto che sviluppo e progettazionePiù automazione piuttosto che interventi manualiPiù allineamento con IT Operations piuttosto che isolamento

Page 6: PASS Virtual Chapter - SQL Server Continuous Deployment

VantaggiRiduzione errori umani in releasePiù veloci nel Time To Market Più produttività e quindi più funzionalità prodotteAumento della qualità (processi consolidati e ripetibili)Elasticità nel flusso dei piani di rilascio

Page 7: PASS Virtual Chapter - SQL Server Continuous Deployment

Continuous integration, la base

SviluppoCommit/CheckinBuild del databaseTest sul databaseCreazione del package.. Invio per il deploy

Thanks to Red Gate

Page 8: PASS Virtual Chapter - SQL Server Continuous Deployment

DEMOCreiamo una semplice CI con SQL

per prepararci al deploy

Page 9: PASS Virtual Chapter - SQL Server Continuous Deployment

Come fare?SCM + Build server (e/o Powershell) + deployment softwareSoluzioni possibili (alcune)

SSMS con SCM + VSTS + deployment toolSSMS con SCM + deployment toolVisual Studio con SCM + VS Release Manager..con Powershell..con Docker

Page 10: PASS Virtual Chapter - SQL Server Continuous Deployment

DLM release pipeline

Thanks to Red Gate

Page 11: PASS Virtual Chapter - SQL Server Continuous Deployment

DEMORelease con DLM Add-in su VSTS

Page 12: PASS Virtual Chapter - SQL Server Continuous Deployment

ConclusioniAbbiamo soluzioni sia onpremises che in cloudA fronte di un costo iniziale, abbiamo innumerevoli vantaggiProcessi ripetibili ed affidabiliRiduzione errori umaniValore per il businessIntegrazione con i più famosi tool (octopus deploy, jenkins, ..)

Page 13: PASS Virtual Chapter - SQL Server Continuous Deployment

Risorsehttps://www.simple-talk.com/sql/database-administration/continuous-delivery-and-the-database/https://blogs.msdn.microsoft.com/ssdt/2016/04/06/sqldb-cicd-intro/https://www.devopsguys.com/2015/02/19/how-do-databases-fit-into-devops/http://www.red-gate.com/solutions/dlm/http://www.red-gate.com/products/dlm/dlm-automation/https://octopus.com/blog/howto/deploy-a-sql-databasehttps://documentation.red-gate.com/display/SR1/Deploying+a+database+package+using+Octopus+Deployhttps://marketplace.visualstudio.com/items?itemName=redgatesoftware.redgateDlmAutomationRelease

Page 14: PASS Virtual Chapter - SQL Server Continuous Deployment

GRAZIE!Continuate a seguire i PASS GLOBAL Italian Virtual Chapters

http://globalitalian.sqlpass.org/