HomeEE · Architecture › CI/CD reference pipeline

CI/CD reference pipeline

Purpose: A defensible pipeline for AEM: stages, quality gates, and deployment mechanics per tier.

Who this page is for

AudienceWhy it matters to you
All engineersYou live in this pipeline
Platform engineersBuilders of it

The pipeline

PR ──▶ build & unit tests ──▶ static analysis ──▶ merge
                                              │
release branch/tag ──▶ versioned artefact (all package) ──▶ artefact repo
                                              │
        deploy dev ──▶ smoke ──▶ deploy stage ──▶ integration+UAT+perf gates ──▶ approval ──▶ deploy prod
GateContents
Buildmvn verify: compile, unit tests (models/services), frontend build+lint+tests
Static analysisJava (SpotBugs/PMD or Sonar), dependency CVE scan, HTL lint, dispatcher config validator
Post-deploy smoke (every env)Bundles all Active, /system/health green, key pages render (author+publish), replication test
Stage gatesit.tests HTTP suite, a11y/Lighthouse scan, perf sanity, security spot checks
Prod deployRolling across publishers (below), verification, tagged + announced

Deploying a publish farm without downtime

for each publisher:
  1. drain from LB (health check → out)
  2. install versioned package; wait bundles Active + health green
  3. targeted smoke on the instance directly
  4. re-enter LB; proceed to next
author: deploy in a maintenance-tolerant window (authors pause), same verification
dispatcher: config via config-management, reload, selective cache flush only if needed

Principles

Quick navigation