Skip to main content
    DevOps
    Way of Working
    1. Home
    2. Kits
    3. Cicd Baseline

    CI/CD & Build Automation

    Automated builds, artifact management, SBOM generation, and CI pipeline templates for every team.

    Milestone: Foundation
    foundational
    DF
    LT

    Job to be done: When our CI varies wildly across repos and security checks stay manual, I want to establish a minimum baseline of build, test, lint, and scanning, so I can deploy with confidence that quality is consistent and predictable.

    For engineers

    You will create a shared CI pipeline template with build, test, and lint stages, add dependency and container scanning with SBOM generation, then roll it out across repos. Implement caching and parallelization to keep feedback fast, and standardize how artifacts are versioned and stored.

    What you’ll implement

    These are the roadmap epic features, organized as a starter backlog.

    1
    CI Pipeline Template
    2
    Artifact Versioning
    3
    SBOM Generation
    4
    Automated Security Scanning
    5
    Secrets Detection
    6
    Fast Feedback Loop

    Execution guide

    Practical guidance aligned to the Execution Kit Definition of Done.

    Outcome

    Every service has a consistent CI baseline (build/test/lint/security) and produces promotable artifacts.

    Before to After Transformation

    × BEFOREInconsistent CI

    Each team has different pipelines, manual security checks, slow builds, no artifact strategy

    # Manual build process:
    cd app && npm install
    npm run build
    # Hope it works...
    scp -r dist/ prod-server:/var/www/
    AFTERStandardized CI baseline

    Every repo uses shared templates, automated security scanning, fast feedback, immutable artifacts

    # Standardized CI template:
    name: ci
    on: [push, pull_request]
    jobs:
      build:
        uses: org/pipelines/.github/workflows/node-ci.yml@v1
        # ✓ Build + Test + Lint
        # ✓ SAST + Dependency scan
        # ✓ SBOM generation
        # ✓ Container build + scan
    
    # DORA improvements:
    # - Deployment frequency: weekly to daily
    # - Lead time: 7 days to 2 days

    Symptoms

    CI is inconsistent across repos
    Builds are slow or unreliable
    Security checks are manual or skipped
    Deployments require tribal knowledge

    Prerequisites

    Source control with PR workflow
    A build runner available (GitHub Actions/Azure DevOps/etc.)
    Artifact storage (packages, container registry, etc.)

    Implementation steps

    Week 1
    • Define the CI minimum checks policy
    • Create a pipeline template (build + unit + lint)
    • Add dependency and secret scanning
    Week 2
    • Add SBOM generation and publish artifacts
    • Add container/image scanning (where applicable)
    • Standardize caching and parallelization
    Week 3
    • Add provenance/signing where feasible
    • Add CI observability (timings, flaky detection)
    • Roll out to the next 3–5 repos

    Definition of Done

    • CI policy documented and enforced on protected branch
    • Standard pipeline template adopted
    • Security scanning runs automatically
    • Artifacts are versioned and stored
    • Practice integrated into team workflow

    Metrics

    Leading Indicators
    • Build time (p50/p95)
    • CI success rate
    • Flaky test rate
    Lagging Indicators
    • Deployment frequency
    • Change failure rate

    Failure modes

    Teams fork pipelines without alignment
    Security scans produce noise with no triage workflow
    No artifact promotion strategy (rebuilding in each env)

    Ownership

    Platform/DevOps
    • Own pipeline templates
    • Operate registries and runners
    • Support adoption
    Teams
    • Adopt templates
    • Fix broken builds quickly
    • Keep dependencies current

    What good looks like (by org scale)

    Small Teams
    • Build/test/lint + basic scanning on every PR
    Medium Orgs
    • SBOM + image scanning
    • Artifact promotion pipeline
    Enterprise
    • Signed artifacts + provenance
    • Central dashboards + policy packs

    References

    SLSA Framework
    OWASP Software Supply Chain

    Resources

    Templates and related materials for this kit.

    Templates
    Copy/paste artifacts that support this kit.
    CI Policy (Minimum Checks)
    A minimum CI policy you can adopt org-wide: what must pass before merge/deploy.
    Secure SDLC Checklist (Lightweight)
    A simple, repeatable checklist for security-by-default in planning, coding, and release.
    Service Onboarding Checklist (Golden Path)
    A checklist for onboarding a new service into the platform: ownership, CI/CD, observability, and security.
    Startup DevOps Budget Checklist
    A comprehensive guide to building reliable DevOps with free/low-cost tools (<$500/month) for startups.

    Related capabilities

    Capabilities tracked under this epic in the roadmap.

    • CI Pipeline Template
      >= 90% of repos use org-wide CI template with lint, test, build, scan stages.
    • Artifact Versioning
      100% of builds produce semantically versioned artifacts (semver) pushed to artifact registry.
    • SBOM Generation
      >= 80% of builds generate Software Bill of Materials (SBOM) in SPDX or CycloneDX format.
    • Automated Security Scanning
      100% of builds run SAST (code scan) and SCA (dependency scan) with >= HIGH severity blocking merge.
    • Secrets Detection
      >= 95% of commits scanned for leaked secrets (API keys, passwords) pre-commit and in CI.
    • Fast Feedback Loop
      >= 80% of CI pipeline runs complete in < 10 minutes from commit to pass/fail result.

    Related kits

    Other kits in the same milestone or with similar DORA impact.

    Backlog Quality & Planning Enablement
    Foundation
    LT
    DF
    Release Management Foundations
    Foundation
    DF
    LT
    Code Quality & Review Standards
    Foundation
    LT
    CFR
    Deployment Automation Foundations
    Foundation
    DF
    MTTR
    DevOps
    Way of Working

    DevOps practices for the entire delivery lifecycle

    © 2019-2026 devopswow.com. Created by Burhan Öcüt

    PartnersAboutPrivacyTermsCookies