Skip to main content

csph deployments builds

manage a deployment's builds

🏗️ Manage a deployment's builds.

A build turns the deployment's source into an image and deploys it. A push to the connected branch starts one; create starts one on demand from the deployment's current manifest.

A build moves through pending → dispatched → building → built → predeploying → deploying, and ends succeeded, failed or canceled. A deployment that requires approval parks a build at awaiting_approval until a project admin or owner approves it (approve) or rejects it (reject). A failed build may offer one fix, such as a branch that exists in place of one that doesn't; fix applies it and starts a new build.

A build's output is on csph deployment logs <deployment-id> --build <build-id>.

Subcommands​

CommandDescription
createstart a build of a deployment
listlist a deployment's builds
getshow a build
cancelcancel a running build
approveapprove a build waiting for approval, so it deploys
rejectreject a build waiting for approval, so it doesn't deploy
fixapply the fix a failed build offers (its branch or root folder), then start a build

See also​