shayan hoseini
05/11/2024, 7:00 AMCI/CD
with pact but there some things that is not clear how to implement it with two different repository!
CI CD scenario:
after contract changing event which it triggers by consumer, we should run provider test pipeline and after failing the the provider pipeline, we need to fail the consumer pipeline as well
I have read the documentation of the CI/CD workshop and followed how can-i-deploy
could help but I could not completely implement these step on my own
Do you have any blog post recommendation to share ?Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
shayan hoseini
05/13/2024, 6:27 PMshayan hoseini
05/13/2024, 6:34 PMMatt (pactflow.io / pact-js / pact-go)
prod
). β <------- this should fail your consumer pipeline
3. ---> webhook from PactFlow triggers provider pipeline β
endMatt (pactflow.io / pact-js / pact-go)
shayan hoseini
05/14/2024, 7:22 AMUnauthorized
error when I am trying to test can-i-deploy
with specifying my write access token --broker-token
and my --broker-base-url
Matt (pactflow.io / pact-js / pact-go)
shayan hoseini
05/14/2024, 8:07 AMpact-broker can-i-deploy --pacticipant example-client --version 1.0.0-someconsumersha --to-environment production --broker-base-url https://******.<http://pactflow.io|pactflow.io> --broker-token ******
Matt (pactflow.io / pact-js / pact-go)
--verbose
flag to the command, that will helpMatt (pactflow.io / pact-js / pact-go)
shayan hoseini
05/14/2024, 1:31 PMshayan hoseini
05/14/2024, 1:31 PMshayan hoseini
05/14/2024, 1:32 PM