Hi all,
I was reading the webhook documentation and came across this
image. I’m curious: how does it work when a consumer publishes contract changes for multiple providers? Is there a way to configure a trigger that waits for all verifications to complete?
Instead of using a webhook, would polling with the following command be a better approach in cases where the broker might fail to trigger the deployment CI (e.g., due to unexpected issues) or when there are multiple providers? From my understanding, it returns without errors if all verifications are successful. Does this mean it will wait for all verifications to complete?
can-i-deploy \
--pacticipant ${PACTICIPANT} \
--version ${GIT_COMMIT} \
--to-environment ${ENVIRONMENT} \
--retry-while-unknown 30 \
--retry-interval 10
Thanks!