Guo Zhang Liew
08/16/2023, 4:36 AMpact-broker can-i-deploy --pacticipant $PACTICIPANT --version $BUILDKITE_COMMIT --to-environment $ENVIRONMENT --retry-while-unknown 30 --retry-interval 10\n'
Waiting for 1 verification result to be published (maximum of 300 seconds)
Computer says no ¯\_(ツ)_/¯
CONSUMER | C.VERSION | PROVIDER | P.VERSION | SUCCESS? | RESULT#
-----------------------------|------------|------------------------------|-----------|----------|--------
KafkaGenerateKeyPairConsumer | 1bf22d9... | KafkaGenerateKeyPairProvider | ??? | ??? |
There is no verified pact between version 1bf22d9a2ff717271268a9934a0099b45e4393a9 of KafkaGenerateKeyPairConsumer and a version of KafkaGenerateKeyPairProvider currently in production (no version is currently recorded as deployed/released in this environment)
🚨 Error: The command exited with status 1
Guo Zhang Liew
08/16/2023, 4:47 AMcan-i-deploy
command to work?Yousaf Nabi (pactflow.io)
Guo Zhang Liew
08/18/2023, 4:46 AMKafkaGenerateKeyPairConsumer
and KafkaGenerateKeyPairProvider
under a participant ?
my microservice name is authn
and I have KafkaGenerateKeyPairConsumer
and KafkaGenerateKeyPairProvider
as some of my tests.
Im probably going in the wrong direction. so any advise would be appreciated 🙏Matt (pactflow.io / pact-js / pact-go)
Guo Zhang Liew
08/18/2023, 4:53 AMKafkaGenerateKeyPairConsumer
and KafkaGenerateKeyPairProvider
are my unit tests names but I will have more unit tests in my microservice app do I need to deploy each of them independently like in this repo example?
https://github.com/pactflow/example-consumer/blob/master/.github/workflows/build.ymlGuo Zhang Liew
08/18/2023, 4:54 AMMatt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
I guess my question is actually whether I can organised my consumers and providers under a single group?yes, you should be able to do that
Guo Zhang Liew
08/18/2023, 4:55 AMMatt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Guo Zhang Liew
08/18/2023, 4:57 AMMatt (pactflow.io / pact-js / pact-go)
consumer
and provider
names matchGuo Zhang Liew
08/18/2023, 5:02 AMKafkaGenerateKeyPairProvider
do I have to write script to loop through all participants?
do I need to prefix KafkaGenerateKeyPairProvider
with my microservice name?Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Guo Zhang Liew
08/18/2023, 5:11 AMMatt (pactflow.io / pact-js / pact-go)
so I should actually run a record-deployment base on my microservice nameyes, it would usually be named after the thing that you deploy. There are exceptions (e.g. a monolith with logically different parts), but ignore them until you really know what you’re doing