DeliveryRunStage
A stage of a run.
Properties
namestring requiredThe name of the stage.- The structured status of the stage in the run.
- ↳
statusenum requiredThe status.Values:in_progress— InProgress- Part of the item is running.
waiting— Waiting- The item waits for something; its wait kind says what.
running— Running- The item is running.
pending— Pending- The item has not started.
blocked— Blocked- The item cannot go on.
succeeded— Succeeded- The item succeeded.
failed— Failed- The item failed.
canceled— Canceled- The item was canceled.
superseded— Superseded- A newer release replaced the item.
skipped— Skipped- The item was skipped.
closed— Closed- The item is closed.
unchanged— Unchanged- The item was not run because its inputs did not change.
- ↳
waitKindenum optionalWhat a waiting item waits for. A pending approval is a wait, not a failure.Values:approval— Approval- An approval.
decision— Decision- A decision evaluation.
manual— Manual- A person to continue it.
queue— Queue- A place in the queue.
stage— Stage- An earlier stage.
dependency— Dependency- A member it depends on.
target— Target- The target stack to be free.
inputs— Inputs- Its inputs.
scope— Scope- Its scope.
pass_retry— PassRetry- A retry of the pass.
paused— Paused- A paused stage to resume.
- ↳
stageNamestring optionalThe name of the stage that the status refers to, for example the stage at which a run waits, failed or was superseded. - ↳
releaseNumberinteger optionalThe number of the release that the status refers to, for example the release that superseded a run. - ↳
reasonstring optionalThe reason in text for people, for example why an item failed. fromarray[string] optionalThe names of the stages that must converge first.whenarray[string] optionalThe kinds and names of the conditions that the run declared for the stage, as kind:name.admittedAtstring optionalWhen the stage got its lock.convergedAtstring optionalWhen the stage converged.- The latest gate of the stage.
- ↳
idstring requiredThe ID of the gate. - ↳
stageNamestring optionalThe name of the stage of the gate. - ↳
roundinteger requiredThe round of the gate. A retry opens a new round. - ↳
statusenum requiredThe status of the gate.Values:open,passed,closed - The conditions of the gate.
- The rule of the gate with its satisfaction.
- ↳
createdAtstring requiredWhen the gate opened. - ↳
passedAtstring optionalWhen the gate passed. - ↳
closedAtstring optionalWhen the gate closed. - ↳
closeReasonenum optionalWhy a closed gate closed.Values:canceled— Canceled- The run was canceled.
failed— Failed- The run failed.
superseded— Superseded- A newer release superseded the run.
ended— Ended- The run ended.
stage_converged— StageConverged- The stage converged.
- ↳
closedByKindenum optionalWho closed the gate: a user, or the system for a supersede, a failure or the end of the run.Values:user,webhook,system,trigger - ↳
closedBystring optionalThe login of the user who closed the gate, for example by canceling the run.