SlideShare a Scribd company logo
HELSINKI
BY
KOMPOZURE
REGISTER NOW  http://bit.ly/devops-hki-2018
FAUG #8
DEVOPS
MOBILE CLIENT RELEASES
Okko Oulasvirta
Principal Consultant MSCD ALM
okko.oulasvirta@kompozure.com
@OkkoOulasvirta
Global DevOps Boot Camp HKI 2018  http://bit.ly/devops-hki-2018
KOMPOZURE
FAUG #8
DEVOPS: MOBILE CLIENT RELEASES
VISUAL STUDIO TEAM SERVICES
VISUAL STUDIO APP CENTER
GOOGLE PLAY
MOBILE APP RELEASE PIPELINE
VSTS App Center Google Play
Production app
Apple Itunes
TestFlight app
Production app
GIT
master
CI Build
iOS
Simulation
app.ipa
iOS
ALPHA
app.ipa
Android
Simulation
app.apk
Android
ALPHA
app.apk
CD Release
App Center
UI Testing
Environment
Automated UI tests
iOS devices
DEV Team
Android devices
Android devices
App Center
DEV Team
Devices
iOS devices
ALPHA
Approval
Pull Request
Closed Beta app
Closed Alpha app
BETA
PROD
Release
Validation
iOS
BETA,PROD
app.ipa
Android
BETA,PROD
app.apk
KEY POINTS FOR MOBILE BUILD
• Build all app configs from same commit
• UI-TEST, DEV, TEST, PROD, etc.
• Modify config appsettings.json, Android/iOS manifest
files etc. before build task
• Build number format 1.0.$(Build.BuildID)
• Increment app version code, version name using
$(Build.BuildNumber)
• Use different package name and label for different
configurations
• Keep your signing certificates safe with VSTS secured
files
• Publish different artifacts for different branches
• Run task with custom conditions to support multiple
branches  and(succeeded(),
eq(variables['Build.SourceBranch'], 'refs/heads/master’))
• NEWS ALERT! You can also build iOS apps with VSTS hosted
build agent (preview)
KEY POINTS FOR MOBILE RELEASE
Use Visual Studio App Center automated UI tests to ensure basic
functionality of your app
• Use pre- and post deployment approvals
• Use pre- and post deployment gates
NOTE: UI test may take up to 5 minutes to run per device
AUTOMATED UI TEST - PRICING
Scale UI testing with concurrent devices: each concurrent testing device (30h/mo) costs
99$ per month and for enterprise use (no test time limit) price is 499$ per device.
Questions to ponder for UI tests price:
• How much your manual testing costs?
• How fast you want to be with your
release pipeline?
• Do you have enough testers and
devices?
• How many users do you lose if their
model and/or OS version on their
device is not supported?
BENEFITS…
Questions to ponder
for UI tests price:
• How much manual
testing costs?
• Do you have
enough testers and
devices?
• How many users
do you lose if their
device model OS
version
VISUAL STUDIO APP CENTER RELEASE
Install VSTS extension for App
Center
• Connect App Center to VSTS
with service endpoint using
App Token
• Use VSTS build/release
tasks to deploy UI tests and
distribute internally your
app via App Center
VISUAL STUDIO APP CENTER RELEASE
Testers are added to App
Center
• Azure AD account
• MS account
• Google account
• Github account
• App Center account
Testers are notified by
email for new app
releases.
GOOGLE PLAY RELEASE
Install VSTS extension for Google
Play
• Create Service Account in
Google Play
• Connect Google Play to VSTS
with service endpoint using
service account and private key
• Use VSTS build/release tasks to
• Ceate Google Play Alpha,
Beta, Production releases
• Promote release
• Make partial roll-outs
GOOGLE PLAY RELEASE
Closed Alpha/Beta testers are
invited to Google Play
• Google account
Google Play notifies users android
for new app releases.
• Create app to Google Play
• First deployment manually
(release config and signed with
certificate)
DEMO
SIMPLE XAMARIN BUILD
SIMPLE APP CENTER “APP LAUNCHES” TEST
FAUG #?
DEVOPS: AZURE RELEASES
ARM TEMPLATES, VSTS CI/CD PIPELINE
FAUG #?
DEVOPS: MOBILE TESTING
APP CENTER TESTING – “DEVICE IN THE CLOUD”
XAMARIN UITESTS
FAUG #?
DEVOPS: MOBILE MONITORING
AZURE APP CENTER
AZURE APPINSIGHTS
FAUG #?
SHARE CODE WITH NUGETS
VSTS PACKAGE MANAGEMENT
PRIVATE NUGETS, NPM, MAVEN…

More Related Content

What's hot (20)

PDF
An Introduction to Appium Desktop
Sauce Labs
 
PDF
Automating Hybrid Applications with Appium
Sauce Labs
 
PPTX
Wheat - Mobile functional test automation
Sunny Tambi
 
PPTX
Build mobile back-end (Restful API) by using Microsoft Azure Functions
Suki Huang
 
PPTX
Parallel testing with appium
moizjv
 
PDF
Beyond Appium: Testing with Espresso & the Real Device Cloud
Sauce Labs
 
PDF
Continuous Testing Odyssey: Learn Best Practices for End-to-End Web App Testing
Sauce Labs
 
PDF
One Test To Rule Them All - Conquer Android and iOS With One Script
Sauce Labs
 
PPTX
Advanced Appium
Dan Cuellar
 
PPT
Appium tutorial| Appium Training
QA Masters
 
PPTX
Do You Enjoy Espresso in Android App Testing?
Bitbar
 
PDF
Using Selenium To Test Mobile? Meet Appium!
Sauce Labs
 
PPTX
Automated Testing and Continuous Deployment for Mobile Apps with Jenkins
CloudBees
 
PPTX
Parallel Test Runs with Appium on Real Mobile Devices – Hands-on Webinar
Bitbar
 
PDF
App center an overview
Microsoft Azure Japan
 
PDF
On boarding Appium Open Source
Asaf Saar
 
PPTX
Why Apps Succeed: 4 Keys to Winning the Digital Quality Game
Austin Marie Gay
 
PDF
SauceCon 2017: Making Your Mobile App Automatable
Sauce Labs
 
PPTX
Make the Shift from Manual to Automation with Open Source
Perfecto by Perforce
 
PDF
The operational side of Mobile Apps
Mobile Delivery Days
 
An Introduction to Appium Desktop
Sauce Labs
 
Automating Hybrid Applications with Appium
Sauce Labs
 
Wheat - Mobile functional test automation
Sunny Tambi
 
Build mobile back-end (Restful API) by using Microsoft Azure Functions
Suki Huang
 
Parallel testing with appium
moizjv
 
Beyond Appium: Testing with Espresso & the Real Device Cloud
Sauce Labs
 
Continuous Testing Odyssey: Learn Best Practices for End-to-End Web App Testing
Sauce Labs
 
One Test To Rule Them All - Conquer Android and iOS With One Script
Sauce Labs
 
Advanced Appium
Dan Cuellar
 
Appium tutorial| Appium Training
QA Masters
 
Do You Enjoy Espresso in Android App Testing?
Bitbar
 
Using Selenium To Test Mobile? Meet Appium!
Sauce Labs
 
Automated Testing and Continuous Deployment for Mobile Apps with Jenkins
CloudBees
 
Parallel Test Runs with Appium on Real Mobile Devices – Hands-on Webinar
Bitbar
 
App center an overview
Microsoft Azure Japan
 
On boarding Appium Open Source
Asaf Saar
 
Why Apps Succeed: 4 Keys to Winning the Digital Quality Game
Austin Marie Gay
 
SauceCon 2017: Making Your Mobile App Automatable
Sauce Labs
 
Make the Shift from Manual to Automation with Open Source
Perfecto by Perforce
 
The operational side of Mobile Apps
Mobile Delivery Days
 

Similar to Finland Azure User Group #8 DevOps Mobile Client Releases (20)

PDF
VSTS and VS AppCenter overview and mobile releases 2018-05-30
Okko Oulasvirta
 
PPTX
Mobile Devops Using VSTS
Karthikeyan VK
 
PDF
ITCamp 2018 - Dan Ardelean - CI/CD for mobile development using Visual Studio...
ITCamp
 
PPTX
CI/CD for mobile development using Visual Studio App Center
Dan Ardelean
 
PPTX
Dev ops for mobile apps at microsoft teams
Mahesh Arali
 
PPTX
Best Practices for DevOps in Mobile App Testing
Bitbar
 
PDF
Challenges in a mobile first world
Itequia
 
PPTX
Can We Deliver Mobile Apps Continuously?
Dan Waters
 
PDF
[XamarinDay] Xamarin History - From 0 to microsoft acquisition !
Cellenza
 
PPTX
Xamarin Test Cloud - from zero to hero in automated ui testing
Geert van der Cruijsen
 
PPTX
1, 2, 3 build - continuous integration for mobile apps
Alexander Pacha
 
PPTX
Continuous integration and delivery with Xamarin and VSTS
Gill Cleeren
 
PPTX
Mobile testing. Xamarin.UITest approach
Volodymyr Kimak
 
PPT
SOASTA Webinar: Process Compression For Mobile App Dev 120612
SOASTA
 
PPTX
GDG DevFest Istanbul - Mobile DevOps - Build, Test and Deploy Your Android Ap...
İbrahim KIVANÇ
 
PPTX
Building High Quality Android Applications
Leif Janzik
 
PDF
Using Xamarin for your Mobile +Apps - Xamarin Experience 2017
Xpand IT
 
PDF
Karl Krukow - What's new and cool in xamarin test cloud - Xamarin Dev Days Si...
Xamariners
 
PPTX
Android Apps Using C# With Visual Studio And Xamarin
Amal Dev
 
PDF
App Days 2016 Munich - Mobile Applications testing by Leaware
Leaware.com
 
VSTS and VS AppCenter overview and mobile releases 2018-05-30
Okko Oulasvirta
 
Mobile Devops Using VSTS
Karthikeyan VK
 
ITCamp 2018 - Dan Ardelean - CI/CD for mobile development using Visual Studio...
ITCamp
 
CI/CD for mobile development using Visual Studio App Center
Dan Ardelean
 
Dev ops for mobile apps at microsoft teams
Mahesh Arali
 
Best Practices for DevOps in Mobile App Testing
Bitbar
 
Challenges in a mobile first world
Itequia
 
Can We Deliver Mobile Apps Continuously?
Dan Waters
 
[XamarinDay] Xamarin History - From 0 to microsoft acquisition !
Cellenza
 
Xamarin Test Cloud - from zero to hero in automated ui testing
Geert van der Cruijsen
 
1, 2, 3 build - continuous integration for mobile apps
Alexander Pacha
 
Continuous integration and delivery with Xamarin and VSTS
Gill Cleeren
 
Mobile testing. Xamarin.UITest approach
Volodymyr Kimak
 
SOASTA Webinar: Process Compression For Mobile App Dev 120612
SOASTA
 
GDG DevFest Istanbul - Mobile DevOps - Build, Test and Deploy Your Android Ap...
İbrahim KIVANÇ
 
Building High Quality Android Applications
Leif Janzik
 
Using Xamarin for your Mobile +Apps - Xamarin Experience 2017
Xpand IT
 
Karl Krukow - What's new and cool in xamarin test cloud - Xamarin Dev Days Si...
Xamariners
 
Android Apps Using C# With Visual Studio And Xamarin
Amal Dev
 
App Days 2016 Munich - Mobile Applications testing by Leaware
Leaware.com
 
Ad

More from Okko Oulasvirta (6)

PDF
Zure Azure PaaS Zero to Hero - DevOps training day
Okko Oulasvirta
 
PDF
Global DevOps Bootcamp Helsinki keynote
Okko Oulasvirta
 
PDF
2 6 dev ops - paas a-b testing
Okko Oulasvirta
 
PDF
1 7 dev ops - ci+cd pipeline
Okko Oulasvirta
 
PDF
1 6 serverless
Okko Oulasvirta
 
PDF
1 2 dev ops - vsts overview
Okko Oulasvirta
 
Zure Azure PaaS Zero to Hero - DevOps training day
Okko Oulasvirta
 
Global DevOps Bootcamp Helsinki keynote
Okko Oulasvirta
 
2 6 dev ops - paas a-b testing
Okko Oulasvirta
 
1 7 dev ops - ci+cd pipeline
Okko Oulasvirta
 
1 6 serverless
Okko Oulasvirta
 
1 2 dev ops - vsts overview
Okko Oulasvirta
 
Ad

Finland Azure User Group #8 DevOps Mobile Client Releases

  • 1. HELSINKI BY KOMPOZURE REGISTER NOW  http://bit.ly/devops-hki-2018
  • 2. FAUG #8 DEVOPS MOBILE CLIENT RELEASES Okko Oulasvirta Principal Consultant MSCD ALM [email protected] @OkkoOulasvirta Global DevOps Boot Camp HKI 2018  http://bit.ly/devops-hki-2018 KOMPOZURE
  • 3. FAUG #8 DEVOPS: MOBILE CLIENT RELEASES VISUAL STUDIO TEAM SERVICES VISUAL STUDIO APP CENTER GOOGLE PLAY
  • 4. MOBILE APP RELEASE PIPELINE VSTS App Center Google Play Production app Apple Itunes TestFlight app Production app GIT master CI Build iOS Simulation app.ipa iOS ALPHA app.ipa Android Simulation app.apk Android ALPHA app.apk CD Release App Center UI Testing Environment Automated UI tests iOS devices DEV Team Android devices Android devices App Center DEV Team Devices iOS devices ALPHA Approval Pull Request Closed Beta app Closed Alpha app BETA PROD Release Validation iOS BETA,PROD app.ipa Android BETA,PROD app.apk
  • 5. KEY POINTS FOR MOBILE BUILD • Build all app configs from same commit • UI-TEST, DEV, TEST, PROD, etc. • Modify config appsettings.json, Android/iOS manifest files etc. before build task • Build number format 1.0.$(Build.BuildID) • Increment app version code, version name using $(Build.BuildNumber) • Use different package name and label for different configurations • Keep your signing certificates safe with VSTS secured files • Publish different artifacts for different branches • Run task with custom conditions to support multiple branches  and(succeeded(), eq(variables['Build.SourceBranch'], 'refs/heads/master’)) • NEWS ALERT! You can also build iOS apps with VSTS hosted build agent (preview)
  • 6. KEY POINTS FOR MOBILE RELEASE Use Visual Studio App Center automated UI tests to ensure basic functionality of your app • Use pre- and post deployment approvals • Use pre- and post deployment gates NOTE: UI test may take up to 5 minutes to run per device
  • 7. AUTOMATED UI TEST - PRICING Scale UI testing with concurrent devices: each concurrent testing device (30h/mo) costs 99$ per month and for enterprise use (no test time limit) price is 499$ per device. Questions to ponder for UI tests price: • How much your manual testing costs? • How fast you want to be with your release pipeline? • Do you have enough testers and devices? • How many users do you lose if their model and/or OS version on their device is not supported?
  • 8. BENEFITS… Questions to ponder for UI tests price: • How much manual testing costs? • Do you have enough testers and devices? • How many users do you lose if their device model OS version
  • 9. VISUAL STUDIO APP CENTER RELEASE Install VSTS extension for App Center • Connect App Center to VSTS with service endpoint using App Token • Use VSTS build/release tasks to deploy UI tests and distribute internally your app via App Center
  • 10. VISUAL STUDIO APP CENTER RELEASE Testers are added to App Center • Azure AD account • MS account • Google account • Github account • App Center account Testers are notified by email for new app releases.
  • 11. GOOGLE PLAY RELEASE Install VSTS extension for Google Play • Create Service Account in Google Play • Connect Google Play to VSTS with service endpoint using service account and private key • Use VSTS build/release tasks to • Ceate Google Play Alpha, Beta, Production releases • Promote release • Make partial roll-outs
  • 12. GOOGLE PLAY RELEASE Closed Alpha/Beta testers are invited to Google Play • Google account Google Play notifies users android for new app releases. • Create app to Google Play • First deployment manually (release config and signed with certificate)
  • 13. DEMO SIMPLE XAMARIN BUILD SIMPLE APP CENTER “APP LAUNCHES” TEST
  • 14. FAUG #? DEVOPS: AZURE RELEASES ARM TEMPLATES, VSTS CI/CD PIPELINE
  • 15. FAUG #? DEVOPS: MOBILE TESTING APP CENTER TESTING – “DEVICE IN THE CLOUD” XAMARIN UITESTS
  • 16. FAUG #? DEVOPS: MOBILE MONITORING AZURE APP CENTER AZURE APPINSIGHTS
  • 17. FAUG #? SHARE CODE WITH NUGETS VSTS PACKAGE MANAGEMENT PRIVATE NUGETS, NPM, MAVEN…