Skip to content
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

Give more control over wip contract selection #696

Open
canny bot opened this issue Jun 26, 2024 · 1 comment
Open

Give more control over wip contract selection #696

canny bot opened this issue Jun 26, 2024 · 1 comment

Comments

@canny
Copy link

canny bot commented Jun 26, 2024

When we ask broker for contracts to be verified we can use consumerVersionSelectors to narrow down the consumers version.
It would be useful to have similar capabilities for WIP contracts selection. Currently it accepts only a date through includeWipPactsSince option.

Our current configuration using pact-ruby is the following:

honours_pacts_from_pact_broker do
  pact_broker_base_url  ...

  consumer_version_selectors [
    {consumer: 'My Consumer', tag: 'production', latest: true}
  ]

  include_wip_pacts_since '2020-12-01'
  enable_pending true
end

Currently, there is no way to exclude WIP pacts for consumer other than 'My Consumer'.

https://pact.canny.io/admin/board/feature-requests/p/give-more-control-over-wip-contract-selection

Copy link
Author

canny bot commented Jun 26, 2024

This issue has been linked to a Canny post: Give more control over wip contract selection 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants