Skip to content

Instantly share code, notes, and snippets.

@jawu
Last active September 18, 2018 10:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jawu/efd788804a006183b385b102d10c1efc to your computer and use it in GitHub Desktop.
Save jawu/efd788804a006183b385b102d10c1efc to your computer and use it in GitHub Desktop.
pact-broker can-i-deploy behaivour questions
bin#: ./pact-broker can-i-deploy --pacticipant pn-service --version 8cda2a17 --broker-base-url http://pact-broker.somehost.com
Computer says no ¯\_(ツ)_/¯
CONSUMER | C.VERSION | PROVIDER | P.VERSION | SUCCESS?
----------------------------|-----------|-----------------------------|-----------|---------
pn-service | 8cda2a17 | pp-service | ??? | ???
pn-service | 8cda2a17 | f-service | 12956785 | true
p-service | 82ba7ca0 | pn-service | 8cda2a17 | true
p-service | cb032a4e | pn-service | 8cda2a17 | true
pb-service | ce34906b | pn-service | 8cda2a17 | true
pb-service | 8a21f187 | pn-service | 8cda2a17 | true
pb-service | d52e6168 | pn-service | 8cda2a17 | true
Everything here is clear
bin#: ./pact-broker can-i-deploy --pacticipant pn-service --version 8cda2a17 --to master --broker-base-url http://pact-broker.somehost.com
Computer says no ¯\_(ツ)_/¯
CONSUMER | C.VERSION | PROVIDER | P.VERSION | SUCCESS?
----------------------------|-----------|---------------------|-----------|---------
pn-service | 8cda2a17 | pp-service | ??? | ???
pn-service | 8cda2a17 | f-service | 12956785 | true
There is no verified pact between pb-service (a60af08a) and pn-service (8cda2a17)
There is no verified pact between p-service (cd208837) and pn-service (8cda2a17)
Missing one or more verification results
Question/comment:
The two missing verified pacts are not existing. Why is the pact-broker is thinking that they must be present?
No version of pb-service with tag master has published a pact with pn-service, that's also true for p-service.
So why should a non exisiting pact prevents a deployment?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment