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

Make RemoteRule more consistent #184

Merged
merged 1 commit into from
Sep 26, 2023

Commits on Sep 5, 2023

  1. Make RemoteRule more consistent

    Previously, a Greenwave policy with just a RemoteRule would cause
    "Cannot find any applicable policies" 404 error if the remote policy
    file does not contain a policy with the requested decision context. But
    that was not the case if the Greenwave policy would contain at least one
    PassingTestCaseRule.
    
    New behavior is to pass the decision with "no tests are required"
    instead of the 404 error.
    
    **Decision responses** will always include policies (in
    `applicable_policies`) that contain RemoteRule without checking if the
    remote gating file contains any matching policy.
    
    **Decision change messages** will still only be published if there are
    any required tests.
    
    Fixes https://pagure.io/greenwave/issue/668
    JIRA: RHELWF-9620
    hluk committed Sep 5, 2023
    Configuration menu
    Copy the full SHA
    f6adf1b View commit details
    Browse the repository at this point in the history