SqlSaturday Denmark 2017 - Automate your SSIS deployment process
1.
#SQLSatDenmark
Automate your SSIS
deployment process
Bartosz Ratajczyk
2.
#SQLSatDenmark
BIG Thanks to SQLSat Denmark sponsors
3.
#SQLSatDenmark
What is he talking about?
About making deployments easier
removing manual tasks
Things tested in practice
starting with small steps
From multiple scripts to one script deployment
or using one/two steps in TFS
How to build your own solution
About different options and hurdles
4.
#SQLSatDenmark
I will not cover
Single package deployments
Best practices
DevOps
5.
#SQLSatDenmark
Bartosz Ratajczyk
SQL Server Consultant @ 7N
Speaker
SQL Saturday volunteer
Advisory Board Member in Data
Community Poland
MCSE, MCT
http://bartekr.net b.ratajczyk@gmail.com
6.
#SQLSatDenmark
All deployment steps
Client side
1. Compile project
2. Deploy project
Server side
1. Create folder
2. Create environment
3. Reference environment
4. Create environment variables
5. Configure project
6. Validate project
7. Verify validation
8. Test run
Testing (NBi, LegiTest)
Naming convention compliance (ie. Jamie Thomson)
7.
#SQLSatDenmark
Raising the bar
Version control
DEV, TEST, PROD branches
Different servers
DEV, TEST, QA, PREPROD, PROD
Different configurations
Drive letters, folder names
Connection strings
We have more than one project
8.
#SQLSatDenmark
MAKING THE WORK EASIER
Let’s start
SQLDay 2017
16.
#SQLSatDenmark
IsDeploymentWizard /Silent
/Silent == fire and forget
There might be a situation, where /Silent has problems
e.g. external library in Script Task
24.
#SQLSatDenmark
Configuration Manager - usage
Different parameter values for different configurations
(think: local environments)
Contained in .dtproj files
No single window to configure them all
36.
#SQLSatDenmark
And how about TFS?
Custom proces for building and deployment
You can expand it with PowerShell steps to
control environments, validation, …
37.
#SQLSatDenmark
DEMO
Automatic proces using TFS
SQLDay 2017
38.
#SQLSatDenmark
So simple!
The work is still boring, but this time the computer does it
For automation use
MSBuild
Powershell
SMO
Use additional software for CI/CD process
39.
#SQLSatDenmark
BIG Thanks to SQLSat Denmark sponsors