Skip to content

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.

FlagDefaultDescription
--app <idOrSlug>all appsFilter to a single application.
--limit <n>20Number of deployments to return.
--status <state>allFilter by queued, running, succeeded, failed, or cancelled.
Terminal window
reoclo deployments ls
reoclo deployments ls --app api --limit 5
reoclo deployments ls --status failed -o json

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.

Terminal window
reoclo deployments get 019dc1a8-841f-7102-ac5d-3ee9e9353795
reoclo deployments get 019dc1a8 -o yaml

Fetches deployment logs.

FlagDescription
--buildBuild-stage logs (clone, image build, push). Default.
--runtimeRuntime container logs from the deployed app. (Coming with reoclo apps logs.)
--followStream new lines as they arrive. (Coming in v1.x.)
Terminal window
reoclo deployments logs --build 019dc1a8-841f-7102-ac5d-3ee9e9353795

Lists the deployment’s pipeline stages with their status and duration. An unknown id is an error, not an empty table.

Terminal window
reoclo deployments stages 019dc1a8-841f-7102-ac5d-3ee9e9353795

Stops an application deployment that is queued, running, or stuck. Available from CLI 0.92.0.

Terminal window
reoclo deployments cancel 01a187bc-bf21-7d20-9b19-f01408e8aae4

A 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.

Tail the latest deployment for an app from a single command:

Terminal window
LATEST=$(reoclo deployments ls --app api --limit 1 -o json | jq -r '.[0].id')
reoclo deployments logs --build "$LATEST"
CodeMeaning
0Success
1Server-side error
3Authentication failure
5Deployment not found
7Control plane unreachable: DNS, connection refused, or timeout (CLI 0.55.0+, earlier versions report 1)