Artifact Promotion Pipelineとは?
artifact promotion pipelineは、単一のimmutableなartifactを一度buildし、それをtest、staging、productionといった連続するステージを通してpromoteするreleaseモデルです。各ステージはchecksでgateされますが、環境間でバイトが変わることはありません。promoteするとは、再ポイントまたは再tagすることであり、再buildすることではありません。
なぜ重要か
環境ごとに再buildすると、toolchainや入力がbuild間でdriftしうるため、testされたものとは異なるものを出荷するリスクがあります。同一のartifactをpromoteすることで、stagingを通過したものがまさにproductionに届くことが保証されます。これはartifactがimmutableでdigestによりアドレスされていることに依存します。
関連ガイド
What Is Environment Promotion?Environment promotion advances a release from one environment to the next, such as staging to production, aft…
What Is a Gated Deployment?A gated deployment requires a release to pass explicit checks or approvals before it can proceed, stopping th…
What Is Registry Garbage Collection?Registry garbage collection reclaims storage by deleting image blobs and manifests no longer referenced by an…