Alexandre
07/11/2022, 3:27 PMjson
07/11/2022, 3:35 PMjson
07/11/2022, 3:36 PMAlexandre
07/11/2022, 3:36 PMAlexandre
07/11/2022, 3:37 PMjson
07/11/2022, 3:37 PM-f
option for passing a pact file:Alexandre
07/11/2022, 3:38 PMjson
07/11/2022, 3:40 PMAlexandre
07/11/2022, 7:07 PM--file
and --dir
options are ignored when the env variable PACT_BROKER_BASE_URL
is defined πAlexandre
07/11/2022, 7:09 PMjson
07/11/2022, 7:51 PMAlexandre
07/11/2022, 7:52 PMjson
07/11/2022, 7:54 PMAlexandre
07/11/2022, 7:56 PMAlexandre
07/11/2022, 7:57 PMjson
07/11/2022, 7:58 PMAlexandre
07/11/2022, 7:58 PMMatt (pactflow.io / pact-js / pact-go)
Is there a way to test a consumer contract (as bi-directional contract) with a provider without publishing it to the broker ?Are you asking if there is a way to confirm locally if a change on the provider/consumer will break things, rather than finding out using
can-i-deploy
later in the pipeline? If so, not yet, but itβs on the roadmap (see can-i-deploy local)Matt (pactflow.io / pact-js / pact-go)
Alexandre
07/12/2022, 4:49 AMcan-i-deploy
command with a local contract instead of publishing it to the pact broker.
My ci/cd workflow is basically
pact-broker publish
pact-broker can-i-deploy
pact-broker record-deployment
and I would want to just run can-i-deploy
locally (with uncommited local changes for example) to make sure my code is fine and only publish validated contractsMatt (pactflow.io / pact-js / pact-go)
Alexandre
07/13/2022, 1:45 PM