Build your self hosted iOS CI with Gitlab

Gitlab is a wonderful tool to create your own pipeline. Combined to Fastlane, you will be able to have quickly your own CI scalable and maintainable.

Register Gitlab Runner

gitlab-runner register
Register a runner

Install Fastlane

brew install fastlane
fastlane init
fastlane init

Create Pipelines

Configure Lanes

Cocoapods Lane

Pod install lane
Test your podfile lane

Test Lane

Lint Lane

fastlane lint

Build lane

Generate Debug Lane

fastlane add_plugin firebase_app_distribution
curl -sL | bash
firebase login:ci
Generate your Firebase App Distribution Token
stage: distribute
- mac-os
- fastlane distribute
- dev

Configure your Gitlab pipeline

Find your pipelines executions


Android & iOS, quality in software is 𝛼&ɷ

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store