reoclo deployments
reoclo deployments ls [options]reoclo deployments get [options] <id>reoclo deployments logs [options] <id>reoclo deployments cancel [options] <id>Lists deployments for the active tenant, most recent first.
| Flag | Default | Description |
|---|---|---|
--app <idOrSlug> | all apps | Filter to a single application. |
--limit <n> | 20 | Number of deployments to return. |
--status <state> | all | Filter by queued, running, succeeded, failed, or cancelled. |
reoclo deployments lsreoclo deployments ls --app api --limit 5reoclo deployments ls --status failed -o jsonget <id>
Section titled “get <id>”Shows the full deployment record including build stages (clone, build, push, deploy), durations, the resolved commit, and any error messages.
The deployment id alone is enough (CLI 0.76.0). Earlier versions need --app <idOrSlug>. The flag stays accepted for scripts that already pass it.
reoclo deployments get 019dc1a8-841f-7102-ac5d-3ee9e9353795reoclo deployments get 019dc1a8 -o yamllogs <id>
Section titled “logs <id>”Fetches deployment logs.
| Flag | Description |
|---|---|
--build | Build-stage logs (clone, image build, push). Default. |
--runtime | Runtime container logs from the deployed app. (Coming with reoclo apps logs.) |
--follow | Stream new lines as they arrive. (Coming in v1.x.) |
reoclo deployments logs --build 019dc1a8-841f-7102-ac5d-3ee9e9353795stages <id>
Section titled “stages <id>”Lists the deployment’s pipeline stages with their status and duration. An unknown id is an error, not an empty table.
reoclo deployments stages 019dc1a8-841f-7102-ac5d-3ee9e9353795cancel
Section titled “cancel”Stops an application deployment that is queued, running, or stuck. Available from CLI 0.92.0.
reoclo deployments cancel 01a187bc-bf21-7d20-9b19-f01408e8aae4A deployment Reoclo is not executing is cancelled at once and its application lock is released. A deployment Reoclo is executing stops now: a build on a build server, or a clone or build already running on a runner-connected server, is stopped, and on an SSH server the deployment stops when the current step ends. Once the deploy step starts, it finishes and reports what it changed. Cancelling returns the application to the status it had before the deployment started. A deployment that belongs to a stack run is refused with the stack deployment’s id: cancel it with reoclo groups cancel instead.
Pipelines
Section titled “Pipelines”Tail the latest deployment for an app from a single command:
LATEST=$(reoclo deployments ls --app api --limit 1 -o json | jq -r '.[0].id')reoclo deployments logs --build "$LATEST"Exit codes
Section titled “Exit codes”| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | Server-side error |
| 3 | Authentication failure |
| 5 | Deployment not found |
| 7 | Control plane unreachable: DNS, connection refused, or timeout (CLI 0.55.0+, earlier versions report 1) |
Related
Section titled “Related”reoclo apps deploy: trigger a new deploymentreoclo logs tail: tail server-wide logs