Denis Haskin
02/28/2023, 2:34 PMpact-broker to show what pactflow thinks is deployed in an environment? E.g. when I run can-i-deploy I get output that includes:
CONSUMER | C.VERSION | PROVIDER | P.VERSION | SUCCESS? | RESULT#
-------------------------|------------|--------------------------|------------|----------|--------
x-service | ab7d3b5... | y-service | 84270bd... | true | 1
I was sort of hoping for a command like pact-broker what-is-deployed --pacticipant=y-service --to-environment=Dev . Basically, I’d like to be able to script a way to give us a summary of what versions are deployed for all our services, for informational purposes.
I suppose it might be possible through the API… but hoping not to have to go there.Denis Haskin
02/28/2023, 2:49 PMpact-broker what-is-deployed --to-environment=Dev and just get a list of everything pact-flow knows about in that envrionment.Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
You can call the API. Go to /environments and then go to the tpb:currently-deployed-deployed-versions link for the enviroment you’re after.
Denis Haskin
03/02/2023, 9:00 PM