I don't see any reference in README.md on how to set up pactman on the Consumer side to publish a new contract to Pact Broker instead store it locally inside the repo.
Can someone point me, to how I can do it?
Found these notes, so I can assume it doesn't work right now 😞
|
# Future options to be implemented. Listing them here so naming consistency can be a thing. |
|
# group.addoption("--pact-publish-pacts", action="store_true", default=False, |
|
# help="publish pacts to pact broker") |
|
# group.addoption("--pact-consumer-version", default=None, |
|
# help="consumer version to use when publishing pacts to the broker") |
|
# group.addoption("--pact-consumer-version-source", default=None, |
|
# help="generate consumer version from source 'git-tag' or 'git-hash'") |
|
# group.addoption("--pact-consumer-version-tag", metavar='TAG', action="append", |
|
# help="tag(s) that should be applied to the consumer version when pacts " |
|
# "are uploaded to the broker; multiple tags may be supplied") |
I don't see any reference in
README.mdon how to set uppactmanon the Consumer side to publish a new contract to Pact Broker instead store it locally inside the repo.Can someone point me, to how I can do it?
Found these notes, so I can assume it doesn't work right now 😞
pactman/pactman/verifier/pytest_plugin.py
Lines 60 to 69 in fdaa8c1