DeploymentStatus
The current state of a deployment operation.
Deployments created with createDeployment enter the lifecycle at PENDING.
Deployments created with proposeDeployment enter at PROPOSED and require
approval before they can run:
Once a deployment reaches a terminal state (COMPLETED, FAILED,
REJECTED, or ABORTED), it cannot transition again.
enum DeploymentStatus {
PROPOSED
REJECTED
APPROVED
PENDING
RUNNING
COMPLETED
FAILED
ABORTED
}
Valuesโ
DeploymentStatus.PROPOSED {#proposed}โ
A proposed deployment awaiting human approval. Proposed deployments are not scheduled and do not block the queue.
DeploymentStatus.REJECTED {#rejected}โ
The proposal was rejected and will never run. Terminal.
DeploymentStatus.APPROVED {#approved}โ
The proposal was approved and is waiting to execute. Approved deployments are drained from the queue alongside PENDING deployments.
DeploymentStatus.PENDING {#pending}โ
The deployment is queued and waiting for execution to begin.
DeploymentStatus.RUNNING {#running}โ
Infrastructure changes are actively being applied.
DeploymentStatus.COMPLETED {#completed}โ
All infrastructure changes were applied successfully.
DeploymentStatus.FAILED {#failed}โ
The deployment encountered an error. Check deployment logs for details.
DeploymentStatus.ABORTED {#aborted}โ
An operator aborted the deployment via abortDeployment. Terminal. The instance's infrastructure state is left as it was at the moment of abort.
Member Ofโ
Deployment objectย โย DeploymentStatusFilter input