reoclo deployments
reoclo deployments ls [options]reoclo deployments get [options] <id>reoclo deployments logs [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.
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-3ee9e9353795Pipelines
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 | Network or server-side error |
| 3 | Authentication failure |
| 5 | Deployment not found |
Related
Section titled “Related”reoclo apps deploy— trigger a new deploymentreoclo logs tail— tail server-wide logs