Skip to content
GitmoapAPIBeta
Schema

ServiceTierDeployment

One stop on a service's promotion track: whether anything is serving this environment tier, and how the latest deployment attempt went. The two can differ — { "status": "failed", "deployed": true } means the previous version is still serving and the attempt to replace it failed. A tier may hold several environments (prod-eu, prod-us): status is the worst across them, and deployed is true if any of them is serving.

Shape

  • deployedboolean
  • statusDeploymentStatusrequestedawaiting_approvalrejectedrunningsucceededfailedcancelledsupersededskippedWhere a deployment is in its life. It starts requested; waits as awaiting_approval when the environment needs approval, ending rejected if refused; then running, ending succeeded, failed or cancelled. skipped means another deploy held the environment and its policy is to skip. A successful deployment becomes superseded when a later one replaces it.
  • tierEnvironmentTierdevelopmenttestingstagingproductionWhat kind of environment this is, whatever it is called: development, testing, staging or production. A production environment is protected by default.

Example

Synthesized example
{
"deployed": false,
"status": "requested",
"tier": "development"
}

Graph

Contains

No named schema inside.

Used by