Hi team a general query, lets say there are different environments for a consumer and a provider. So, are there any guidelines in PACT, if we need to verify a QA version of the consumer with the Prod version of the provider, or can we only verify the QA Consumer with QA Provider only?
t
Timothy Jones
09/12/2022, 6:47 AM
Remember that your version is not the same as your environment. Eg, you might have v1.2.3 deployed in QA, but when you're verifying "QA", you're not verifying "QA", you're verifying v1.2.3
I think the ideal setup for multiple environments is to gate deployments with can-i-deploy, but not to fail the build if the verification fails (although to be fair this isn't how I do it, so I don't know for sure)
Timothy Jones
09/12/2022, 6:52 AM
Note that usually when you have something deployed in QA it must already have been verified
h
Harry
09/12/2022, 12:16 PM
Okay, thanks @Timothy Jones, going through the document now.