Wenkai Yin(尹文开)
|
c4836727be
|
Merge pull request #8377 from steven-zou/feature/tag_retention-logs
print rich logs in the retention job
|
2019-07-24 09:54:19 +08:00 |
|
Steven Zou
|
09c56bfa08
|
print rich logs in the retention job
Signed-off-by: Steven Zou <szou@vmware.com>
|
2019-07-24 09:02:51 +08:00 |
|
Wenkai Yin
|
03cc8046eb
|
Implement the task management in retention manager
Implement the task management in retention manager
Signed-off-by: Wenkai Yin <yinw@vmware.com>
|
2019-07-23 19:23:04 +08:00 |
|
Wenkai Yin
|
7362fae7cc
|
Implement a common scheduler
Implement a common scheduler that can be used globally
Signed-off-by: Wenkai Yin <yinw@vmware.com>
|
2019-07-23 17:20:31 +08:00 |
|
Steven Zou
|
ccad9c0a29
|
support stop in the retention job and register it
Signed-off-by: Steven Zou <szou@vmware.com>
|
2019-07-23 11:05:22 +08:00 |
|
Steven Zou
|
6401314a3d
|
Merge pull request #8356 from steven-zou/feature/tag_retention-ut
add missing UT cases for index and builder components
|
2019-07-22 12:47:38 +08:00 |
|
Nathan Lowe
|
a15be60946
|
Retention: Implement Rule: Always Keep
Signed-off-by: Nathan Lowe <public@nlowe.me>
|
2019-07-21 22:16:47 -04:00 |
|
Steven Zou
|
01d3243156
|
add missing UT cases for index and builder components
Signed-off-by: Steven Zou <szou@vmware.com>
|
2019-07-22 10:05:50 +08:00 |
|
Steven Zou
|
deb021eb48
|
rebase and fix name conflicts among packages and vars
Signed-off-by: Steven Zou <szou@vmware.com>
|
2019-07-19 22:37:54 +08:00 |
|
Steven Zou
|
c76c5d7a1f
|
refactor packages to resolve the cycle importing issue
Signed-off-by: Steven Zou <szou@vmware.com>
|
2019-07-19 18:55:08 +08:00 |
|
Wenkai Yin
|
ddbde72d2e
|
Move the pkg manager/controller declaration to the api package
Move the pkg manager/controller declaration to the api package to avoid the dependency cycle
Signed-off-by: Wenkai Yin <yinw@vmware.com>
|
2019-07-19 17:21:58 +08:00 |
|
Steven Zou
|
f0ea62caa9
|
Merge branch 'feature/tag_retention' into feature/tag_retention-performer
|
2019-07-19 16:00:13 +08:00 |
|
Steven Zou
|
c2b5d95e02
|
implement retain action performer
Signed-off-by: Steven Zou <szou@vmware.com>
|
2019-07-19 15:59:21 +08:00 |
|
Wenkai Yin
|
5f1d2bd644
|
Fix package import cycle issue
Fix package import cycle issue
Signed-off-by: Wenkai Yin <yinw@vmware.com>
|
2019-07-19 13:50:55 +08:00 |
|
Steven Zou
|
24190291b6
|
update doublestar pattern and the failed launcher UT cases
Signed-off-by: Steven Zou <szou@vmware.com>
|
2019-07-18 14:50:02 +08:00 |
|
Steven Zou
|
0994e5efc9
|
Merge pull request #8321 from nlowe/feat/retention/GH-6657-last-active-n
Retention: Implement Evaluator: Retain Latest K 'Active'
|
2019-07-18 12:03:41 +08:00 |
|
Steven Zou
|
c8d2a2384a
|
Merge pull request #8289 from nlowe/feat/retention/GH-6659-keep-most-recently-pulled
Retention: Implement Evaluator: Keep N Most Recently Pulled
|
2019-07-18 11:27:00 +08:00 |
|
Steven Zou
|
2d62b2eb33
|
Merge pull request #8317 from steven-zou/feature/retention-selectors
implement label and regexp selectors
|
2019-07-18 11:25:08 +08:00 |
|
Nathan Lowe
|
040b235472
|
Retention: Implement Evaluator: Retain Latest K 'Active'
Signed-off-by: Nathan Lowe <public@nlowe.me>
|
2019-07-17 23:14:29 -04:00 |
|
Steven Zou
|
be8a9c0446
|
implement label and regexp selectors
Signed-off-by: Steven Zou <szou@vmware.com>
|
2019-07-18 10:32:47 +08:00 |
|
Nathan Lowe
|
b61f45e038
|
Retention: Implement Evaluator: Keep N Most Recently Pulled
Signed-off-by: Nathan Lowe <public@nlowe.me>
|
2019-07-17 14:29:37 -04:00 |
|
Wenkai Yin
|
d6c6231e08
|
Implement the retention client
Implement the retention client
Signed-off-by: Wenkai Yin <yinw@vmware.com>
|
2019-07-17 14:04:29 +08:00 |
|
Steven Zou
|
0b2f94b0dd
|
Merge pull request #8256 from goharbor/feat/retention/GH-6661-retain-newer-than-n-days
Retention: Implement Evaluator: Retain if created less than x days ago
|
2019-07-17 00:04:40 +08:00 |
|
Steven Zou
|
3243d5bce1
|
Merge pull request #8255 from goharbor/feat/retention/GH-6660-keep-most-recent-n
Retention: Implement Filter: Keep Latest K
|
2019-07-17 00:04:02 +08:00 |
|
Ziming Zhang
|
815901ea33
|
fix
Signed-off-by: Ziming Zhang <zziming@vmware.com>
Change-Id: I3f2d3c7f1e32b4983c31c23d9753f04239e3c82f
Signed-off-by: Ziming Zhang <zziming@vmware.com>
|
2019-07-16 19:24:40 +08:00 |
|
Ziming Zhang
|
c22c38994a
|
retention api
Change-Id: I70f2c34d6bb96ecf4cb5359e2b1ab2dbb99fdbf9
Signed-off-by: Ziming Zhang <zziming@vmware.com>
|
2019-07-16 15:06:37 +08:00 |
|
Nathan Lowe
|
d7e6b1b621
|
Sort artifacts before processing and port tests to github.com/stretchr/testify/suite
Signed-off-by: Nathan Lowe <public@nlowe.me>
|
2019-07-14 22:45:36 -04:00 |
|
Nathan Lowe
|
f03ed9b14c
|
Port tests to github.com/stretchr/testify/suite
Signed-off-by: Nathan Lowe <public@nlowe.me>
|
2019-07-14 22:38:26 -04:00 |
|
Wenkai Yin(尹文开)
|
44ad142d86
|
Merge pull request #8260 from ywk253100/190709_launcher
Implement the launcher
|
2019-07-11 18:21:04 +08:00 |
|
Wenkai Yin
|
91b050a01b
|
Implement the launcher
The commit implements the launcher for tag retention
Signed-off-by: Wenkai Yin <yinw@vmware.com>
|
2019-07-11 17:18:46 +08:00 |
|
Steven Zou
|
69ff8ff8ba
|
Merge pull request #8277 from steven-zou/feature/tag_retentio_more_evaluators
add more rule evaluators
|
2019-07-11 14:09:29 +08:00 |
|
Steven Zou
|
07250469ac
|
add more rule evaluators
Signed-off-by: Steven Zou <szou@vmware.com>
|
2019-07-11 10:50:10 +08:00 |
|
Steven Zou
|
52ca6de22a
|
refactor the processor interface
Signed-off-by: Steven Zou <szou@vmware.com>
|
2019-07-11 00:23:19 +08:00 |
|
Steven Zou
|
9756195496
|
implement retention job
Signed-off-by: Steven Zou <szou@vmware.com>
|
2019-07-10 14:01:17 +08:00 |
|
Nathan Lowe
|
8b174825c1
|
Retention: Implement Evaluator: Retain if created less than x days ago
Signed-off-by: Nathan Lowe <public@nlowe.me>
|
2019-07-09 23:46:26 -04:00 |
|
Nathan Lowe
|
4ecbe749e4
|
Retention: Implement Filter: Keep Latest K
Signed-off-by: Nathan Lowe <public@nlowe.me>
|
2019-07-09 23:24:56 -04:00 |
|
Steven Zou
|
185f4f3861
|
refine or.processor implementation and also add UT case
Signed-off-by: Steven Zou <szou@vmware.com>
|
2019-07-09 22:10:09 +08:00 |
|
Steven Zou
|
3409065438
|
implement policy builder
Signed-off-by: Steven Zou <szou@vmware.com>
|
2019-07-09 17:43:19 +08:00 |
|
Steven Zou
|
c36afcd07d
|
add index for rule,selector and performer
Signed-off-by: Steven Zou <szou@vmware.com>
|
2019-07-09 15:10:53 +08:00 |
|
Steven Zou
|
24ee32d7d1
|
define the base interfaces for the tag retention feature
Signed-off-by: Steven Zou <szou@vmware.com>
|
2019-07-09 09:40:59 +08:00 |
|