Contracts in CI
On This Lesson 4 topics
This lesson is planned. The outline below lists the topics it will cover. The full lesson has not been published yet.
In this lesson
make contract verification block bad releases.
Planned topics
- Consumer pipeline publishes contracts (to a Pact Broker or a repo/artifact store).
- Provider pipeline fetches all contracts for its consumers and verifies them; failure fails the build.
- A "can I deploy?" style check asks whether the version is compatible with what is in each environment.
- Breaking change flow: add the new field, migrate consumers, then remove the old one.
Draft outline details
Demonstration
two pipelines with arrows: consumer publishes, provider verifies, gate before deploy.
Check your understanding
What happens when the provider renames a field a consumer uses?
Show answer
The provider build fails on contract verification.
Practice
Apply this lesson with the module's lab, exercises and quiz.
Marking a lesson complete is optional and you can undo it any time. Your progress stays in this browser.