Hi,
We are onboarding pact consumer driven contract testing in our micro-services architecture. Since we have just started with the process, I have a basic question on integrating pact with our CI/CD pipelines.
I have a consumer C1 having a contract with provider P1, publishing pact for the first time to the pact broker. If I’m configuring contract_requiring_verification_published web hook, this will trigger the pact verification and publish the results to pact broker. I haven’t yet recorded the provider deployment in pact broker though. Hence in the consumer pipeline, if I configure can-i-deploy after publishing pact this will fail.
Unless I trigger a deployment for my provider, record deployment which is configured after deployment is not going to record the provider version and environment in pact broker. How to automate this process for the consumer build to work.
Can you help me with this?