Closed aguidirh closed 3 days ago
@aguidirh: This pull request references CLID-99 which is a valid jira issue.
Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "4.17.0" version, but no target version was set.
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: aguidirh
The full list of commands accepted by this bot can be found here.
The pull request process is described here
Verified locally using the steps as described in the initial comments section.
Before delete (garbage-collect)
du -h
17G var/lib/registry/docker/registry/
After delete
du -h
1.7M var/lib/registry/docker/registry/
Great improvement @aguidirh ! LGTM from my side
@aguidirh: all tests passed!
Full PR test history. Your PR dashboard.
/lgtm
Description
This PR consolidates the release collector to only one to be used in both mirroring and deleting process. In this way it is possible to collect the same images in both process since the collector is the same.
NOTE: The deletion of operators when the previous workflow was mirrorToMirror might be impacted by this change and it is going to be handled in a different PR.
Fixes # (issue)
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
mirror to disk and disk to mirror scenario
1 step: mirror to disk
2 step: disk to mirror
3 step: check the blobs/repositories on the localhost:6000
output:
4 step: delete generate
5 step: delete
6 step: run the garbage collector on localhost:6000
output:
7 step: check the blobs/repositories on the localhost:6000
output:
=================================================================================================== mirror to mirror scenario
1 step: mirror to mirror
2 step: check the blobs/repositories on the localhost:7000
output:
3 step: delete generate
4 step: delete
5 step: run the garbage collector on localhost:7000
output:
6 step: check the blobs/repositories on the localhost:6000
output: