Skip to content

AtomicDeployPlan

Defined in: src/sync/createAtomicDeployPlan.ts:61

Result returned by createAtomicDeployPlan.

PropertyTypeDescriptionDefined in
activateAtomicDeployActivateStep[]Activation steps that swap staging into the live path.src/sync/createAtomicDeployPlan.ts:81
backupPath?stringOptional backup path used by the rename strategy.src/sync/createAtomicDeployPlan.ts:77
createdAtDateTime the plan was created.src/sync/createAtomicDeployPlan.ts:87
idstringStable plan identifier.src/sync/createAtomicDeployPlan.ts:63
livePathstringLive target path the release activates onto.src/sync/createAtomicDeployPlan.ts:71
metadata?Record<string, unknown>Caller-defined metadata retained for diagnostics.src/sync/createAtomicDeployPlan.ts:91
provider?ProviderIdProvider identifier for the live destination when known.src/sync/createAtomicDeployPlan.ts:69
pruneAtomicDeployPruneStep[]Prune steps that remove older releases beyond retain.src/sync/createAtomicDeployPlan.ts:83
releaseIdstringRelease identifier embedded into the staging path.src/sync/createAtomicDeployPlan.ts:65
releasesRootstringReleases root directory under which staging and prior releases live.src/sync/createAtomicDeployPlan.ts:75
retainnumberNumber of releases to retain (including the new release).src/sync/createAtomicDeployPlan.ts:85
stagingPathstringStaging directory the upload populates.src/sync/createAtomicDeployPlan.ts:73
strategyAtomicDeployStrategyActivation strategy chosen for the swap.src/sync/createAtomicDeployPlan.ts:67
uploadPlanTransferPlanUpload plan that populates the staging directory.src/sync/createAtomicDeployPlan.ts:79
warningsstring[]Non-fatal plan warnings.src/sync/createAtomicDeployPlan.ts:89