Jegadeesan Ponnusamy
02/08/2024, 8:42 PMMatt (pactflow.io / pact-js / pact-go)
can-i-deploy to match your process
2. See https://docs.pact.io/pact_nirvana/notes_1Stanislav Vodetskyi
02/10/2024, 12:35 AMcan-i-deploy to match your process
what we did was implement can-i-deploy everywhere but use --dry-run flag until all pacts and verification results are published. We've also added a custom script to skip can-i-deploy if we're checking a version that's not present in the pact broker.Stanislav Vodetskyi
02/10/2024, 12:37 AMcan-i-deploy normally up until the point where a consumer publishes their first pact, so it makes sense to onboard providers first.Stanislav Vodetskyi
02/10/2024, 12:37 AM--ignore flag in can-i-deploy which would allow ignoring pacts with individual services as neededMatt (pactflow.io / pact-js / pact-go)
what we did was implement can-i-deploy everywhere but useI should have mentioned this as an option, but ultimately it still relies on the knowledge to “trust” or “not trust” the command in order to use it.flag until all pacts and verification results are published.--dry-run
We’ve also added a custom script to skipclever! Are you using theif we’re checking a version that’s not present in the pact broker. (edited)can-i-deploy
describe-version command or a custom API call?Stanislav Vodetskyi
02/11/2024, 11:03 AMpact-broker describe-version , we wrote a simple shell script that checks if describe-version returns Pacticipant version not found or some other errorStanislav Vodetskyi
02/11/2024, 11:05 AM