Pb

Pact Broker

Azure Developer Tools 1 variation

the contract testing hub for the Pact ecosystem: publish consumer contracts, verify them from the provider side, and let can i deploy answer whether a release is safe.

Base
Hardened build
minimal ports, security patches applied at build time
Access
Unique credentials
generated on first boot, readable only by root
Verified
Boots working
services pass a health gate before release
Support
24/7, 365 days
by email and live chat, 24 hour response SLA

Variations

This product is available in the build below. Open it for the operating system, cloud and version detail, or read its deployment guide.

ProductCloudOperating systemVersion
Pact Broker on Ubuntu 24.04 LTS Azure Ubuntu 24.04 Standard View · Guide

Overview

Pact Broker is the open source contract testing hub for the Pact ecosystem. Consumer test runs publish their contracts to it, providers fetch those contracts and publish their verification results back, and can i deploy answers the question a release pipeline actually needs answered: is this version safe to deploy, given everything it talks to. It keeps the history of every contract, the matrix of who verified what against which version, tags and branches describing where each version has reached, and a web interface for reading all of it. Webhooks let it trigger the provider build when a consumer publishes a new contract, so the two sides of an integration stay honest without anyone co ordinating a release.

Why the cloudimg image

Pact Broker has no authentication of its own unless credentials are supplied, and the official image turns authentication on only if it finds them, so a missing configuration file produces an open broker rather than one that refuses to start. The cloudimg image never lets that happen: the broker is held back until the first boot of every instance has generated its own credentials, and it cannot start without them. Two accounts are created rather than one, a write login for your pipeline and a separate read only login for people and dashboards, each with its own password unique to that instance, so nobody who only needs to read the matrix holds the credential that could rewrite it. The upstream example contracts a new broker normally seeds itself with are switched off, so the instance you receive is genuinely empty, and the status badges the official image serves to anyone require a credential here. Only SSH and HTTPS are reachable: the broker never leaves the loopback interface, there is no plaintext port at all, and the database has no network listener whatsoever. The base URL the broker writes into every link it returns is resolved per instance, so CI tooling can follow those links immediately. An on instance self test publishes a contract, reads it back, records a verification result and checks can i deploy answers correctly both ways before removing everything it created. Paired deployment guide and 24/7 cloudimg support.

Common uses

  • Give consumer driven contract tests a broker to publish and verify against
  • Gate a deploy on can i deploy so an unverified version never reaches production
  • Keep a team's contracts and verification history inside your own network