Presentation is loading. Please wait.

Presentation is loading. Please wait.

DevOps for Your Mobile App

Similar presentations


Presentation on theme: "DevOps for Your Mobile App"— Presentation transcript:

1 DevOps for Your Mobile App
From Dev to Deployment DevOps for Your Mobile App

2 Seth Valdetero Senior Development Consultant @valdetero
linkedin.com/in/valdetero github.com/valdetero sparkhound.com/pages/blogs.aspx

3 Agenda DevOps Visual Studio Team Services (VSTS) Build Agents
HockeyApp Bitrise

4 DevOps …automating the process of software delivery and infrastructure changes. It aims at establishing an environment where building, testing, and releasing software can happen rapidly, frequently, and more reliably. en.wikipedia.org/wiki/DevOps

5 DevOps Continuous Integration Continuous Delivery
Continuous Deployment Continuous delivery is sometimes confused with continuous deployment. Continuous deployment means that every change is automatically deployed to production. Continuous delivery means that the team ensures every change can be deployed to production but may choose not to do it, usually due to business reasons. In order to do continuous deployment one must be doing continuous delivery. en.wikipedia.org/wiki/Continuous_delivery#Relationship_to_continuous_deployment

6 VSTS

7 VSTS Agent Pools Agent Queues PAT (Personal Access Tokens) / SSH Keys
Needs Administrative Privileges

8 VSTS - Demo

9 VSTS Agent Pools / Queues

10 Build Agent MacInCloud - $30/mo per agent
Host your own - Free? github.com/Microsoft/vsts-agent MacInCloud Build Agent Plan: This plan is designed for Visual Studio Team Services (VSTS) users only for Continuous Integration. If you are seeking remote build capabilities for Visual Studio 2015 and Xamarin, you should instead choose from Managed Server Plans or Pay-As-You-Go Plans, with the "Enable Remote Build Port" add-on selected at the time of checkout.

11 MacInCloud

12 MacInCloud support.macincloud.com/support/tickets/new
Create a support ticket ( if you get this error: error XA5205: The Android SDK Directory could not be found. Please set via /p:AndroidSdkDirectory. This is because the Android environment variable is not set. Blog that highlights this issue: support.macincloud.com/support/tickets/new

13 Host your own Download github.com/Microsoft/vsts-agent
github.com/Microsoft/vsts-agent

14 Host your own #!/bin/sh curl -s -O mono nuget.exe restore <yoursolution>.sln netitude.bc3tech.net/2016/02/04/final-chapter-continuous-mobile-deployment-with-vsts/

15 VSTS Agent Pools / Queues

16 Build Definition Extensions
marketplace.visualstudio.com/vsts/Build%20and%20release

17 Build Definition

18 Build Definition Setup

19 Build Definition Build / Test iOS: Create App Package -> Yes
Build for Simulator -> No Advanced -> Arguments -> /p:OutputPath=bin/$(BuildPlatform)/$(BuildConfiguration)/ Android: MSBuild Options -> Additional Arguments -> /t:SignAndroidPackage

20 Build Definition Sign / Deploy

21 Build Definition Notify

22 Build Definition - Demo
Repository -> Clean -> True If this is not set, then deploying to HockeyApp will have issues trying to find the right api/apk as multiple ones will be in the directory. Kick of build!

23 Build Definition VSTS Export
gist.github.com/valdetero/c0cd0b4dbb36c50bb df23b6

24 HockeyApp

25 HockeyApp Create App(s) Setup API Tokens

26 Bitrise

27 Bitrise Link your Github and Xamarin accounts
bitrise.io/me/profile#/overview

28 Bitrise Create your app bitrise.io/dashboard
bitrise.io/dashboard

29 Workflow Setup

30 Workflow Build / Test

31 Workflow Deploy / Notify

32 Bitrise- Demo

33 xamarin.com/dev-days

34 Questions?

35 Links github.com/Microsoft/vsts-agent
visualstudio.com/en-us/docs/build/apps/mobile/Xamarin windingroadway.blogspot.com/2016/05/setting-up-release-builds-with-xamarin.html blogaboutxamarin.com/xamarin-dev-ops-with-vsts-getting-started/ solola.ca/xamarin-macincloud-vsts-part1/ support.macincloud.com/support/solutions/articles/ getting-started-with-the-macincloud-vsts-build-agent-plan netitude.bc3tech.net/2016/02/04/final-chapter-continuous-mobile-deployment-with-vsts/ blog.verslu.is/xamarin/continuous-integrationcontinuous-delivery-for-your-xamarin-app-with-vsts-and-hockeyapp-part-1/ aka.ms/MobileDev1 nkdagility.com/open-source-vsts-tfs-github-better-devops/ mobilefirstcloudfirst.net/2016/03/07/continuous-deployment-of-xamarin-ios-apps-to-hockeyapp-using-vsts/

36 Thanks for Attending SQL Saturday Baton Rouge 2016!
Speaker evaluations: Use the small square cards at the front of the classroom, give directly to speaker Speaker: Please give out 1 book ticket Book Ticket Winner: Bring your ticket to the user group booth in the main atrium to redeem (supplies limited)

37


Download ppt "DevOps for Your Mobile App"

Similar presentations


Ads by Google