Tien Vo
07/17/2023, 9:05 AMadmin . When I run Github actions's can-i-deploy tool I got:
Computer says no ¯\_(ツ)_/¯
CONSUMER | C.VERSION | PROVIDER | P.VERSION | SUCCESS? | RESULT#
---------|------------|--------------|-----------|----------|--------
admin | 955fd80... | fund | ??? | ??? |
admin | 955fd80... | relationship | ??? | ??? |
admin | 955fd80... | user | ??? | ??? |
There is no verified pact between version 955fd80d59646bbb7adaff4b2c19ed3e90aa1b36 of admin and a version of fund currently in staging (no version is currently recorded as deployed/released in this environment)
There is no verified pact between version 955fd80d59646bbb7adaff4b2c19ed3e90aa1b36 of admin and a version of relationship currently in staging (no version is currently recorded as deployed/released in this environment)
There is no verified pact between version 955fd80d59646bbb7adaff4b2c19ed3e90aa1b36 of admin and a version of user currently in staging (no version is currently recorded as deployed/released in this environment)
and I have no question about it.
Then I tried fund . Here is the result:
Computer says no ¯\_(ツ)_/¯
No pacts or verifications have been published for version 78d67b96544fd831c62715c78c11f20597afef77 of fund
I think I got the chicken & egg problem exactly like https://github.com/pact-foundation/pact_broker-client/issues/25#issue-287038484
I saw that Beth mentioned it was fixed in https://github.com/pact-foundation/pact_broker-client/issues/25#issuecomment-519790354, but I still got this issue.
• Pact Broker version: PactFlow 6bd3f8b41
• Pact Specification version: 4.0
• FFI library: 0.4.x
So my question is: is the fix is just for tag (deprecated) and not for the combination of branch + environment ?Tien Vo
07/17/2023, 9:11 AMMatt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
Tien Vo
07/17/2023, 3:52 PMcreate-or-update-version command) work great for me.
I saw the official Github's pactflow actions didn't have that command, so I created it here
https://github.com/tienvx/create-or-update-versionMatt (pactflow.io / pact-js / pact-go)
Matt (pactflow.io / pact-js / pact-go)
404 . The version you are trying to release doesn’t exist, so it can’t tell you what to do with it. By creating a version, the broker knows what you’re asking - that application (and version) has no dependencies, and so it’s safe to releaseMatt (pactflow.io / pact-js / pact-go)
Yousaf Nabi (pactflow.io)