Skip to content
Mermaid templates

Provenance-checked artifact promotion

Keeps the tested artifact digest stable across staging and production promotion. Original worked design example; adapt responsibilities, thresholds and assumptions to your system.

Template previewMermaid
Rendering…

What this template contains

Diagram type
Sequence diagram
Source
21 lines

Make it your own.

sequenceDiagram
participant D as Developer
participant C as Build pipeline
participant R as Artifact registry
participant P as Policy gate
participant S as Staging
participant O as Production
D->>C: Reviewed source commit
C->>C: Test and build immutable artifact
C->>R: Store digest, provenance and test result
R-->>C: Content digest
C->>P: Request promotion of digest
P->>R: Verify provenance and required checks
alt Policy satisfied
 P->>S: Deploy immutable digest
 S-->>P: Smoke test evidence
 P->>O: Promote the same digest
 O-->>P: Health observation
else Check missing or failed
 P-->>D: Block promotion with reasons
end