All case studies

CI/CD

Every release reaches testers the same way, from any machine

Mobile releases had to reach testers the same way every time: from any machine, with no step by hand and no secret exposed.

  • CI/CD
  • Mobile apps
  • Developer tools

Under NDA

This case study combines several projects with a similar problem. The companies’ names and logos are under NDA, and we left out the details that could identify them.


Release
one command takes a tag to testers
Signing
no key or password in the repository or logs
Versions
each tool and the release version written once

The problem

A release had to reach testers in TestFlight and Google Play the same way every time, from whichever machine cut it, with no step done by hand. Signing keys and store access could show up in no repository or log, and losing a machine could not mean losing them.


What we did


  1. 01Every tool is pinned in mise to its full version, and a fresh clone installs the same tools with one command. A gate refuses a commit that carries a key, a build artifact, a subject outside Conventional Commits or a version that differs between files.

  2. 02Unit tests and the Maestro UI flows run with one command. A run that hangs or outgrows its memory is stopped at a time or memory bound, and its last lines name the bound it passed.

  3. 03iOS builds are signed from a shared fastlane match repository, Android ones with an upload key read from outside the repository; a release build without its key fails and leaves nothing unsigned. Every key and password has a copy off the build machine that restores it.

  4. 04A release tag goes to TestFlight or Google Play with one command, which refuses a tree with changes or a commit that is no release. Build numbers are derived from the release name and rise on their own, so no one edits them.

Result

From a tag to testers, nothing is done by hand. A fresh machine, given its keys back, builds and signs a release the same as the last one.


Technologies

  • fastlane
  • Gradle
  • Maestro
  • mise

Have a similar problem?

Write to us about what is going on. We reply within 2 business days.

Write to us


More case studies