Hello! Is it possible to provide several pacticipa...
# pact-broker
t
Hello! Is it possible to provide several pacticipants in the record-deployment? Like:
Copy code
pact-broker record-deployment
--pacticipant="my-pacticipant-1"
--pacticipant="my-pacticipant-2"
--version="1"
--environment="test"
--broker-base-url="<http://pactflow.com|pactflow.com>"
--broker-token="123"
--verbose
y
you might be able to to the following by repeating the fields
Copy code
pact-broker record-deployment \
--broker-base-url="<http://pactflow.com|pactflow.com>" \
--broker-token="123" \
--verbose \
--pacticipant="my-pacticipant-1" \
--version="1" \
--environment="test" \
--pacticipant="my-pacticipant-2" \
--version="1" \
--environment="test"
You can specify as many application versions as you like, and you can even specify multiple versions of the same application (repeat the
--pacticipant
name and supply a different version.)
It works for the can-i-deploy command. mentioned here
☝️ 1
t
Thank you, I’ll take a look
y
If this does work, please let us know and even better consider raising a pull request on the docs, (or at least raising an issue to say that it works and it would be good to add the documentation, somewhere where you would expect it 🙂
t
I tried it and it didn’t work for me, apparently r`ecord-deployment` doesn’t support several pacticipants.
I used it as shown on the screenshot
anyways, such setup worked for can-i-deploy 👍