SDK reference / Models / Delivery

ReleasePromotion

Kind: class

Namespace: Egulu.Sdk.Models.Delivery

One promotion of a release into a stage (W98 part 2): the frozen digests and the stage's frozen overlay deployed to the stage's apps, never rebuilt.

Properties

NameTypeJSON nameDescription
CreateTimeDateTimeOffset?createTimeWhen the promotion into this stage was first asked for.
EndTimeDateTimeOffset?endTimeWhen the latest attempt ended.
Environmentstring?environmentThe stage's environment ID.
Operationstring?operationThe operation of the latest attempt.
Planstring?planThe ADR-0102 plan whose passkey approvals carry the latest attempt, for a protected environment (W98 part 3).
Reasonstring?reasonWhy the promotion waits or failed, for example `wait-timer`, `digest-missing`, `config-drift` or `approval-revoked`.
RevisionsModels.Delivery.ReleasePromotion_revisions?revisionsThe revision each target app runs from this promotion, by app name; filled as the apps are deployed.
Stagestring?stageThe stage the release is promoted into.
StartTimeDateTimeOffset?startTimeWhen the latest attempt started; a FAILED promotion may be retried, which starts a new attempt.
StateModels.Delivery.ReleasePromotionState?statePENDING until the reconciler takes it; WAITING while the environment's wait timer runs; DEPLOYING while the apps get their revisions; then SUCCEEDED or FAILED.