Skip to content
GitmoapAPIBeta
Schema

ConcurrencyPolicy

Whether deploys to an environment run one at a time, and what happens to a deploy that has to wait.

Shape

  • exclusivebooleanoptionaldefault falseWhether deploys to this environment run one at a time. Off by default.
  • max_lock_wait_secondsinteger · int32optional0–∞default 0How long a queued deploy waits for its turn before failing, in seconds: from 60 (shorter values are rounded up) to 21600. 0, the default, means it waits for as long as the pipeline's timeout allows.
  • modeConcurrencyModequeueskipcancel_previousoptionalWhat happens when a run wants to deploy while another run holds the lock: queue (the default) waits its turn, skip skips the step, and cancel_previous cancels the other run. cancel_previous is available on environments only, not on a step's resource group.

Example

Synthesized example
{
"exclusive": false,
"max_lock_wait_seconds": 0,
"mode": "queue"
}

Graph

Contains

No named schema inside.

Used by

Sent by 0 operations

No operation takes it as a request body.

Returned by 0 operations

No operation returns it directly.