العقود في CI
في هذا الدرس 4 موضوعات
هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.
نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.
في هذا الدرس
make contract verification block bad releases.
الموضوعات المخطط لها
- 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.
تفاصيل المخطط المبدئي
عرض عملي
two pipelines with arrows: consumer publishes, provider verifies, gate before deploy.
اختبر فهمك
What happens when the provider renames a field a consumer uses?
أظهر الإجابة
The provider build fails on contract verification.
التطبيق
طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.
تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.