NodeResourceGroup
A resource group a step holds while it runs, so only one step naming it runs at a time. Unless
mode says otherwise, a step queues for the group, for as long as the pipeline's timeout
allows unless max_wait_seconds sets a shorter limit.
Shape
- nameResourceGroupName (string)
- max_wait_secondsinteger · int32 or nulloptional0–∞
- modeConcurrencyModequeueskipcancel_previousor nulloptionalWhat happens when a run wants to deploy while another run holds the lock:
queue(the default) waits its turn,skipskips the step, andcancel_previouscancels the other run.cancel_previousis available on environments only, not on a step's resource group.
Example
Synthesized example{
"name": "payments-api",
"max_wait_seconds": 0,
"mode": "queue"
}
Graph
Used inside
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.