Commit Graph

8123 Commits

Author SHA1 Message Date
Ziming Zhang
e757899b49 add special error/log for not delete immutable tag in tag retention job
Change-Id: I3440f3b888bf8c65afc75d04253eea41f20eef0e
Signed-off-by: Ziming Zhang <zziming@vmware.com>
2019-10-24 15:25:48 +08:00
Steven Zou
956d9db1d5
Merge pull request #9528 from steven-zou/fix/pluggable_scanner_improvments
improve the scan controlling
2019-10-24 15:17:06 +08:00
Wang Yan
4baa35bc17
Merge pull request #9520 from ywk253100/191022_health_check
Remove the health checker for Clair in health check API
2019-10-24 14:50:01 +08:00
Yogi_Wang
52603de9a6 Add front ut in app
Signed-off-by: Yogi_Wang <yawang@vmware.com>
2019-10-24 13:22:36 +08:00
Ziming Zhang
1801bac03d refact replication adapter
Change-Id: Ic28854089b8dcfcbc7e42065df5c19c64d5b85e7
Signed-off-by: Ziming Zhang <zziming@vmware.com>
2019-10-24 12:24:55 +08:00
Ziming Zhang
7de8ce7472 add gpg sign
Signed-off-by: Ziming Zhang <zziming@vmware.com>
Change-Id: I32d13be2f5b5f383113582a4b1ad5f74bdc7546b
2019-10-24 11:38:38 +08:00
Steven Zou
3fbf47b330
Merge pull request #9534 from zhill/add_anchore_adopter
Adds Anchore logo in ADOPTERS.md
2019-10-23 20:49:39 +08:00
Steven Zou
7fad103e46 - fix API test cases failures
Signed-off-by: Steven Zou <szou@vmware.com>

- fix scan report dao bug
2019-10-23 20:44:01 +08:00
wang yan
a6ad1b2db8 update code per review comments
Signed-off-by: wang yan <wangyan@vmware.com>
2019-10-23 20:05:51 +08:00
wang yan
2fa85aefca fix per comments
Signed-off-by: wang yan <wangyan@vmware.com>
2019-10-23 18:45:30 +08:00
wang yan
5996189bb0 update per comments and fix govet error
Signed-off-by: wang yan <wangyan@vmware.com>
2019-10-23 18:45:30 +08:00
wang yan
22b4ea0f89 Enable robot account bypass policy check
1, the commit is for internal robot to bypass policy check, like vul and signature checking.
2, add a bool attribute into registry token, decode it in the harbor core and add the status into request context.
3, add a bool attribut for robot API controller, but API will not use it.y

Signed-off-by: wang yan <wangyan@vmware.com>
2019-10-23 18:45:30 +08:00
Stuart Clements
b77fd20865
Merge branch 'master' into https-install 2019-10-23 12:08:19 +02:00
Ziming Zhang
5419e1a844 refact replication info to support special endpoints and credential
Change-Id: I2f7a51d3aaf57bb6d1942526184f4e62ce3afeab
Signed-off-by: Ziming Zhang <zziming@vmware.com>
2019-10-23 17:19:56 +08:00
Wenkai Yin(尹文开)
c3c8b03af5
Merge pull request #9532 from heww/issue-9151
fix(gc,quota): clean blob size cache in redis when gc
2019-10-23 17:03:22 +08:00
Will Sun
ee2de96c91
Merge pull request #9518 from AllForNothing/scanner-im-v2
Improve scanner UI
2019-10-23 17:01:26 +08:00
Daniel Jiang
a612cefc94
Merge pull request #9549 from heww/update-configure-https
docs(https): update configure_https.md
2019-10-23 16:59:42 +08:00
He Weiwei
bafbb05311 docs(https): update configure_https.md
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2019-10-23 08:56:28 +00:00
Wenkai Yin(尹文开)
bd28ba43c0
Merge pull request #9478 from ywk253100/191018_test
Populate public metadata into the event
2019-10-23 15:21:53 +08:00
Will Sun
2bee9d7047
Merge branch 'master' into scanner-im-v2 2019-10-23 14:12:42 +08:00
Steven Zou
ae3ff228e1 Merge branch 'master' into fix/pluggable_scanner_improvments 2019-10-23 13:31:39 +08:00
Steven Zou
4e0fe7eddc Merge branch 'fix/pluggable_scanner_improvments' of github.com:steven-zou/harbor into fix/pluggable_scanner_improvments 2019-10-23 13:28:06 +08:00
Steven Zou
38395e015c fix api test case failure
Signed-off-by: Steven Zou <szou@vmware.com>
2019-10-23 13:27:03 +08:00
Michael Michael
a8fd071fa7 Update ROADMAP.md 2019-10-23 13:26:19 +08:00
Michael Michael
4e22a97448 Update ROADMAP.md 2019-10-23 13:26:19 +08:00
Michael Michael
914484d7e6 Update installation_guide.md 2019-10-23 13:26:19 +08:00
Michael Michael
cf22db33ec Update README.md 2019-10-23 13:26:19 +08:00
wang yan
182e557bf2 update query in the immutable delete manifest middleware
Signed-off-by: wang yan <wangyan@vmware.com>
2019-10-23 13:26:19 +08:00
Wenkai Yin
9d896d4d72 Remove the health checker for Clair in health check API
As we introduce the pluggable scanner, users can add the external scanners, so we remove the Clair from the health check API

