Harold Robson
04/21/2023, 1:44 PMMatt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Slackbot
04/22/2023, 1:20 AMHarold Robson
04/24/2023, 1:31 PM${pactbroker.providerVersionBranch}
var is set? I am using this one for the verification that happens when the Pact file changes. The version of the provider in UAT would be on the develop branch and the version in prod would be on the master branch but how can my Pact broker know this?Harold Robson
04/24/2023, 1:39 PMpact-provider-verifier \
--provider "Example API" \
--provider-app-version $GIT_COMMIT \
--provider-version-branch
Harold Robson
04/24/2023, 1:52 PMdocker run --net=host -e VERBOSE='true' -e PACT_DO_NOT_TRACK=true pactfoundation/pact-cli:latest pact-broker create-or-update-pacticipant --broker-base-url=<https://pact.dev.ieu.intelematics.club/> --name=battery-api --main-branch=master
Matt (pactflow.io / pact-js / pact-go)
var is set? I am using this one for the verification that happens when the Pact file changes. The version of the provider in UAT would be on the develop branch and the version in prod would be on the master branch but how can my Pact broker know this?It knows this, because you use your provider should be recording deployments to the environments it is deployed to
Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)