-
Notifications
You must be signed in to change notification settings - Fork 42
Description
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.