Continuous Integration: a real win-win for developers
-
Upload
davide-benvegnu -
Category
Software
-
view
197 -
download
3
Transcript of Continuous Integration: a real win-win for developers
![Page 1: Continuous Integration: a real win-win for developers](https://reader036.fdocuments.net/reader036/viewer/2022081517/58720e731a28ab176b8b804b/html5/thumbnails/1.jpg)
Davide BenvegnùMicrosoft MVP Visual Studio ALM
CI: a real win-win for developersaka
CI and CD in the Enterprise
Scenario
![Page 2: Continuous Integration: a real win-win for developers](https://reader036.fdocuments.net/reader036/viewer/2022081517/58720e731a28ab176b8b804b/html5/thumbnails/2.jpg)
Davide Benvegnù• Director & CTO – DBTek Ltd• Former International Development Manager – Aruba.it
• Microsoft MVP in Visual Studio ALM• Speaker• Trainer
• 14+ years experience in IT• 11+ years experience in ALM/ DevOps
@davidebenvegnu – www.dbtek.com.hk – [email protected]
@bout Me
![Page 3: Continuous Integration: a real win-win for developers](https://reader036.fdocuments.net/reader036/viewer/2022081517/58720e731a28ab176b8b804b/html5/thumbnails/3.jpg)
• CI and CD: what and how?• Visual Studio Team Services• Demo: GitHub• Demo: CI + CD (slot swap)• Demo: CI + CD (multilayer)
Agenda
![Page 4: Continuous Integration: a real win-win for developers](https://reader036.fdocuments.net/reader036/viewer/2022081517/58720e731a28ab176b8b804b/html5/thumbnails/4.jpg)
Continuous Integration and
Continuous Deployment
![Page 5: Continuous Integration: a real win-win for developers](https://reader036.fdocuments.net/reader036/viewer/2022081517/58720e731a28ab176b8b804b/html5/thumbnails/5.jpg)
Every* check-in starts a build operation
It’s the starting point of a release pipeline
Best way to check the code integration
Validation of the changes
Continuous Integration
![Page 6: Continuous Integration: a real win-win for developers](https://reader036.fdocuments.net/reader036/viewer/2022081517/58720e731a28ab176b8b804b/html5/thumbnails/6.jpg)
After the build succeeds, automated deploy
Use deployment templates to deploy your projects to on premises, hybrid, or cloud
Can deploy to single environment or to multiple environments (dev, int, test, preprod, prod…)
Continuous Deployment
![Page 7: Continuous Integration: a real win-win for developers](https://reader036.fdocuments.net/reader036/viewer/2022081517/58720e731a28ab176b8b804b/html5/thumbnails/7.jpg)
Delivery team Version control Build & unit test
Automated acceptance test
User acceptance tests
Release
Check-in Trigger
Feedback
TriggerFeedback
Approval Approval
Continuous delivery process
![Page 8: Continuous Integration: a real win-win for developers](https://reader036.fdocuments.net/reader036/viewer/2022081517/58720e731a28ab176b8b804b/html5/thumbnails/8.jpg)
Check-in Trigger
Feedback
Continuous integrationDelivery team Version control Build & unit
testAutomated acceptance test
User acceptance tests
Release
TriggerFeedback
Approval Approval
![Page 9: Continuous Integration: a real win-win for developers](https://reader036.fdocuments.net/reader036/viewer/2022081517/58720e731a28ab176b8b804b/html5/thumbnails/9.jpg)
Continuous deployment
Check-in Trigger
Feedback
Delivery team Version control Build & unit test
Automated acceptance test
User acceptance tests
Release
TriggerFeedback
Approval Approval
![Page 10: Continuous Integration: a real win-win for developers](https://reader036.fdocuments.net/reader036/viewer/2022081517/58720e731a28ab176b8b804b/html5/thumbnails/10.jpg)
Manual Builds and Deploy
Client Workstations
Source Build
Test
Deploy Monitor and Learn
TFVC
GITcspkg
Environments
OPS
DEV
OPS
cspkg
![Page 11: Continuous Integration: a real win-win for developers](https://reader036.fdocuments.net/reader036/viewer/2022081517/58720e731a28ab176b8b804b/html5/thumbnails/11.jpg)
EnvironmentsDev/Test
Integration
Pre-Production
Production
Continuous Integration and Deployment
Client Workstations
Source Build
Test
Deploy Monitor and Learn
TFVC
GITcspkg
OPS
DEV
cspkg
cspkg
cspkg
cspkg
![Page 12: Continuous Integration: a real win-win for developers](https://reader036.fdocuments.net/reader036/viewer/2022081517/58720e731a28ab176b8b804b/html5/thumbnails/12.jpg)
• Different environments (dev, qa, uat, preprod, prod)
• Using slots for deployment• Spin-up new environments on demand
• Deploy multi-tier applications and dependencies
• Apply database changes
Real world deployments
![Page 13: Continuous Integration: a real win-win for developers](https://reader036.fdocuments.net/reader036/viewer/2022081517/58720e731a28ab176b8b804b/html5/thumbnails/13.jpg)
Why VSTS and TFS
![Page 14: Continuous Integration: a real win-win for developers](https://reader036.fdocuments.net/reader036/viewer/2022081517/58720e731a28ab176b8b804b/html5/thumbnails/14.jpg)
Complete suiteSource Control, Agile planning, Test management,Build, Release Management
Integrated EnvironmentLink code, work items, tests, build and releases
Enterprise readinessSecurity, SLA, ISO, pools and queue management
Why VSTS / TFS
![Page 15: Continuous Integration: a real win-win for developers](https://reader036.fdocuments.net/reader036/viewer/2022081517/58720e731a28ab176b8b804b/html5/thumbnails/15.jpg)
Hosted build / release agents *No installation required
Multi-platformBuild natively on Windows, Mac, and LinuxBuild .Net, Java, Objective-C, Javascript..
Release ManagementDeploy to a multi-environment release pipelineUse existing release and approval flows
* Available only on VSTS
CI and CD in VSTS / TFS
![Page 16: Continuous Integration: a real win-win for developers](https://reader036.fdocuments.net/reader036/viewer/2022081517/58720e731a28ab176b8b804b/html5/thumbnails/16.jpg)
DEMO
![Page 17: Continuous Integration: a real win-win for developers](https://reader036.fdocuments.net/reader036/viewer/2022081517/58720e731a28ab176b8b804b/html5/thumbnails/17.jpg)
© 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.