DevOps In Mobility World With Microsoft Technology
Sep. 11, 2017•0 likes•2,148 views
Report
Technology
DevOps In Mobility World With Microsoft Technology by "Shrinathacharya L M" and "Nandini G V" from "All Scripts". The presentation was done at #doppa17 DevOps++ Global Summit 2017. All the copyrights are reserved with the author
DevOps In Mobility World With Microsoft Technology
1. #DOPPA17
DevOps in Mobility World with Microsoft
Technology
Shrinathacharya L M & Nandini G V
9th September 2017
2. #DOPPA17
As a author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media
marketing, publishing it on ATA Blog or ATA social medial channels(Provided due credit is given to me/us)
Abstract
DevOps plays a vital role in mobile projects to meet buzz word “faster time to the market”
and “faster reaction to the customer” before they ask. It’s a big challenge in mobility as
there are multiple mobile operating systems vs multiple OS version in mobile ecosystem.
How do we address below challenges?
Every three days a new mobile manufacturing company brings new mobiles into
market
Building mobile apps as fast as with market expectation
Testing mobile app on multiple OS vs multiple OS versions
Distributing app and notification to stakeholders
Monitoring the app statistics, performance and crash analytics
This paper talks about addressing the challenges with Mobile DevOps process which
involves setting the environment, development, testing, build, distributing app and
monitoring the app with continuous integration, continuous deployment and
continuous delivery using Microsoft Technology.
3. #DOPPA17
As a author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media
marketing, publishing it on ATA Blog or ATA social medial channels(Provided due credit is given to me/us)
Key findings
High-performing organizations
decisively outperform their
lower-performing peers
• 200 times faster
• 2555 faster lead time
• Recover 24 times faster
• 3 times lower failure
change rate
High-performing organizations
spend 22 percent less time on
unplanned work and rework
4. #DOPPA17
As a author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media
marketing, publishing it on ATA Blog or ATA social medial channels(Provided due credit is given to me/us)
Interesting data
Parameters Fortune 1000 company survey
with traditional IT
Avg. downtime Cost $1.25b - $2.5b per year
Avg. hourly cost of infrastructure
failure
$1m per hour
Avg. Cost of critical application
failure
$0.5m-1m per hour
DevOps process accelerate delivery 100%
Avg. Cost % Wastage with
Development, Test, Deployment
and Operations
25% per year
5. #DOPPA17
As a author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media
marketing, publishing it on ATA Blog or ATA social medial channels(Provided due credit is given to me/us)
DevOps
Development
OperationsQA
DevOps
DevOps a clipped compound of
development and operations
DevOps treats Infrastructure as
code
DevOps is a culture, a practice, and
an approach to operations
DevOps is using Automation
6. #DOPPA17
As a author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media
marketing, publishing it on ATA Blog or ATA social medial channels(Provided due credit is given to me/us)
Traditional vs DevOps -Pipeline Automation
7. #DOPPA17
As a author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media
marketing, publishing it on ATA Blog or ATA social medial channels(Provided due credit is given to me/us)
DevOps Process – 3 C’s
Continuous
Integration
Continuous
Delivery
Continuous
Deployment
Application
Code
ProductionStagingQA
8. #DOPPA17
As a author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media
marketing, publishing it on ATA Blog or ATA social medial channels(Provided due credit is given to me/us)
DevOps pipeline with Microsoft Technology
9. #DOPPA17
As a author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media
marketing, publishing it on ATA Blog or ATA social medial channels(Provided due credit is given to me/us)
Case Study / Implementation
10. #DOPPA17
As a author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media
marketing, publishing it on ATA Blog or ATA social medial channels(Provided due credit is given to me/us)
Mobile Development Tools
11. #DOPPA17
As a author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media
marketing, publishing it on ATA Blog or ATA social medial channels(Provided due credit is given to me/us)
CI/CD Tools
Tools Purpose
Jenkins CI/CD – Standalone - Windows, Mac, Unix
TeamCity CI – Integration with Visual Studio on Windows
Travis CI/CD – Integration with Github
CircleCI CI/CD – Integration with Maven, Gradle
GitLab CI Integration with Github
12. #DOPPA17
As a author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media
marketing, publishing it on ATA Blog or ATA social medial channels(Provided due credit is given to me/us)
Development - Phase
• Xamarin is integrated with Visual Studio
• Native Code access
• Visual Studio on Windows
• Xamarin Studio on Mac
• MVVM Pattern
13. #DOPPA17
As a author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media
marketing, publishing it on ATA Blog or ATA social medial channels(Provided due credit is given to me/us)
Test - Phase
• Xamarin Test Cloud provides more than 2400 mobile devices on cloud
for iOS and Android
• Automation with Xamarin.UITest
2%
31%
33%
22%
12%
Android Devices
Nougat 7.x
MarshMallow
6.x
Lollipop 5.x
KitKat 4.4
Jelly Bean
4.2x & below
86%
11%
3%
iOS Devices
iOS10.x
iOS9.x
iOS8.x and
below
14. #DOPPA17
As a author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media
marketing, publishing it on ATA Blog or ATA social medial channels(Provided due credit is given to me/us)
Test Approach
Unit Testing/Integration testing with MS Tests
Develop UI Workflows on Continuous Integration Testing for
nightly builds with Xamarin.UITest
Regression Testing for execution on multiple platform
Test Pyramid Approach
15. #DOPPA17
As a author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media
marketing, publishing it on ATA Blog or ATA social medial channels(Provided due credit is given to me/us)
Build – Continuous Integration
Team Foundation 2015 and higher – Check-In
• Configuration of Gated Check-In with Unit Test Integration
Build
• vNext provides wizard based configuration on build configuration
• Scheduled Build /Nightly Builds
• Manual Trigger
Scheduled Build Manual Trigger
16. #DOPPA17
As a author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media
marketing, publishing it on ATA Blog or ATA social medial channels(Provided due credit is given to me/us)
Distribute & Monitor – Continuous
Deployment
HockeyApp / Visual Studio Mobile Center
• Distribute iOS and Android App and alert for new builds
• Download and upgrade to latest app
Monitor
• Device details
• App performance
• Collect User Feedback
• Collect Crash reports and logs, app not responding, network errors
• User Metrics
• Download information
• User engagement – Session, login and pattern
17. #DOPPA17
As a author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media
marketing, publishing it on ATA Blog or ATA social medial channels(Provided due credit is given to me/us)
Continuous - Integration, Deployment and
Delivery
Code Check-In
Build with TFS -
vNext - CI
Develop with
VS & Xamarin
Test with
Xamarin.UITest
Integrate with
Xamarin Test Cloud
HockeyApp –
Cont. Delivery
HockeyApp – Continuous Deployment
18. #DOPPA17
As a author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media
marketing, publishing it on ATA Blog or ATA social medial channels(Provided due credit is given to me/us)
Key Takeaways
• Microsoft Technology Stack for Mobile Projects
– Develop - Visual Studio, Xamarin
– Build & Config -TFS vNext, PowerShell
– Test -Xamarin.UITest & Xamarin Test Cloud
– Distribute & Monitor -HockeyApp/Microsoft Mobile Center
• Enables to develop faster time to market and faster reaction to the field
with Continuous – Integration, Deployment and Delivery
• Better Quality Product deliverable with less cost and effort
• No large releases needed
19. #DOPPA17
As a author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media
marketing, publishing it on ATA Blog or ATA social medial channels(Provided due credit is given to me/us)
Authors
Shrinathacharya L M
Principal Engineer – Automation
shrinathacharya.lm@allscripts.com
Allscripts
• Developer by profession | Automation tester by heart
| .NET programmer | Innovator
• 15+ years of experience in Development and Automation
• Speaker for GTR-2017 Conference Pune, ATA13th Meetup & 11th
Meetup DotNetBLR at Bangalore
• Published white paper in STC-2015, STC-2016
• Blog https://dotnetengineer.blog
• 10 years of experience in Development, DevOps implementation
• Speaker at 14th ATA meetup at Bangalore
• Expertise in .Net, C#, SQL Server, Microsoft Azure, Windows
PowerShell.
Nandini GV
Expert Software Engineer – DevOps
Nandini.GirlappaVeerakariyanna@allscripts.com
Allscripts
20. #DOPPA17
As a author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media
marketing, publishing it on ATA Blog or ATA social medial channels(Provided due credit is given to me/us)
References
• https://www.visualstudio.com/en-us/docs/build/define/triggers
• https://shiningdragonsoftware.net/2015/06/09/tfs-build-vnext-build-
definitions/
• https://hockeyapp.net/features/
• http://devopsdigest.com/idc-survey-appdynamics-devops-
application-performance
• https://puppet.com/resources/whitepaper/2016-state-of-devops-
report
21. #DOPPA17
As a author of this presentation I/we own the copyright and confirm the originality of the content. I/we allow Agile testing alliance to use the content for social media
marketing, publishing it on ATA Blog or ATA social medial channels(Provided due credit is given to me/us)
Thank You