Skip to content

CM-844: Set cpe label for 1.18 components#666

Merged
openshift-merge-bot[bot] merged 1 commit intoopenshift:release-1.18from
bharath-b-rh:release-1.18
Jan 21, 2026
Merged

CM-844: Set cpe label for 1.18 components#666
openshift-merge-bot[bot] merged 1 commit intoopenshift:release-1.18from
bharath-b-rh:release-1.18

Conversation

@bharath-b-rh
Copy link
Contributor

For KONFLUX-6210, clair needs access to a name and cpe label that it can use to look up the image in VEX statements.

This is enforced in release flow, and the release fails if required labels are not present.

  + name=cert-manager-istio-csr-1-18
  ++ jq -r '.metadata.labels // [] | .[] | select(.name == "cpe")
          | .value // empty'
  + cpe_label=cpe:/a:redhat:enterprise_linux:9::appstream
  + [[ -z cpe:/a:redhat:enterprise_linux:9::appstream ]]
  + [[ cpe:/a:redhat:enterprise_linux:9::appstream != \c\p\e\:\/\a\:\r\e\d\h\a\t\:\c\e\r\t\_\m\a\n\a\g\e\r\:\1\.\1\8\:\:\e\l\9 ]]
  + fail_or_warn 'Component '\''cert-manager-istio-csr-1-18'\'' '\''cpe'\'' label ('\''cpe:/a:redhat:enterprise_linux:9::appstream'\'') does not match' 'the single required CPE value from the data file ('\''cpe:/a:redhat:cert_manager:1.18::el9'\'').'
  + local 'msg=Component '\''cert-manager-istio-csr-1-18'\'' '\''cpe'\'' label ('\''cpe:/a:redhat:enterprise_linux:9::appstream'\'') does not match the single required CPE value from the data file ('\''cpe:/a:redhat:cert_manager:1.18::el9'\'').'
  + '[' true == true ']'
  + echo 'Error: Component '\''cert-manager-istio-csr-1-18'\'' '\''cpe'\'' label ('\''cpe:/a:redhat:enterprise_linux:9::appstream'\'') does not match the single required CPE value from the data file ('\''cpe:/a:redhat:cert_manager:1.18::el9'\'').'
  Error: Component 'cert-manager-istio-csr-1-18' 'cpe' label ('cpe:/a:redhat:enterprise_linux:9::appstream') does not match the single required CPE value from the data file ('cpe:/a:redhat:cert_manager:1.18::el9').

See also

@openshift-ci-robot
Copy link

openshift-ci-robot commented Jan 21, 2026

@bharath-b-rh: This pull request references CM-844 which is a valid jira issue.

Details

In response to this:

For KONFLUX-6210, clair needs access to a name and cpe label that it can use to look up the image in VEX statements.

This is enforced in release flow, and the release fails if required labels are not present.

 + name=cert-manager-istio-csr-1-18
 ++ jq -r '.metadata.labels // [] | .[] | select(.name == "cpe")
         | .value // empty'
 + cpe_label=cpe:/a:redhat:enterprise_linux:9::appstream
 + [[ -z cpe:/a:redhat:enterprise_linux:9::appstream ]]
 + [[ cpe:/a:redhat:enterprise_linux:9::appstream != \c\p\e\:\/\a\:\r\e\d\h\a\t\:\c\e\r\t\_\m\a\n\a\g\e\r\:\1\.\1\8\:\:\e\l\9 ]]
 + fail_or_warn 'Component '\''cert-manager-istio-csr-1-18'\'' '\''cpe'\'' label ('\''cpe:/a:redhat:enterprise_linux:9::appstream'\'') does not match' 'the single required CPE value from the data file ('\''cpe:/a:redhat:cert_manager:1.18::el9'\'').'
 + local 'msg=Component '\''cert-manager-istio-csr-1-18'\'' '\''cpe'\'' label ('\''cpe:/a:redhat:enterprise_linux:9::appstream'\'') does not match the single required CPE value from the data file ('\''cpe:/a:redhat:cert_manager:1.18::el9'\'').'
 + '[' true == true ']'
 + echo 'Error: Component '\''cert-manager-istio-csr-1-18'\'' '\''cpe'\'' label ('\''cpe:/a:redhat:enterprise_linux:9::appstream'\'') does not match the single required CPE value from the data file ('\''cpe:/a:redhat:cert_manager:1.18::el9'\'').'
 Error: Component 'cert-manager-istio-csr-1-18' 'cpe' label ('cpe:/a:redhat:enterprise_linux:9::appstream') does not match the single required CPE value from the data file ('cpe:/a:redhat:cert_manager:1.18::el9').

See also

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository.

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jan 21, 2026
@openshift-ci openshift-ci bot requested review from mytreya-rh and swghosh January 21, 2026 06:50
@openshift-ci
Copy link

openshift-ci bot commented Jan 21, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: bharath-b-rh

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 21, 2026
Signed-off-by: Bharath B <bhb@redhat.com>
@lunarwhite
Copy link
Member

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 21, 2026
@openshift-merge-bot openshift-merge-bot bot merged commit 00c4546 into openshift:release-1.18 Jan 21, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants