Swiggy Mayank Jha May 10, 2022

Mobile DevOps Journey: Accelerating iOS Development at Swiggy with Bitrise (Episode 2)

Article Summary

Swiggy's iOS team slashed build wait times by 80% and cut 8-10 minutes off every build. Here's the detailed playbook they used with Bitrise.

This is Part 2 of Swiggy's Mobile DevOps journey, diving deep into their iOS CI/CD implementation. The team shares their complete setup: from PR checks and unit testing pipelines to five distinct build configurations for different deployment scenarios.

Key Takeaways

Critical Insight

Swiggy achieved 80% reduction in wait times and 8-10 minute faster builds by implementing a sophisticated Bitrise-powered iOS pipeline with automated testing, custom tooling, and strategic caching.

The article reveals their custom CI/CD toolkit UI and how they use QR codes for instant build distribution to QA teams.

About This Article

Problem

Swiggy's iOS team had to check code quality across a modular codebase while maintaining proper review standards. They needed automated checks to identify which modules changed and enforce multi-reviewer approval before testing could begin.

Solution

They built custom GitHub Actions workflows that spot modified modules in pull requests and verify two-reviewer approval plus code owner sign-off. Once approved, these workflows trigger Bitrise Pipelines to run unit tests only on the affected modules and perform SwiftLint static analysis.

Impact

Testing only changed modules and automating approval gates cut down on unnecessary test runs and sped up feedback for developers. This helped reduce developer wait times by 80% across the iOS development pipeline.