Skip to content

Support policy decisions from multiple attestations #1315

@arewm

Description

@arewm

From Tekton/Konflux, I would like to be able to minimize the time that it takes for a build PipelineRun to be completed. This means that I would like to move some of the tests and required tasks to a separate pipeline. If I report the IMAGE_URL and IMAGE_DIGEST as results for the second Pipeline, Chains will create an attestation on the same artifact.

When verifying this artifact with Conforma, however, the policies are applied to each provenance in the JSON stream instead of on the union of the provenance artifacts. This results in situations where the checks on required tasks are reporting as a warning and an error.

Ideally, Conforma policy evaluations would be able to de-duplicate results as well in case some of the PipelineRuns are rerun producing duplicate attestations. This could potentially be deferred to a later issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions