Am I use the --ignore option correctly? I want to...
# pact-broker
j
Am I use the --ignore option correctly? I want to ignore an existing pacticipant but it still verifies against it.
can-i-deploy --pacticipant $(pactClientGatewayConsumerName) --version $(Build.SourceVersion) --ignore ClientSpendAuthority --broker-base-url $(pact-broker-url) --broker-token $(pact-publish-token) --to=prod
b
What version of the pact CLI are you using @Joe Pullifrone?
Also, is this a bi-directional contract? (Pact/OAS) Ignore is not yet supported for that query.
👍 1
It’s in our backlog for the next batch of work for BDC.
I’m having a look at the ClientSpendAuthority issue as I type this, btw.
Have you deleted some contracts since raising the issue? I can’t reproduce your error. I get a different one, but not the one you’re getting.
I need to know the exact can-i-deploy query you’re running, and that wasn’t included in the ticket.
Ok, I managed to reverse engineer the query from your screenshot and I’ve fixed the bug. It’s being deployed as we speak.
There was a recent performance optimisation that introduced a bug. Sorry about that.
Btw, do you know about setting
PACT_BROKER_CAN_I_DEPLOY_DRY_RUN=true
?
Docs here ^^
j
Thank you so very much, Beth. Appreciate the tip on "dry run" as well.