-
-
Notifications
You must be signed in to change notification settings - Fork 349
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No new version of Provider published #576
Comments
We need more logs from the merge build to see if/why/why not the verification results from that merge build were published. Do you have the output from the build that worked that showed the tags being created and the results being published? |
Ok, you know, I created a simple reproduction repo of the problems I'm facing. In fact, I have problems with verifying the Provider for the first time. I think the fact I didn't see the Provider version update could be my fault with how I have tags set up. The repo with reproduction and description of problems with deploying Provider for the first time: https://github.com/m-radzikowski/pact-js-issue576 Please tell me if I should create a separate ticket for it in a different repo (or move it if needed and possible). |
Create a separate ticket in the Pact Broker repository please. |
Created: pact-foundation/pact_broker#372 |
Issue Classification
Bug Report
Software versions
Behaviour
I'm implementing the CI/CD flow for the Pact Provider and Consumer and I have 2 problems, maybe somehow related.
The CI/CD is common for both services, but some steps do not run if not needed. The flow is:
This is slightly different from the flow in docs, but needed to make compromises.
Now, I try to deploy both Provider and Consumer for the first time. I'm using pactflow as a broker, which is initially empty.
When I run CI for the Provider, it breaks on can-i-deploy, because no contracts are available yet.
I was looking into pact broker repo and found this issue and this commit that seem to solve this problem, but yet I'm still facing it.
So what I did was:
Then I merged Provider to master which triggered a new build. I expected it to do the verification and pass. But for some reason, although in VerifierOptions I have
publishVerificationResult: true
, it seems like the new version was not published to pactflow. In UI I don't see the new version (there is only the one with pre-merge commit, the one with merge commit is missing), and the CI/CD failed on adding a tag:So, I guess my problem is partially about pact broker, partially about pact-js and publishing verifier results, and maybe partially about the CI/CD flow. Can you point me to what can be the problem(s) here?
The text was updated successfully, but these errors were encountered: