Deploy a Version
Deploy a version to put the configuration you saved in the Console into your first environment. Every change you save is captured as a configuration version. An environment runs only the version you last deployed to it. See Deploy for why.
Prerequisites
- A saved change, such as a new application, agent, flow, or role. Choreo Identity & Access Management captures a new version each time the configuration changes.
- Permission to deploy to the environment. Without it, the Console shows that your account may not deploy there.
Deploy the Latest Version
- In the Choreo Identity & Access Management Console, select your project in the project switcher in the header and go to Deployment pipeline. The Project deployment pipeline page shows the versions on the left and the environments on the right.
- Find your first environment under Environments. Its card shows the version it runs and its state, such as Newer version ready, In sync with configuration, or the number of changes it is behind.
- Open the deploy panel for the latest version. Under Project versions, versions are listed newest first, the newest marked Latest, each with a Deploy button. Click Deploy on the latest version.
- Review the list of changes. The panel works out what the environment would receive and groups it as New, Changed, Removed, and Unchanged.
- Click Deploy. The button shows the number of changes, for example Deploy 3 changes.
You can also start from the banner at the top of the Console, which shows when the first environment is behind your saved changes. Click Deploy to followed by the environment, for example Deploy to Development.
When the deploy finishes, the Console reports Deployed to the environment, and the card shows when and by whom it was deployed.
Every deploy enters at the first environment of the pipeline and moves forward one stage at a time. To carry the version on, see Promote Between Environments.
Choose What to Deploy
The panel lists each resource the version would write. You can leave a resource out by clearing its tick, and it is held back on the environment.
- Also deploy what these need. A resource names the flows, organization units, and other resources it needs. When this is ticked, deploying a resource also deploys what it needs that the environment does not have yet.
- Shared resources left out. Some resources, such as sign-in pages, branding, or text, are shared and belong to no project. If the environment does not have them yet and you leave them out, sign-in pages, branding, or text in that environment may not work as expected until you deploy them. The panel warns you and offers Deploy anyway.
Removals Need Confirmation
When a version removes resources from the environment, the panel does not deploy on the first click. It tells you how many resources the deploy removes. Check them in the list, then deploy again. The button reads Deploy and remove, followed by the count.
Fix Refused Resources
An environment can refuse a resource, usually because a value it refers to is missing. The panel marks it Refused by the environment last time, with the reason, and the environment card shows the number of refused resources.
- Open the refused resource from the card or the panel.
- If a variable or secret is missing, set it on the environment. See Variables and Secrets. If the problem is in the resource itself, change the resource and save.
- Click Fix and retry, or deploy again.
A resource that was refused is not running on the environment until a deploy succeeds.
Auto Deploy
If the Auto deploy switch on Deployment pipeline is on, the Console deploys saved changes to the first environment within seconds, and you can skip these steps for that environment. If an automatic deploy fails, the card shows Auto-sync failed with the reason. See Auto-Deploy Is Your Choice.
Next Steps
- Promote Between Environments: carry the version to the next environment.
- Undo a Deployment: put an environment back one step.
Was this page helpful?