Just Eat Jun 16, 2021

iOS Monorepo CI/CD Pipelines

Article Summary

Alberto De Bortoli from Just Eat Takeaway reveals how they slashed their iOS CI complexity by consolidating dozens of module repos into one. The result? One PR instead of multiple, faster iteration, and smarter pipelines.

Just Eat Takeaway's iOS team faced a painful workflow: every module change required multiple PRs and independent versioning across separate repositories. They migrated to a monorepo using CocoaPods development pods and built dynamic Jenkins pipelines that intelligently detect which modules changed and run only the necessary tests.

Key Takeaways

Critical Insight

Just Eat Takeaway's monorepo approach eliminated multi-repo overhead while maintaining modular architecture benefits through intelligent CI pipelines that scale automatically as new modules are added.

The article includes the actual Groovy code they use to dynamically construct Jenkins stages and detect which modules need testing based on git diffs and Podfile dependencies.

Recent from Just Eat

Related Articles