ci(check-payload): pass release tag names to payload-scan smoke tests - #83043
ci(check-payload): pass release tag names to payload-scan smoke tests#83043smith-xyz wants to merge 1 commit into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
WalkthroughThe payload scan jobs now preserve image tags with image pull specifications. Each job logs both values and passes the tag to ChangesPayload scan tag propagation
Estimated code review effort: 2 (Simple) | ~10 minutes 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: smith-xyz The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
complimentary to openshift/check-payload#356 |
|
[REHEARSALNOTIFIER]
Prior to this PR being merged, you will need to either run and acknowledge or opt to skip these rehearsals. Interacting with pj-rehearseComment: Once you are satisfied with the results of the rehearsals, comment: |
|
/pj-rehearse auto-ack |
|
@smith-xyz: now processing your pj-rehearse request. Please allow up to 10 minutes for jobs to trigger or cancel. |
|
@smith-xyz: all tests passed! Full PR test history. Your PR dashboard. DetailsInstructions 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 kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Summary
payload-scan-*smoke tests scan each release image viacheck-payload scan localbut discarded the release tag names, sotag-scoped config exceptions (e.g.
[[tag.agentic-skills.ignore]]) couldnever apply. This broke
payload-scan-5-0on theagentic-skillsFROM-scratch data-only image, whose exception exists in the embedded 5.0
config but was unreachable.
tag=pullspecpairs (with a// ""fallback if a tagname is ever missing, preserving scan coverage), and the loop passes
--tag "$tag"tocheck-payload scan local. Scan log lines now show thetag name alongside the pullspec.
Depends on openshift/check-payload# which adds the
--tagflag; mergethat first — older binaries reject the unknown flag.
Summary by CodeRabbit
The OpenShift CI
payload-scan-*smoke tests now preserve release image tags during local payload scans. Each scan passes the tag through--tag "$tag"and logs it with the pullspec. This enables tag-scoped configuration exceptions, including[[tag.agentic-skills.ignore]], while using an empty tag when no tag exists.