This message was deleted.
# general
s
This message was deleted.
j
Looks like there is a channel for #pactflow specific questions. You might want to cross-post there, you might get more responses.
y
Yo, as @json as stated, #pactflow is the best channel for pactflow specific features. however the best way to publish provider contracts currently is with our CLI tools! Here are some hot of the press instructions Using docker https://github.com/pact-foundation/pact_broker-client#docker
Copy code
docker run --rm -v /${PWD}:/${PWD} -w ${PWD} -e PACT_BROKER_BASE_URL -e PACT_BROKER_TOKEN pactfoundation/pact-cli:0.50.0.28 pactflow publish-provider-contract \
      oas/swagger.yml \
      --provider "pactflow-example-bi-directional-provider-postman" \
      --provider-app-version 3a0994c \
      --branch test-pactflow-command \
      --content-type application/yaml \
      --verification-exit-code=0 \
      --verification-results newman/newman-run-report-2022-06-09-14-18-33-406-0.json \
      --verification-results-content-type text/plain\
      --verifier postman
if using pact-ruby-standalone https://github.com/pact-foundation/pact_broker-client#standalone-executable and follow this thread for cross-platform install
Copy code
./pact/bin/pactflow publish-provider-contract \
      oas/swagger.yml \
      --provider "pactflow-example-bi-directional-provider-postman" \
      --provider-app-version 3a0994c \
      --branch test-pactflow-command \
      --content-type application/yaml \
      --verification-exit-code=0 \
      --verification-results newman/newman-run-report-2022-06-09-14-03-30-715-0.json \
      --verification-results-content-type text/plain\
      --verifier postman
if using pact-broker_client https://github.com/pact-foundation/pact_broker-client#ruby
Copy code
pactflow publish-provider-contract \
      oas/swagger.yml \
      --provider "pactflow-example-bi-directional-provider-postman" \
      --provider-app-version 3a0994c \
      --branch test-pactflow-command \
      --content-type application/yaml \
      --verification-exit-code=0 \
      --verification-results newman/newman-run-report-2022-06-09-14-03-30-715-0.json \
      --verification-results-content-type text/plain\
      --verifier postman
Happy to take a look at the issue with your js example, probably later today