Hello, I've started to lean pact and pactflow and...
# pactflow
i
Hello, I've started to lean pact and pactflow and got to the point to mock a github runner on a repo that contains both and I'm having just one question. You know that pactflow shows the tags, environment and branch of consumer and provider but they are missing or wrong. Where exactly does them supposed to change? Or maybe I haven't completely done the setup for it? The verify and can i deply commands works but it doesnt show the branch, env and tags.
👋 1
m
Consumer side Tags/branches are adding as part of the
pact-broker publish
command. See https://docs.pact.io/implementation_guides/cli#pact-broker-cli Provider side Tags/branches are added during the verification step (you would usually use a language SDK for this) Environments Deployment to an environment is what records this information. You would use the
pact-broker record-deployment
(or
record-release
) command for this. See https://docs.pact.io/pact_broker/recording_deployments_and_releases
i
Thank you. will give a shot.
👍 1
n
@Matt (pactflow.io / pact-js / pact-go) is it possible to add
record-deployment
and
record-deployment
to pact-js (core) ? https://pact-foundation.slack.com/archives/C9VBGLUM9/p1708958790285989