1
0
mirror of https://github.com/goharbor/harbor.git synced 2025-03-23 11:59:30 +01:00
harbor/api
Wang Yan 948d45604c Revise the GC job flow,
1, set harbor to readonly
2, select the candidate artifacts from Harbor DB.
3, call registry API(--delete-untagged=false) to delete manifest bases on the results of 
4, clean keys of redis DB of registry, clean artifact trash and untagged from DB.
5, roll back readonly.

Signed-off-by: wang yan <wangyan@vmware.com>
2020-02-24 18:29:55 +08:00
..
v2.0 Revise the GC job flow, 2020-02-24 18:29:55 +08:00