Hey there! I'm getting the following error: `There...
# pactflow
d
Hey there! I'm getting the following error:
There is no verified pact between version 1.0.0 of demo-app and a version of GameService currently deployed or released to production (no version is currently recorded as deployed/released in this environment)
when running can-i-deploy. How do I configure/set the environment for my consumer + provider contracts? I couldn't find it in the Pact Broker Client CLI commands.
m
You need to tell Pactflow when you have deployed your applications. You do so calling the
pact-broker record-deployment
command after you have deployed your application. See https://docs.pact.io/pact_broker/recording_deployments_and_releases. I’d also recommend going through the CI/CD workshop 👇 for the detail here (howtolearn)
1
s
Here are a number of useful hands-on labs that teach all of the key concepts: https://docs.pactflow.io/docs/workshops and https://docs.pact.io/implementation_guides/workshops
b