Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

ADR 004: CI/CD Quality Assurance

Status: Accepted | Date: 2025-03-10

Context

Ensure security and integrity of software artifacts that are consumed by infrastructure repositories per ADR 010. Threat actors exploit vulnerabilities in code, dependencies, container images, and exposed secrets.

Compliance Requirements:

Decision

CI/CD Pipeline Requirements

Pipeline Flow: Code Commit → Build & Test → Quality Assurance → Release

StageToolsPurposeMandatory
BuildDocker BakeMulti-platform builds with SBOM/provenanceYes
ScanTrivyVulnerability scanningYes
AnalysisSemgrepStatic code analysisYes
TestPlaywrightEnd-to-end testingRecommended
PerformanceGrafana K6Load testingOptional
APIRestishAPI validation per ADR 003Optional

Development Environment

CI/CD Pipeline:

Consequences

Without this approach: Vulnerable containers deployed, exposed secrets, compromised application integrity, and compliance violations.

With this approach: Secure, tested artifacts with automated vulnerability remediation and compliance alignment.

References