From 622f12494ad68ab3b43df34d833a9425d3c049d9 Mon Sep 17 00:00:00 2001 From: Luiz Carvalho Date: Thu, 19 Sep 2024 14:43:57 -0400 Subject: [PATCH] Ensure rpms-signature-scan emits expected result Because some EC policy rules rely on the existence of the RPMS_DATA result, this commit adds a check to ensure future modifications of the `rpms-signature-scan` Task continues to define the result. Ref: https://issues.redhat.com/browse/EC-846 Signed-off-by: Luiz Carvalho --- policies/all-tasks.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/policies/all-tasks.yaml b/policies/all-tasks.yaml index 6f489f9a1..3aad73f5b 100644 --- a/policies/all-tasks.yaml +++ b/policies/all-tasks.yaml @@ -13,12 +13,14 @@ sources: - ssh-directory - netrc required_task_results: - # Certain EC rules rely on the presence of this result when validating an image. + # Certain EC rules rely on the presence of these results when validating an image. - task: clair-scan result: CLAIR_SCAN_RESULT version: "0.1" - task: clair-scan result: SCAN_OUTPUT + - task: rpms-signature-scan + result: RPMS_DATA config: include: - kind