Signed-off-by: Wenkai Yin <yinw@vmware.com>
2019-10-23 12:55:03 +08:00
jwangyangls
cf87408e90
Merge pull request #9522 from jwangyangls/modify-repo-replicaiton
Modify the permission when add Limited Guest
2019-10-23 11:42:27 +08:00
jwangyangls
72776ed68c
Merge pull request #9515 from jwangyangls/fix-nightly-words
Modify the words of setting cli secret
2019-10-23 11:41:49 +08:00
Steven Zou
9db995988e Merge branch 'master' into fix/pluggable_scanner_improvments 2019-10-23 11:01:57 +08:00
Yogi_Wang
f38fff8eff Modify the permission when add Limited Guest
Signed-off-by: Yogi_Wang <yawang@vmware.com>
2019-10-23 10:31:31 +08:00
Steven Zou
962bafb7ce fix go imports order issues
Signed-off-by: Steven Zou <szou@vmware.com>
2019-10-23 09:34:47 +08:00
Michael Michael
67ce710757
Merge pull request #9505 from goharbor/michmike-patch-5
Update ROADMAP.md
2019-10-22 11:26:04 -07:00
Michael Michael
5fe28c5907
Merge pull request #9513 from goharbor/michmike-patch-6
Update installation_guide.md
2019-10-22 11:17:12 -07:00
Michael Michael
d111cae9d2
Update ROADMAP.md 2019-10-22 11:16:09 -07:00
Michael Michael
711d18d1bd
Merge pull request #9514 from goharbor/michmike-patch-7
Update README.md
2019-10-22 10:32:09 -07:00
Stuart Clements
43533a4a71 Tweaking the HTTP/HTTPS story 2019-10-22 17:20:22 +02:00
Stuart Clements
669a519e8e Final typos 2019-10-22 16:27:22 +02:00
He Weiwei
cc86664730 fix(gc,quota): clean blob size cache in redis when gc
Closes #9151

Signed-off-by: He Weiwei <hweiwei@vmware.com>
2019-10-22 14:20:04 +00:00
Stuart Clements
1ed9c9ba03 Capitalization 2019-10-22 16:19:43 +02:00
Stuart Clements
639572c2bf More general rewrites 2019-10-22 16:17:39 +02:00
Wang Yan
70bca1251d
Merge pull request #9529 from wy65701436/fix-repo-delete
update query in the immutable delete manifest middleware
2019-10-22 22:10:42 +08:00
wang yan
3e826c4e80 update query in the immutable delete manifest middleware
Signed-off-by: wang yan <wangyan@vmware.com>
2019-10-22 19:37:20 +08:00
Steven Zou
370a364c29 fix code conflict and rebase with master
Signed-off-by: Steven Zou <szou@vmware.com>
2019-10-22 18:39:37 +08:00
Steven Zou
dff1ee07fc improve the scan controlling
- add LCM control to the robot account generated for scanning
- improve the scan webhook
- remove reprots when related artifact is deleted
- update report manager/scan controller and other components to support above cases
- add artifact manager/comtroller to list artifacts

Signed-off-by: Steven Zou <szou@vmware.com>
2019-10-22 18:24:46 +08:00
Stuart Clements
139c2d7aa4 Reordered params and added some missing ones 2019-10-22 12:03:02 +02:00
stonezdj(Daojun Zhang)
4dcd323b4a
Merge pull request #9475 from wy65701436/immu-delete-repo
add immutable match in the repository/tag delete api
2019-10-22 17:28:15 +08:00
Yogi_Wang
7300c9b3c3 Modiy the way of replication show label filter
Signed-off-by: Yogi_Wang <yawang@vmware.com>
2019-10-22 16:37:08 +08:00