Hi Team, can-i-deploy fails if no pact was publish...
# pact-broker
a
Hi Team, can-i-deploy fails if no pact was published by pacticipant. I am using https://github.com/DiUS/pact_broker-docker. Any way to avoid this error ? No pacts or verifications have been published for version <version> of <pacticipant> Thanks.
t
You’ll have to tell us more about your setup. Have you created the pacticipants? What is your process?
a
So if I am checking for "main" tag and if that tag is not there in the broker. I have added IgnoreNoPactsToVerify to avoid build failures. But when I am doing can-i-deploy at that time also I wanted to avoid this error.
m
b
@Ashish Garg please use the pact-foundation pact-broker docker image (not the DiUS one). The DiUS one will be officially deprecated soon.
👍 2