August 13, 2021 Demo
Recording
Current State
CI Templates
Docs
Mobile Development section on the CI/CD examples page https://docs.gitlab.com/ee/ci/examples/#mobile-development
Blog Posts
12 mobile related blog posts [spreadsheet]
Something missing? Please add it in a comment below.
Sample Projects
Platform | App | Source | Template | Fastlane |
---|---|---|---|---|
Android | weatherapp | github | ||
iOS | ios-weather | github | ||
Android | materialistic | github |
Fastlane CI Example (Android)
image: ruby:2.7.4
stages:
- test
before_script:
- apt-get --quiet update --yes
- apt-get --quiet install --yes openjdk-11-jdk android-sdk
- export ANDROID_SDK_ROOT=/usr/lib/android-sdk
- wget "https://dl.google.com/android/repository/commandlinetools-linux-7583922_latest.zip" -O /tmp/commandlinetools.zip
- unzip /tmp/commandlinetools.zip -d /tmp
- yes | /tmp/cmdline-tools/bin/sdkmanager --licenses --sdk_root=$ANDROID_SDK_ROOT || true
- bundle install
fastlaneTest:
stage: test
script:
- bundle exec fastlane test
Other Findings
- Tested Bitrise on the Android weatherapp
⛔ - Bitrise open-source step library https://github.com/bitrise-io/bitrise-steplib
- Tested out an open-source tool that can identify a mobile platform based on the repository https://gitlab.com/gitlab-org/incubation-engineering/devops-for-mobile-apps/readme/-/issues/5
Up Next
- Get my Mac OS runner working correctly, and get iOS builds working
- Look for ways to slim down the Android example above
- Get reliable Android and iOS Fastlane examples in place
- Find a few more test app - if you would like to help with testing, please add a comment to this issue