For the complete documentation index, see llms.txt. This page is also available as Markdown.

File reference

This page explains how a configuration file works, and what each part of it is for.

How the file works

Sections

For how to export, plan and apply a file, see Configuration as code. For step-by-step examples, see Examples.

How the file works

The shape of a file

Only version and app are required. Every other section is optional.

Exported files start with a yaml-language-server line that points at the file's schema. Editors that support it, like VS Code with the Red Hat YAML extension, use it for autocomplete, descriptions on hover, and inline errors. Add the same line to files you write by hand.

What you leave out stays as it is

The file describes changes, not the whole app. Anything the file doesn't mention keeps its current value. This file only renames the app, and leaves everything else alone:

So you can keep a small file with just the settings you want to manage, or keep a full export in your repository, whichever suits you.

Clearing a value

Leaving a value out keeps it, so clearing is explicit: write its empty value.

null is accepted wherever a value can be cleared. Your editor flags the places it isn't.

Keys: how the file refers to things

Destinations, integrations, steps, tags, branches, health metrics, feature affiliations and checklist items are keyed by stable keys: names starting with $, using lowercase letters, numbers and _.

  • On export, Runway generates a key from each entry's name, like $release_candidate_ios for "Release candidate (iOS)". Tags and branches start with their kind: $tag_default, $branch_default.

  • Once an entry exists, its key stays the same even when you rename it in the file or in Runway, so references never break.

  • When you add an entry, you choose its key. Runway keeps it from then on.

  • Keys are unique across the whole file: a step and an integration can't both be $github.

  • Changing a key in the file means removing that entry and adding a new one.

What gets checked

Planning checks the entries your file changes, plus whatever they affect. Entries you don't change are accepted as they are, so you're never blocked by settings you didn't touch.

Unknown keys are errors rather than being silently ignored, so a misspelled key like enabeld: true fails the plan. This includes keys inside settings.

Sections

What each section is for and what can change. Field-level descriptions and allowed values show up in your editor as you type.

Version

version is always 2.

App

  • id picks the app to update. Leave it out to create a new app.

  • Everything else can be changed.

Versioning

  • versionFiles are the files in your repository where Runway bumps the version. Runway checks each file exists in the repository when you plan.

  • customVersioning sets a version format other than three-digit SemVer, keyed by version type, like appStore (App Store version) or runwayUserFacing (Runway display version). Removing an entry goes back to the standard format.

Tags

The pattern Runway uses to read release tags from your repository and to create tags when releases complete. {version} and {versionConcise} stand in for the release version.

  • $tag_default is the app's tag pattern, the one on the app's settings page. Other tag configs used by specific steps are $tag_custom_1, $tag_custom_2...

  • Only $tag_default's pattern can be changed. A new app gets $tag_default when the file sets it.

Branches

The branches Runway works with. workingBranch is where day-to-day work lands; releaseBranchPattern and hotfixBranchPattern name each release's branch. stagingBranch and prodBranch can only be removed (set to null).

Destinations

Where the app ships. Each destination has its own release steps.

  • New destinations can be ios, android or react-native-ota. iOS and Android destinations need an appStoreType; OTA destinations don't take one.

  • Only name, icon and tags can change on an existing destination. To change its platform or store, remove it and add a new one.

  • An app needs at least one destination.

  • Adding or removing a destination also adds or removes its steps. See Add a destination and Remove a destination.

Integrations

Integrations installed on this app. Steps use them by key.

  • type and provider are required to add an integration, and can't change afterwards. provider is the provider's Provider ID, which you'll find under Organization settings → Integrations. See Connect an integration.

  • alias and settings can change.

  • An app has at most one integration per capability where Runway only supports one, like version control or team communication.

  • Removing an integration uninstalls it from the app. Steps that use it need to stop listing it in the same file.

Health metrics

The metrics Runway tracks during rollout.

  • integration is the key of the stability or analytics integration the metric reads from.

  • A release is healthy while the metric meets every threshold. condition is LessThan, LessThanOrEqualTo, GreaterThanOrEqualTo or GreaterThan.

  • Composed metrics combine others: list their keys in composedMetrics and refer to them as M1, M2... in equation, like M1 / M2 * 100.

  • On an existing metric, thresholds, name, description, hideOnRolloutView and notifyOnApproachingThreshold can change. To change what it measures, remove it and add a new one.

Feature affiliations

How Runway labels tickets in your issue tracker with the release they ship in. Only pattern can change on an existing one.

Fix requests

The Fix requests settings page. formFields is the fix request form and is replaced whole: write every field you want.

Required steps

Which steps must be done before submission and release, per release type, like the Edit required release steps dialog. Steps are keyed by type (archetype), and only the app's own step types are accepted. Types left out keep their value.

Flightpath

The steps every release goes through.

