20.5 DevOps Automation
Automation should remove repetitive human error without hiding important architectural decisions.
Automate first
High-value candidates:
- object validation
- package creation
- transport promotion
- environment checks
- post-deployment smoke tests
- data reconciliation
- deployment reporting
- operational notifications
Keep humans for
- architecture approval
- security exceptions
- breaking contract decisions
- production emergency authorization
- major cost changes
Pipeline pattern
Commit/Change -> Static checks -> Package -> Deploy TEST -> Test -> Approval -> Deploy PROD -> Smoke test -> Observe
Guardrails
A pipeline should fail fast when:
- required objects are missing;
- dependency references are unresolved;
- security artifacts are absent;
- target environment is not ready;
- reconciliation thresholds fail.
Automation principle
A successful API call proves that an operation completed. It does not prove that the resulting business data is correct.
Always pair control-plane automation with data-plane validation.