Join Slack
Powered by
Hi all, When the CICD Pipelines run the Consumer T...
# pactflow
p
Prakhar Roy
07/18/2023, 6:16 AM
Hi all, When the CICD Pipelines run the Consumer Test Cases and when there is
NO CHANGE
in the generated pact file and when we try to publish the pact to broker, will the unchanged pact get published or not ?
m
Matt (pactflow.io / pact-js / pact-go)
07/18/2023, 6:38 AM
From
https://docs.pact.io/getting_started/conceptual_overview#consumers-and-publishing-pacts
👀 1
Matt (pactflow.io / pact-js / pact-go)
07/18/2023, 6:39 AM
TL;DR - always publish from pipelines. This makes the pipelines simpler to reason about, the steps are always the same
👍 1
Matt (pactflow.io / pact-js / pact-go)
07/18/2023, 6:39 AM
If the content is not different, it will be considered “pre-verified” (that is, verification results for the same contents can be re-used in
can-i-deploy
and similar calculations)
😮 1
p
Prakhar Roy
07/18/2023, 12:57 PM
Thank you so much for the info! The pact doc was really informative 🙂
🙌 1
Open in Slack
Previous
Next