Promote Between Environments
Promote a version to carry exactly what one environment runs to the next environment in your pipeline. Deploy to your first environment, check that sign-in works, then promote. Production runs only what you promoted.
How Promotion Works
Your organization's deployment pipeline sets the environments and their order, for example development, staging, and production. Each stage promotes into the next, and a pipeline can branch, so one environment can promote into more than one.
A promotion always carries the version that the source environment runs. The control plane configuration may have moved on since then, and those newer changes are not included. This keeps what you tested and what you promote identical.
Each project can use its own deployment pipeline, so the same environments can be promoted in a different order for each project.
Promote a Version
- In the Choreo Identity & Access Management Console, select your project in the project switcher in the header and go to Deployment pipeline.
- On the card of the environment that runs the version, click Promote to, followed by the target environment.
- Review the changes. The panel reads Promotes the version the source environment runs, and you can leave changes out.
- Click Promote. The button shows the number of changes.
The Console reports Promoted from the source environment to the target when it finishes.
Removals, shared resources left out, and refused resources behave as they do for a deploy. See Deploy a Version.
When You Cannot Promote
| Message | What it means |
|---|---|
| Deploy a version to the source environment first | The source environment runs nothing yet. Deploy to it, then promote. |
| The target already runs this version | Nothing to carry. |
| The source environment does not run this change, so it cannot be promoted | The change was held back or refused on the source. Deploy it there first. |
| Promote anyway | Shared resources the target lacks were left out. Promote anyway only if the target can work without them. |
Promote One Project
A promotion can be scoped to one project. It carries that project's applications and agents and leaves other projects as they are. Shared resources belong to no project, so they go with a project's promotion only when you tick them.
Next Steps
- Variables and Secrets: set the values the target environment needs before you promote.
- Undo a Deployment: put an environment back one step.
Was this page helpful?