You are on page 1of 6

iOS App Development

Introduction to CI/CD
Code

Commit

Build Unit
Integration
Review Staging Production
Tests Tests

CI PIPELINE CD PIPELINE

SreeSaiRaghava
iOS Developer
Continuous Integration
When multiple developers working on same code
base, they often push changes to the main branch.

The changes are validated by building and running


automated tests against the build.

Changes should be merged only on passing the


checks successfully.

This process avoids integration errors that can


happen.

Benfits

Fewer bugs to be shipped to production


Integration issues are solved before release

SreeSaiRaghava
iOS Developer
Continuous Delivery
Continuous Delivery (CD) is an extension of CI.

Since it enables automation to deploy all the code


changes to an environment (dev,qa,stage, prod, etc)
after the changes have been merged.

In simple terms, this is an automated release


process on top of the automated testing process
(CI).

Developers can deploy their changes at any time by

simply clicking a button or at the completion of CI.

Benfits

Developers can deliver the changes to prodcution anytime


Reduces dependency on dev team to deploy changes

SreeSaiRaghava
iOS Developer
Continuous Deployment
Continuous Deployment (CD) takes the process one
step further than contiuous delivery.

Here all the changes that pass the verification setps


at each stage in the pipeline are released to
production.

This process is completely automated and only a


failed verfication step will prevent pushing the
changes into production.

Benfits

Quicker updates and feedback for Client and dev


Incremental updates with less pressure on teams
SreeSaiRaghava
iOS Developer
CI/CD - Tools & Services
Following are few tools for CI/CD infra:

I’ll cover some of these in detail in next few posts.

GitHubActions

Fastlane: Open Source


Easy to automate all workflows

Xcode Cloud
Open source automation server Still in Beta :(

Freemium model
Freemium model

SreeSaiRaghava
iOS Developer
Thank You for coming till here :)

Next Topic!

GitHubActions

Let’s create a CI workflow to demonstrate

GitHubActions with a demo for iOS project.

Do follow @raghava.codes

SreeSaiRaghava
For more iOS related content iOS Developer

You might also like