Stallion Hierarchy
How Organizations, Projects, Buckets, Bundles, and Releases fit together in Stallion.
Stallion Hierarchy
Stallion organizes your OTA workflow under a simple hierarchy. This page defines each layer and how they connect from upload to production.
The hierarchy
Organization
└── Project
├── Buckets → Bundles (uploaded JS artifacts)
└── Releases (promoted bundles, targeted at an app version)
| Layer | What it is |
|---|---|
| Organization | Your team or company account. Holds members, access control, and projects. |
| Project | A Stallion app target. The native app connects to a project via StallionProjectId and StallionAppToken. |
| Bucket | A named folder inside a project where you upload bundles. Name and organize them however you want. |
| Bundle | A published JS OTA artifact stored in a bucket. |
| Release | A bundle that has been promoted for a specific app version. |
CLI upload paths follow the same shape: org-name/project-name/bucket-name.
Buckets
Buckets are folders for organizing uploaded bundles — for example by feature, platform, or team. You choose the names and structure.
Internal testing
Buckets are used by the Stallion Testing modal. In your app:
- Open the Testing tab.
- Select a bucket.
- Download and install any bundle from that bucket.
That lets your team try builds during development and QA without promoting them first.
Promotion and Releases
The path from upload to production:
- Publish a bundle into a bucket (
stallion publish-bundle). - Promote that bundle (Console or
stallion release-bundle). - Target a specific app version (the version users installed from the store).
- That creates a Release under the project.
Once promoted, apps receive the Release based on the project they are configured with and the app version they are running (plus rollout percentage).
How the SDK connects
The Stallion SDK reads StallionProjectId and StallionAppToken from the native build. Those credentials select the project. The SDK then checks for a promoted Release for the running app version.
Multiple environments
For Dev, QA, Production, and similar app flavours, see Handling Multiple Environments.