Ravi Sir's Cards › AWS
buildspec and gates
This revision card explains buildspec and gates. A pipeline without tests or approvals ships broken code to prod. It describes buildspec.yml defines phases/artifacts. Manual approval and test actions are release gates. The how-to section notes fail the pipeline on test errors; require human approval before prod; store artifacts in S3. An example on the card is unit tests red , then Deploy never runs; prod stage waits on approver.
Read card text
What this card says
Why do we need it?
A pipeline without tests or approvals ships broken code to prod.
What is it?
buildspec.yml defines phases/artifacts. Manual approval and test actions are release gates.
buildspec
How to do it
Fail the pipeline on test errors; require human approval before prod; store artifacts in S3.
Example
Unit tests red → Deploy never runs; prod stage waits on approver.