David Van Couvering (DVC) - eBay
02/10/2022, 10:25 PMMatt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
David Van Couvering (DVC) - eBay
02/14/2022, 5:52 PMDavid Van Couvering (DVC) - eBay
02/16/2022, 2:22 AMDavid Van Couvering (DVC) - eBay
03/21/2022, 4:16 PMMatt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
record-deployment
feature to explictly select consumers deployed to an environment - in this case, that would represent a specific toggleMatt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
David Van Couvering (DVC) - eBay
03/23/2022, 3:15 AMDavid Van Couvering (DVC) - eBay
03/23/2022, 3:17 AMrecord-deployment
and then have the verifications take that into account just as with releases, we'd have what we wantMatt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
release
concept, originally conceived to support mobile use case (i.e. you can have multiple versions of an application released to market at any point at time)David Van Couvering (DVC) - eBay
03/23/2022, 3:42 AMMatt (pactflow.io / pact-js / pact-go)
David Van Couvering (DVC) - eBay
03/23/2022, 3:43 AM--all
option)Matt (pactflow.io / pact-js / pact-go)
David Van Couvering (DVC) - eBay
03/23/2022, 3:44 AMDavid Van Couvering (DVC) - eBay
03/23/2022, 3:44 AMDavid Van Couvering (DVC) - eBay
03/23/2022, 3:45 AMcan-i-deploy
should be can-i-release
David Van Couvering (DVC) - eBay
03/23/2022, 3:45 AMDavid Van Couvering (DVC) - eBay
03/23/2022, 3:46 AMDavid Van Couvering (DVC) - eBay
03/23/2022, 3:46 AMMatt (pactflow.io / pact-js / pact-go)
David Van Couvering (DVC) - eBay
03/23/2022, 3:49 AMDavid Van Couvering (DVC) - eBay
03/23/2022, 3:50 AMDavid Van Couvering (DVC) - eBay
03/23/2022, 3:52 AMMatt (pactflow.io / pact-js / pact-go)
latest
selector set to false
. This would have the effect of always verifying all versions with that tag.
You would need to remove the tag from the version afterwards once undeployed, which is the messy bit. I think releases is probably going to be the better tool once you can take advantage of it.
From that page:
• `latest`: true. Used in conjuction with the tag
property. If a tag
is specified, and latest
is true
, then the latest pact for each of the consumers with that tag will be returned. If a tag
is specified and the latest flag is not set to true
, all the pacts with the specified tag will be returned. (This might seem a bit weird, but it’s done this way to match the syntax used for the matrix query params. See https://docs.pact.io/selectors).Matt (pactflow.io / pact-js / pact-go)
David Van Couvering (DVC) - eBay
03/23/2022, 3:54 AMDavid Van Couvering (DVC) - eBay
03/23/2022, 3:55 AMDavid Van Couvering (DVC) - eBay
03/24/2022, 1:14 AMDavid Van Couvering (DVC) - eBay
03/29/2022, 2:16 AMBeth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
But how do you know what provider version to use when running the verification. We clearly don't want to run verification for all provider versions. So which ones are we supposed to run verification for?if you use the new webhook, it chooses the versions for you.
David Van Couvering (DVC) - eBay
03/31/2022, 3:44 AMBeth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
Should we find out what version is active for each of those environments, check out that version, and run verification?yes, it does exactly that
Beth (pactflow.io/Pact Broker/pact-ruby)
David Van Couvering (DVC) - eBay
03/31/2022, 3:45 AMBeth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)
David Van Couvering (DVC) - eBay
03/31/2022, 3:45 AMBeth (pactflow.io/Pact Broker/pact-ruby)
David Van Couvering (DVC) - eBay
03/31/2022, 3:46 AMBeth (pactflow.io/Pact Broker/pact-ruby)
Beth (pactflow.io/Pact Broker/pact-ruby)