Multi-instance releases
Learn how to create and manage releases across instances
| Multi-Instance Releases Availability | |||
|---|---|---|---|
| Cloud | Generally Available | ||
| Self-hosted Edge 3.330 or later | Generally Available | ||
| Self-hosted Stable Expected in Q1 2026. | |||
Self-hosted organizations can manage the releases of protected apps across multiple deployment instances. You can specify which release version of an app is available on each deployment that's configured with Source Control. This is particularly useful if you want to test a newer version of an app on a specific instance first.
You can also programmatically manage multi-instance releases and manifests using the Retool API. Refer to the Source Control section of the Retool API reference for complete API documentation.
Overview
Multi-instance releases makes use of release artifacts and manifests to manage app releases across instances.
- Each app release has its own artifact. This represents a snapshot of the app at the time of release. These are stored in the
dist/apps/<app-uuid>/<release-version>.zipdirectory of the Source Control repository. - Each instance has its own release manifest. Each manifest file contains a list of app UUIDs and the release that is made available for the instance. These are stored in the
manifests/directory of the Source Control repository.
.
├─ .retool/
│ └─ protected-apps.yaml
├─ apps/
│ ├─ app1
| | ├─ 0.1.0.zip
| | ├─ 0.2.0.zip
| | └─ ...
│ ├─ app2
│ └─ ...
├─ dist/
│ └─ apps/
│ ├─ app1-uuid
│ ├─ app2-uuid
│ └─ ...
└─ manifests/
├─ dev.yaml
└─ prod.yaml
As with protected apps, you do not directly modify files within the repository. You create and manage multi-instance releases using the Retool UI or, optionally, using the Retool API.
Demo
Watch the following videos that demonstrate how to create and manage manifests and releases.
- Create a manifest
- Create a release
Requirements
To use multi-instance releases:
- You must be using Source Control to protect apps.
- Each instance must be running self-hosted Retool 3.252 or later.
- The Source Control configuration must be the same across all instances, such as source control provider, repository, and branch.
- Enable Multi-instance releases: public beta in your organization's Settings > Beta page. If you want to also use the Retool API to programatically manage multi-instance releases, also enable Multi-instance releases: public API.
1. Create a manifest
Each instance needs its own manifest file stored in the manifests/ directory of the Source Control repository. The manifest determines the version of the app that is published on the instance. You create and manage manifests in your organization's Source Control settings.
To create a manifest:
- Navigate to your organization's Settings > Source Control page.
- Click Create manifest in the Releases pane.
- Enter a name to use for the manifest.
- Click Create branch with release manifest. Retool then creates a branch and commits the new manifest to it.
- Click Open pull request to start a new pull request.