Another question: I'm using the v3 pact_verifier_c...
# general
j
Another question: I'm using the v3 pact_verifier_cli (the one written in Rust) and it wants me to specify a consumer version selector, but I'm trying to get this to work with my
contract_requiring_verification_published
webhook, which will trigger on our feature branch build (so before it has been merged/tagged or deployed to any environment) so I just want to point at a specific consumer version when I run the verification. Is there a way to do that with the consumer version selector? Or is there some other way I'm not seeing?
I don't want to simply rely on "latest" because we may have 2 developers who each publish feature branches at the same time, so one of them might never be considered the latest
☝️ 1
Do I maybe just want to pass the
${pactbroker.pactUrl}
to my webhook and just use the
--file
option to point directly to it?
☝️ 1
m
It might not be the file option, there should be one to specify a URL to the exact pact that's not the broker base URL
j
Oh, you are right, I see that now. Thank you