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

tests: fix error assertion and container layer sha256 #1725

Merged
merged 1 commit into from
Apr 11, 2023

Commits on Apr 11, 2023

  1. tests: fix error assertion and container layer sha256

    Rego error messages are now returned base64 encoded, so direct
    error message assertions don't work and we need to decode the
    policy decision string first. One of the tests was missing this.
    
    Additionally alpine container has been updated and the layer
    digest has changed, so the policy used to check backward compat
    is now broken. Update it to have a valid digest.
    
    Signed-off-by: Maksim An <maksiman@microsoft.com>
    anmaxvl committed Apr 11, 2023
    Configuration menu
    Copy the full SHA
    3faf405 View commit details
    Browse the repository at this point in the history