Quick Deployment
This guide walks you through running your first deployment in Mantis.
Prerequisites
Section titled “Prerequisites”Before creating a deployment, ensure you have:
- At least one target registered, approved and online, and an environment to deploy under
- At least one action, sequence, or solution to deploy
Creating a Deployment
Section titled “Creating a Deployment”Step 1: Navigate to Deployments
Section titled “Step 1: Navigate to Deployments”- Open the Deployment group in the top navigation, then the Deployments pill
- Click New Deployment button
Step 2: Deployment Context (the Context tab)
Section titled “Step 2: Deployment Context (the Context tab)”Choose the tenant and an environment. Lens labels the environment “Optional”, but it is
required whenever a tenant is set — a tenant deployment without one is refused with
environment_id is required for tenant-aware deployments.
Step 3: Select What to Deploy (the Source tab)
Section titled “Step 3: Select What to Deploy (the Source tab)”Choose one of:
- Solution - A complete deployment package
- Sequence - An ordered set of actions
- Action - A single command or script
Step 4: Select Targets (the Targets tab)
Section titled “Step 4: Select Targets (the Targets tab)”Choose the destination using one of three selection modes:
- By Target - Select specific targets individually
- By Tags - Deploy to targets matching specific tags, matched ANY or ALL
- By Pool - Dispatch to an execution pool, which runs off-target
Step 5: Configuration (the Config tab)
Section titled “Step 5: Configuration (the Config tab)”| Option | Description |
|---|---|
| Execution Mode | Parallel, Sequential, or Rolling |
| Failure Strategy | Stop on first failure, Continue on failure, or Ignore failures |
| Timeout | Maximum execution time |
Step 6: Review and Deploy (the Review tab)
Section titled “Step 6: Review and Deploy (the Review tab)”- Review the deployment summary
- Click Deploy
- Monitor progress in real-time
Monitoring Your Deployment
Section titled “Monitoring Your Deployment”After starting a deployment:
- View real-time progress in the deployment detail view
- Click on individual targets to see execution logs
- Use the log streaming to watch output live
Troubleshooting
Section titled “Troubleshooting”Next Steps
Section titled “Next Steps”- Understanding Concepts - More on the data model
- Creating Actions - Define your own actions
