Commands

up0 deploy

Report deployments to up0 (CI-facing)

up0 deploy

Report deployments to up0 (CI-facing)

up0 deploy create

Report a deployment starting. Prints the deployment id on success and exits non-zero on failure — the one line a pipeline needs before a release.

Usage: up0 deploy create [OPTIONS]
NameTypeDefaultDescription
--servicestringrequiredService name
--versionstringrequiredDeployed version or tag
--commitstringrequiredCommit SHA
--environmentstringrequiredEnvironment name
--started-atstring-ISO 8601 deploy start time (default: now) — set this to the real build/deploy start, not the time this command happens to run
--idempotency-keystring-Dedup key for retries. Defaults to the CI run id when a recognised CI environment is detected (GitHub Actions, GitLab CI, CircleCI, Buildkite); required otherwise
--jsonbooleanfalseEmit the full deployment as JSON
--org-idstring-Organization ID (or set UP0_ORG_ID) (env: UP0_ORG_ID)

up0 deploy finish

Report a deployment finishing. The one line a pipeline needs after a release.

Usage: up0 deploy finish [OPTIONS] DEPLOYMENT_ID
NameTypeDefaultDescription
DEPLOYMENT_IDstringrequiredDeployment id from deploy create
--statuschoice (succeeded, failed, rolled_back)requiredTerminal status
--finished-atstring-ISO 8601 finish time (default: now)
--jsonbooleanfalseEmit the full deployment as JSON
--org-idstring-Organization ID (or set UP0_ORG_ID) (env: UP0_ORG_ID)

up0 deploy list

List deployments, with the same filters GET /api/v1/deployments itself takes.

Usage: up0 deploy list [OPTIONS]
NameTypeDefaultDescription
--pageinteger1Page number
--per-pageinteger20Items per page (max 100)
--servicestring-Filter by service name
--environmentstring-Filter by environment
--statusstring-Filter by status
--jsonbooleanfalseEmit deployments as JSON
--org-idstring-Organization ID (or set UP0_ORG_ID) (env: UP0_ORG_ID)

On this page