Deploy project pipeline
deploy_project_pipelineDeploy or rollback a project pipeline to a specified environment. Reuse a built artifact to promote or roll back without rebuilding, and wait for human approval if required.
Instructions
Execute a project-level pipeline deploy or rollback through the local agent.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| env_name | Yes | ||
| host_ids | No | Canonical non-self Host.id values returned by list_hosts; do not pass host names. | |
| variables | No | ||
| project_id | No | ||
| pipeline_id | Yes | ||
| project_name | No | ||
| approval_token | No | ||
| artifact_version | No | Reuse an existing built artifact instead of building fresh. Empty = normal deploy (build then deploy). Set it to deploy an existing artifact version to env_name, which SKIPS the build phase and runs deploy+finally only. This powers both rollback (redeploy an old version) and promotion (deploy the artifact a test run produced into prod with prod's variables and deployment targets). | |
| debug_session_id | No | ||
| approval_wait_seconds | No | Max seconds to block-wait for human approval before returning. 0 = do not wait. Capped at 300. |