How to handle different dependencies per environments #732
timredband
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
My team has fully implemented can-i-deploy in our deployments. One issue that is coming up is that there are sometimes different dependencies in environments. So a consumer may define a contract with a provider, but that provider is only available in select environments and is feature flagged to only call it in those environments.
When we deploy the consumer to an environment where that provider is not deployed can-i-deploy fails because that provider is not deployed even though that's the desired state. Is this possible in the current implementation of pact? If so, how should I go about this scenario. If not, is this something that could be implemented? This seems like a common scenario that teams would face.
Thanks,
Tim
Beta Was this translation helpful? Give feedback.
All reactions