+ All Categories
Home > Internet > WhiteHedge Case Study: Mobile App Continuous Delivery using fastlane

WhiteHedge Case Study: Mobile App Continuous Delivery using fastlane

Date post: 15-Apr-2017
Category:
Upload: abhijit-joshi
View: 319 times
Download: 1 times
Share this document with a friend
21
WhiteHedge App Development and Automa tion for Con tinuous Delivery Swapnil Dahiphale DevOps Engineer Arti Chandan iOS Devloper
Transcript

WhiteHedge

App Development and Automation for

Continuous Delivery

Swapnil Dahiphale

DevOps Engineer

Arti Chandan

iOS Devloper

2

TABLE OF CONTENTS - OUR AGENDA

How we did it?

5

App Distribution Workflow

1

Continuous Delivery

2

CD with Fastlane

3

Fastlane

4

Key Components

6

Architecture

7

Overview of Build Process

8

App Distribution Workflow

APP DISTRIBUTION WORKFLOW

J o i n i n g t h e A p p l e D e v e l o p e r P r o g ra m i s t h e f i r s t s t e p t o s u b m i t y o u r a p p

iOS Developer Enterprise Program. -299$ account/year-The iOS Enterprise Distribution program allows a company to distribute their own “in-house” apps directly. -The Enterprise program does not enable you to deploy apps to the Apple App Store. Apple App Store(iOS Developer Program).-iOS Developer Program allow to Distribute the app on the Apple App Store.-$99 account/year.

ENROLL

Develop app -Xcode IDE used for development.

-Device Registration. -App ID -Certificate & provisioning profile -Add your Apple ID to Xcode-Set your bundle ID and assign your project to a team Create App RecordSubmitting your app to the store is a multistep process. First, you sign in to iTunes Connect to create an app record and enter necessary information.

DEVELOP APP

-beta testing via Testfilght -Submit App to app store

UPLOAD APP

Continuous Delivery�

CONTINUOUS DELIVERY

Continuous Delivery is a design practice used in software development to automate and improve the process of software delivery.

CONTINUOUS DELIVERY WITH FASTLANE

Basically you want to deploy updates more often to the App Store to make it less painful and increase the quality of your app. But it’s a tedious, repeating task.

Using fastlane and its tools, you run one command to deploy an update of your app to the App Store.

Fastlane�

FASTLANE

fastlane lets you define and run your deployment pipelines for different environments.

It helps you unify your app’s release process and automate the whole process.

fastlane connects all fastlane tools and third party tools, like CocoaPods and Gradle.

FASTLANE TOOLS

FASTLANE TOOLS

cert automatically creates and maintains iOS code signing certificates.

sigh creates, renews, downloads and repairs provisioning profiles.

snapshot automates taking localized screenshots of your iOS app on every device.

gym builds and packages your iOS apps.

pilot manage your TestFlight testers and builds from your terminal.

deliver uploads screenshots, metadata and your apps to the App Store.

LANES

GETTING STARTED

$ sudo gem install fastlane —verbose

$ cd [your_project_folder]

$ fastlane init

FASTLANE CONFIGURATIONS

FASTFILE

fastlane_version "1.83.0" default_platform :ios platform :ios do

lane :beta do increment_build_number cert sigh cocoapods gym(scheme: "EOS") pilot end lane :release do increment_build_number scan cert sigh snapshot cocoapods gym(scheme: "EOS") deliver end

end

CD FLOW WITH FASTLANE & TEAMCITY

20

FOLLOW US

Questions?

� � � � �

http://www.whitehedge.com/devops.html

Swapnil Dahiphale

[email protected]

- SOCIAL NETWORKS / PHONE

THANK YOU!Have a Nice Day!


Recommended