-
Notifications
You must be signed in to change notification settings - Fork 92
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
Diagram CI/CD infrastructure #64
Comments
Yes, if someone has the time to do it, that would be very helpful. |
Here is a starting point https://github.com/pact-foundation/pact_broker/wiki/Webhooks |
I have a specific question on CICD - I assume most people on both the consumer side and provider side use How do you get past the chicken and the egg problem of not having any pacts published or verified when creating a new provider? |
In my experience, these checks aren't set up yet when we first deploy a new consumer and provider pair. However, if you want to set up the checks before first deployment, you could always verify the pacts and manually tag the intended deployment version as "production". I don't think it's a large concern, because if your service isn't deployed at all, no one is using it. If the consumer already exists in production, then you would push the version that can speak to the new provider before deploying the provider. You may find the diagrams here helpful: https://docs.pact.io/getting_started/versioning_in_the_pact_broker if you have further questions, I recommend joining us on slack at slack.pact.io |
@mellowplace there used to be a bug in the Pact Broker that wouldn't let you deploy the provider if there were missing pacts. I've fixed that recently. If you upgrade to the latest version, you shouldn't have this problem. If it's a totally new service, and doesn't even exist in the broker yet, but you're calling can-i-deploy because it's part of a standard deployment script, then add a |
How best to setup the CI/CD infrastructure is a common question. We could more easily answer these with a diagram or two in the documentation.
The text was updated successfully, but these errors were encountered: