Closed sherine-k closed 1 month ago
@sherine-k: This pull request references Jira Issue OCPBUGS-33580, which is valid. The bug has been moved to the POST state.
Requesting review from QA contact: /cc @zhouying7780
The bug has been updated to refer to the pull request using the external bug tracker.
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: sherine-k
The full list of commands accepted by this bot can be found here.
The pull request process is described here
/lgtm
/hold
/label qe-approved
@sherine-k: This pull request references Jira Issue OCPBUGS-33580, which is invalid:
Comment /jira refresh
to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.
/jira refresh
@lmzuccarelli: This pull request references Jira Issue OCPBUGS-33580, which is valid.
Requesting review from QA contact: /cc @zhouying7780
/unhold
/retest
@sherine-k: Jira Issue OCPBUGS-33580: All pull requests linked via external trackers have merged:
Jira Issue OCPBUGS-33580 has been moved to the MODIFIED state.
@sherine-k: all tests passed!
Full PR test history. Your PR dashboard.
[ART PR BUILD NOTIFIER]
This PR has been included in build oc-mirror-plugin-container-v4.17.0-202405301013.p0.ge640610.assembly.stream.el9 for distgit oc-mirror-plugin. All builds following this will include this PR.
Description
When selecting the release nodes that correspond to the filtering, we were using a slice. duplicates nodes lead to mirroring the release content more than once. The fix consists of using a map in order to reduce the quantity of images. PS: this is a practice that we should consider more overall for all collectors in the future, as some images (kube-rbac-proxy for one) is used in multiple components and operators. WDYT?
Fixes #OCPBUGS-33580
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
mirroring the following imagesetconfig with or without shortestPath: true should lead to the same number of mirrored images.
Expected Outcome
Success