Step fields

  • name – The step's name in Runway.

  • archetype – The step's type. It can't change.

  • destinations – The destinations the step serves.

  • integrations – Keys of the integrations the step uses, at most one per capability.

  • upstreamCIStep – The CI step whose builds this step uses, for beta testing, regression testing and release steps.

  • tagConfig / branchConfig – The tag and branch config the step uses. They can be changed, but not removed.

  • settings – The fields in the step's settings drawer.

Step types (archetype)

Archetype
Step
Serves

kickoff

Kickoff

All destinations

featureReadiness

Feature readiness

All destinations

translations

Translations

All destinations

releaseCandidate

CI / release candidate

One or several destinations

regressionTesting

Regression testing

One or several destinations

approvals

Approvals

One or several destinations

betaTesting

Beta testing

One or several destinations

screenshots

Screenshots

One destination

metadata

Metadata

One destination

submission

Submission

One destination

storeReview

Store review

One destination

takeoff / ciDistribution

Release

One destination

rollout

Rollout

One destination

What can change

  • Any step can be renamed, and its integrations, upstream CI step, tag config, branch config and settings changed.

  • CI (releaseCandidate), beta testing, regression testing and approvals steps can be added, removed and moved in stepGraph, like on the Flightpaths settings page.

  • Other step types come and go with their destination: they're added along with a new destination (or a new app), and removed with it.

  • Each destination keeps at least one CI step. Beta testing, regression testing and approvals can be removed entirely.

  • A step can't be removed while another step depends on it, like a release step whose upstreamCIStep it is, or a rollout following it. Point the other step elsewhere in the same file.

  • A new step needs a tagConfig, branchConfig and upstreamCIStep when other steps of its type have one.

  • A step shared between destinations can add a destination the same file adds, or drop one the same file removes.

stepGraph lists every step in display order: columns (groups lists) of rows (steps lists). Every step must appear in it.

Settings to know about

  • Submission, store review and release steps share their destination's release settings, so only the release step (takeoff) lists them.

  • On the release step, ageRatingDeclaration: null uses the app's default age rating; any other value overrides it for this destination and is sent to App Store Connect.

  • Settings that point at steps take step keys, like a rollout's sourceStepConfigId: $release or metadata's upstreamBetaStepConfigId: $beta.

  • A new step's settings can only be set on a later apply, once the step exists.

Checklists

The items on each step's checklist, like the Checklists settings page.

  • step is a step key. placement is the list the item is on: the step's Checklist tab (stepChecklist, the default), or the regression testing or approvals step's own list.

  • step and placement can't change. To move an item, remove it and add it under a new key.

  • With no groups or owners, the release pilot owns the item.

  • targetCompletion: null turns the target off.

  • New items go to the end of their list. The order you set in Runway is kept.

  • Items added to a single release, and items from your organization's templates, aren't in the file.

  • Changes reach releases in progress too.

Automations

What's on the Automations tab of the Flightpaths settings page: app-wide automations under app, and each step's under steps.<step key>, keyed by automation type. Export comments name each one.

  • enabled, triggers and settings can change. Automations can't be added or removed: they come with their steps.

  • Triggers. relativeTimeTrigger runs the automation at a set time before or after a release event. completedStepsTrigger runs it once required steps are done ({}), or only the steps you list (hasCustomRequiredSteps: true with requiredSteps: [...]). Set a trigger to null to turn it off.

  • Overrides are the other tabs in an automation's settings: a release type (hotfix, rollback...) that runs differently.

    • Each override is written whole: its enabled, its triggers and only the settings that differ from the automation's own.

    • A release type without an override uses the automation's own values. Removing an override goes back to them.

    • A release type that's off is just enabled: false.

    • App-wide automations run once for every release type, so they can't have overrides.

  • Automations whose triggers are condition groups only let the file turn them on or off.

Notifications

The Notifications settings page, keyed by notification. comms is Slack or Microsoft Teams, whichever the app uses.

  • Any part left out keeps its value.

  • mention mentions one kind at a time: groups, users or releasePilot: true. {} mentions nobody.

  • Overrides change a notification for specific steps, keyed by step.

    • An override lists only what differs; everything else follows the app-wide notification.

    • Leaving overrides out keeps them as they are. Writing overrides replaces them all: steps it doesn't list lose their override.

    • An override's enabled follows the app-wide toggle unless you set it to something different.

    • comms.usePrimaryChannels: true sends to the app's main channels instead of the notification's.

  • Overrides grouped across steps in Runway show up as one copy per step. Changing one takes it out of its group.

Custom strings

Tokens like {version} are replaced with release details. Each string supports its own tokens, and planning rejects any it doesn't support, listing the ones it does:

  • {version} works in every string except the cherry-pick commit message.

  • {versoin} is rejected, since it isn't a supported token.

  • ${BUILD_ENV} or {BUILD_ID} is kept as text, since only camelCase words in braces are tokens.

The cherry-pick commit message must include {commitMessage} exactly once, so the original commit's message isn't lost.

Last updated

Was this helpful?