CALL ON ➥8923113531 🔝Call Girls Saharaganj Lucknow best sexual service
Mobile DevOps with VSTS and AppCenter
1. DEVOPS FINLAND
MOBILE CLIENT RELEASES
TEAM SERVICES – BUILD AND RELEASE
APP CENTER – TEST AND DISTRIBUTE
Okko Oulasvirta
Principal Consultant, Kompozure
MSCD ALM
okko.oulasvirta@kompozure.com
@OkkoOulasvirta
2. TEAM SERVICES IN NUTSHELL
• Full Application Lifecycle Management and DevOps platform
• Agile backlog management using Epics, Features, Stories, Tasks etc.
• Manage agile team work: KanBan and Sprints board
• Source control with Git, branching, forks, pull requests
• Builds and release for on-prem, mobile and cloud
• Any platform any technology
• Delivery planning for multi team development
• Private package management for NPM, Maven, Gradle and Nuget
• Testing plan, execute and track acceptance testing
• Load testing and test automation with multiple test frameworks
• Git, Markdown based WIKI for documentation
• Single-Sign-On with Azure AD and Microsoft Account
3. TEAM SERVICES HOW TO GET STARTED
• Account creation is free (multiple accounts are allowed)
• Free licenses for 5 first users
• Free for VS subscription owners
• Free cloud-based build time 240 minutes per month
• Free for your stakeholder (no coding allowed)
• Free self-hosted agent Linux, MacOS or Windows
• Free cloud-based load tests 20 000 virtual user minutes
• Learn more and create your first account here: www.visualstudio.com
4. APPCENTER IN NUTSHELL
• Distribute privately iOS, Android, Windows, React Native, Xamarin etc.
• Can be used with Team Services and Github repositories
• Deploy to Google and Apple stores
• No user license costs
• Automated UI tests with reald devices (30 days trial) then 99$/month
• Single-Sign-On with Azure AD, Microsoft, Google, Github, Facebook or
AppCenter account
• Get started https://appcenter.ms
5. 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
DEV
app.ipa
Android
Simulation
app.apk
Android
DEV
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
BETA
PROD
Release
Validation
iOS
BETA,PROD
app.ipa
Android
BETA,PROD
app.apk
7. KEY POINTS FOR MOBILE BUILD
• Build all app configurations from same commit
• UI-TEST, DEV, TEST, PROD, etc.
• Modify configs 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’))
NOTE! You can also build iOS apps with VSTS hosted build agent (preview)
8. 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
9. 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.
10. AUTOMATED
UI TESTS
Questions to ponder for
UI tests price:
• How much manual
testing costs?
• Do you have enough
testers and devices?
• Can you do
continuously for each
code change?
• How many users do
you lose if their device,
model, OS version is
not supported?
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
• Create 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 needs to be
done manually using signed
release config then configure
VSTS to make updates for your
Google Play app
14. KEY POINTS FOR MOBILE RELEASE
Use 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