ComponentNode
A step in a component: an ordinary pipeline step placed in one of the component's stage slots.
changes, approval and resource_group are not allowed on it.
Shape
nodeNode
- The Node schema
- capability_idCapabilityId (string)
- idNodeId (string)
- namestring
- allow_failurebooleanoptionalWhen
true, this node's failure (a non-zero exit or a timeout, after any retries) is non-blocking: it does not fail the enclosing stage or the run. The node's transitive dependents — which can never receive its output — are skipped, while independent branches and later stages keep running. A run whose only failures wereallow_failurenodes finishessucceeded_with_warnings. approvalManualApproval or nulloptionalHolds this step until it is approved. A step deploying to an environment that requires approval is held as well, whether or not this is set.
- The ManualApproval schema
- requiredinteger · int32 or nulloptional0–∞Distinct approvals needed, 1–10. On a gated environment the larger of this and the environment's own count applies.
- changesarray of string or nulloptionalPath globs that decide whether this step runs: when none of them matches a path the push changed, the step is skipped. When absent and
serviceis set, the service's own path globs apply. - configobjectoptionalThe step's provider-specific configuration, checked against the capability's
config_schemawhen the run starts. - connectionProviderConnectionName (string) or nulloptionalThe provider connection to use, by name (e.g.
aws-prod). When absent, the step uses the provider's only connection available to the repository, if there is exactly one. - cpustring or nulloptional
- environmentEnvironmentSlug (string) or nulloptionalThe environment this step deploys to, by slug. It is looked up on the repository and then on each group above it when the run starts.
matrixMatrixSpec or nulloptionalRuns this step once for every combination of the named dimensions' values. At most 100 copies.
- The MatrixSpec schema
- dimensionsobjectEach dimension's name and its list of values. The step's
configreads the current value of a dimension with{"$matrix": "<dimension>"}.
- max_retriesinteger · int32optional0–∞
- memorystring or nulloptional
resource_groupNodeResourceGroup or nulloptionalKeeps this step from running at the same time as any other step, in any of your organization's pipelines, that names the same resource group — a Terraform state, a shared staging database, a fragile external sandbox. The
cancel_previousmode is not accepted here.- The NodeResourceGroup schema
- 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.
- retry_delay_secondsinteger · int32optional0–∞
- serviceServiceSlug (string) or nulloptionalThe catalog service this step acts on, by slug. Optional when the repository holds exactly one service, which is then implied; required when it holds more.
- timeout_secondsinteger · int32 or nulloptional0–∞
- variables_fromEnvironmentSlug (string) or nulloptionalAn environment whose plain variables this step reads, by slug, without deploying there — for a build that bakes the environment's settings in. The step receives the environment's non-secret variables and nothing else: no approval, no lock, no secrets, and no deployment is recorded. A step may name this or
environment, not both. - versionProviderVersion (string) or nulloptionalPins a specific provider version. When absent, the provider's default version for this repository is used, as it stands when the run starts.
- stage_slotStageSlot (string)Which of the component's stage slots this step is placed in.
param_slotsComponentNodeParamsoptionalStep fields whose values come from the component's parameters rather than from the step.
- The ComponentNodeParams schema
- allow_failureComponentParamName (string) or nulloptional
- connectionComponentParamName (string) or nulloptional
- cpuComponentParamName (string) or nulloptional
- environmentComponentParamName (string) or nulloptional
- max_retriesComponentParamName (string) or nulloptional
- memoryComponentParamName (string) or nulloptional
- retry_delay_secondsComponentParamName (string) or nulloptional
- serviceComponentParamName (string) or nulloptional
- timeout_secondsComponentParamName (string) or nulloptional
- variables_fromComponentParamName (string) or nulloptionalThe parameter naming the environment whose plain variables this step reads without deploying there.
Example
Synthesized example{
"node": {
"capability_id": "338988aa-979a-4601-93cd-e0463b00afd1",
"id": "id-7998",
"name": "payments-api",
"allow_failure": false,
"approval": {
"approvers": [
{
"anyone": {}
}
],
"required": 38
},
"changes": [
"changes-d75e",
"changes-40dd"
],
"config": {},
"connection": "connection-d6a4",
"cpu": "cpu-73ac",
"environment": "environment-ad46",
"matrix": {
"dimensions": {}
},
"max_retries": 57,
"memory": "memory-b34c",
"resource_group": {
"name": "payments-api",
"max_wait_seconds": 65,
"mode": "queue"
},
"retry_delay_seconds": 47,
"service": "service-9c54",
"timeout_seconds": 84,
"variables_from": "variables-from-2f33",
"version": "version-1df4"
},
"stage_slot": "stage-slot-61fe",
"param_slots": {
"allow_failure": "allow-failure-c017",
"connection": "connection-d9eb",
"cpu": "cpu-cda6",
"environment": "environment-0960",
"max_retries": "max-retries-5a87",
"memory": "memory-644a",
"retry_delay_seconds": "retry-delay-seconds-fb74",
"service": "service-bb83",
"timeout_seconds": "timeout-seconds-195f",
"variables_from": "variables-from-a3d5"
}
}
Graph
Used inside
Contains
Used by
Sent by 0 operations
No operation takes it as a request body.
Returned by 0 operations
No operation returns it directly.