liveBook · Manning

Quality gate

As explained in Infrastructure as Code, Patterns and Practices: With examples in Python and Terraform

A quality gate is a checkpoint or criterion that determines whether work or an artifact meets specified requirements before proceeding to a later stage.

A quality gate is a checkpoint that requires specified validation results or approval before an infrastructure change advances. For IaC, gates protect security, availability, and resiliency through review or tests. section 7.0

Apply quality gates at successive delivery stages:

  • Submit a change request describing rollout and rollback steps for peer or organizational review. section 7.0
  • Run unit, integration, and end-to-end tests in a testing environment after the change reaches the repository. section 7.1.2
  • Require manual approval before production, while keeping approval batches small and feedback cycles short. section 7.1.2
Figure 7.4 Continuous delivery automatically deploys and runs infrastructure changes in a testing environment and waits for manual approval for production.

A delivery pipeline shows how automated testing and testing-environment deployment precede manual production approval. section 7.1.2

How Infrastructure as Code, Patterns and Practices: With examples in Python and Terraform covers it

How deep it goes
Defines review and test checkpoints, then explains staged delivery and batching risks without detailing gate implementation.
Examples
Uses change requests, peer review, testing environments, automated tests, and manual production approval as concrete gate artifacts.
What it assumes
Assumes infrastructure-as-code, source control, and automated tests while defining quality gates and change management.
What you can do after
Operate/configure delivery workflows that validate infrastructure changes before production release.
How it connects
Ties quality gates to change management, infrastructure as code, continuous delivery, peer review, and integration testing.

Also explained in

Compare how 5 books explain quality gate →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Infrastructure as Code, Patterns and Practices: With examples in Python and Terraform. The section links point to the parts of the book it draws on.