Will Sun
e0617be15d
Merge pull request #13419 from AllForNothing/improve-ui
...
Improve UI according to the designer's commonts
2020-11-03 16:11:33 +08:00
Qian Deng
a9805fddd7
Merge pull request #13289 from ninjadq/metrics_for_harbor
...
Add metrics to Harbor Core
2020-11-03 15:49:16 +08:00
Wang Yan
5a22019e3d
add robot name prefix
...
The system admin can set the prefix in configuration UI.
Signed-off-by: wang yan <wangyan@vmware.com>
2020-11-02 23:12:57 -08:00
AllForNothing
6452d38925
Add deprecated mark to Helm Hub
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2020-11-03 15:04:15 +08:00
DQ
ae80aa796e
Upgrade Prometheus Client Version
...
upgrade to v1.8.0
Signed-off-by: DQ <dengq@vmware.com>
2020-11-03 14:33:11 +08:00
DQ
eb470501be
Add metrics to Harbor Core
...
1. Add configs in prepare
2. Add models and config items in Core
3. Encapdulate getting metric in commom package
4. Add a middleware for global request to collect 3 metrics
Signed-off-by: DQ <dengq@vmware.com>
2020-11-03 14:33:10 +08:00
Ziming Zhang
8c2c758677
fix(replication) gitlab replication task num not correct
...
Signed-off-by: Ziming Zhang <zziming@vmware.com>
2020-11-03 10:55:46 +08:00
Wenkai Yin(尹文开)
99d818f4db
Merge pull request #13406 from mmpei/offical-replicate-chart-fix-20201031
...
fix chart replication issue of uppercase letters
2020-11-03 10:55:40 +08:00
He Weiwei
0c5aedb3d9
feat: skip middlewares require db for ping
...
The ping endpoint will be blocked when DB conns reach the max open conns
of the sql.DB which will make ping request timeout,
so skip the middlewares which will require DB conn.
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2020-11-03 01:58:59 +00:00
AllForNothing
58450c335f
Improve UI according to the designer's commonts
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2020-11-02 17:17:35 +08:00
Wenkai Yin(尹文开)
dd3ffd4147
Merge pull request #13361 from bitsf/aws_adapter_namespace_check
...
feature(replication) check namespace existing first for AWS adapter
2020-11-02 16:56:50 +08:00
Will Sun
9a38dca1a6
Merge pull request #13401 from AllForNothing/label-selection
...
Improve label selection for artifact list page
2020-11-02 13:44:28 +08:00
He Weiwei
c0cc900d25
Merge pull request #13409 from heww/github-actions-update
...
ci: update env and path commands in github actions
2020-11-02 13:36:58 +08:00
He Weiwei
7e11c6227f
ci: update env and path commands in github actions
...
The `add-path` and `set-env` commands are deprecated and will be
disabled soon so update the CI.yml to use the new methods for these
commands.
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2020-11-02 01:17:34 +00:00
peimingming
6394cc767e
fix chart replication issue of uppercase letters
...
Signed-off-by: peimingming <peimingming@corp.netease.com>
2020-11-01 00:29:46 +08:00
疯魔慕薇
2bab4a10db
Merge pull request #13393 from chlins/fix/p2p-preheat-instance-and-policy-post-no-location
...
fix(preheat): add location when create instance and policy
2020-10-31 23:48:41 +08:00
疯魔慕薇
828c8b8d0d
Merge pull request #13380 from chlins/fix/p2p-preheat-instance-bool-type-fields
...
fix(preheat): disable preheat model bool type json omitempty option
2020-10-31 23:44:41 +08:00
AllForNothing
120e8dd3d1
Improve label selection for artifact list page
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2020-10-30 14:43:59 +08:00
Will Sun
a255f3e74d
Merge pull request #13376 from AllForNothing/p2p-css
...
Fix a bug for editing p2p instance
2020-10-29 19:57:51 +08:00
Will Sun
8fda6bbb83
Merge pull request #13386 from AllForNothing/align
...
Fix css bug for adding p2p policy
2020-10-29 19:57:14 +08:00
Greg
d1ee94bbc9
DTR replication support ( #9512 )
...
Adding DTR replication support
Signed-off-by: Greg Sidelinger <gate@ilive4code.net>
2020-10-29 18:54:44 +08:00
chlins
9887154a0a
fix(preheat): add location when create instance and policy
...
Signed-off-by: chlins <chlins.zhang@gmail.com>
2020-10-29 18:16:59 +08:00
danfengliu
691168b8cf
Merge pull request #13359 from danfengliu/optimize-upgrade-pipeline-of-pull-push-image
...
Optimize upgrade pipeline script of push image
2020-10-29 14:31:30 +08:00
AllForNothing
1417be1ffc
Fix css bug for adding p2p policy
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2020-10-29 09:25:35 +08:00
AllForNothing
cc1eb1de86
Fix a bug for editing p2p instance
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2020-10-29 09:14:14 +08:00
Will Sun
fc65f5bf69
Merge pull request #13375 from AllForNothing/rep-filter
...
Fix filter bug for replication rule list
2020-10-29 09:10:31 +08:00
Daniel Jiang
535728d11f
Merge pull request #13306 from heww/refactor-security-context
...
refactor(security): use controller instead of promgr in security
2020-10-29 02:39:59 +08:00
Flávio Ramalho
ef6414be3e
Fix deadlock on harbor-core initialization
...
During the harbor core initialization if the database takes longer to
be ready there is a risk of deadlock when checking for the TCP connection
with the database.
The `TestTCPConn` function uses unbuffered channels to check when the
connection succeeds/timeouts. The timeout check is executed in parallel
with the connection check (this runs in a gorountine). The deadlock happens
when the goroutine execution takes longer than the function timeout
(hence setting `cancel <- 1`) and the DialTimeout call succeeds (hence
setting `success <- 1`). At this point both threads are waiting for the
channels values to be read.
This is reproducible mostly on slow systems where initializing the
database takes longer and finishes during the 5th time of the
`DialTimeout` call where it eventually exceeds the TestTCPConn timeout.
This fix sets the `success` and `cancel` channels as buffered
(non-blocking).
Signed-off-by: Flávio Ramalho <framalho@suse.com>
2020-10-28 17:09:34 +01:00
chlins
1a0c2fe980
fix(preheat): disable preheat model bool type json omitempty option
...
Signed-off-by: chlins <chlins.zhang@gmail.com>
2020-10-28 17:54:11 +08:00
danfengliu
723695b3e9
Merge pull request #13320 from danfengliu/upgrade-containerd-in-e2e-image
...
Upgrade containerd in e2e image
2020-10-28 17:52:27 +08:00
AllForNothing
53dc8f0bcf
Fix filter bug for replication rule list
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2020-10-28 12:29:33 +08:00
Will Sun
ec790d0afd
Merge pull request #13347 from AllForNothing/vul-list
...
Improve vilnerability list UI
2020-10-28 10:24:18 +08:00
danfengliu
ab3e24a2e3
Add proxy cache python test scipts and upgrade containerd
...
Containerd in e2e image was using native one in ubuntu, it should be updated to the latest release.
And add proxy cache py-tests including pull image/manifest list by docker and ctr CLI.
Signed-off-by: danfengliu <danfengl@vmware.com>
2020-10-28 02:13:40 +00:00
Will Sun
ce21e134ed
Merge pull request #13360 from AllForNothing/css-18
...
Fix css and i18n bugs
2020-10-26 18:03:18 +08:00
Ziming Zhang
a7d906649c
feature(replication) check namespace existing first for AWS adapter
...
Signed-off-by: Ziming Zhang <zziming@vmware.com>
2020-10-26 16:40:13 +08:00
AllForNothing
5475738a28
Fix css and i18n bugs
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2020-10-26 16:09:13 +08:00
danfengliu
cff4f529cd
Optimize upgrade pipeline script of push image
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2020-10-26 15:16:18 +08:00
AllForNothing
64ddef2e1d
Improve vilnerability list UI
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2020-10-23 15:03:33 +08:00
stonezdj(Daojun Zhang)
8535ecbbe5
Merge pull request #13340 from reasonerjt/more-info-log-msg
...
Add more info in log message to help debug
2020-10-23 11:23:33 +08:00
Daniel Jiang
9c1da3a405
Add more info in log message to help debug
...
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2020-10-22 18:55:01 +08:00
Daniel Jiang
eadb65f988
Merge pull request #13312 from reasonerjt/oidc-admin-group
...
Add admin group support to OIDC auth mode
2020-10-22 18:30:10 +08:00
Will Sun
456f893235
Merge pull request #13337 from AllForNothing/clr-bug
...
Fix a css bug of Clarity page size selection
2020-10-22 17:46:55 +08:00
Daniel Jiang
649c9814e4
Address review comment by Yan
...
Resolve review comment in PR #13312
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2020-10-22 16:53:37 +08:00
AllForNothing
ea494af06e
Fix a css bug of Clarity page size selection
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2020-10-22 16:48:35 +08:00
chlins
21b56d241a
fix: fix scanner apikey type match error
...
Signed-off-by: chlins <chlins.zhang@gmail.com>
2020-10-21 18:29:19 +08:00
danfengliu
8af343f27a
Merge pull request #13324 from ywk253100/201021_project_cherry_pick
...
Return the location header when creating proxy cache project
2020-10-21 17:07:15 +08:00
danfengliu
b388078a3e
Upgrade containerd in e2e image
...
Containerd in e2e image was using native one in ubuntu, it should be updated to the latest release.
Signed-off-by: danfengliu <danfengl@vmware.com>
2020-10-21 08:14:01 +00:00
Wenkai Yin(尹文开)
84971fc77d
Merge pull request #13316 from stonezdj/201020_dup_group_filter
...
Remove dup call to createGroupSearchFilter in searchGroup
2020-10-21 14:53:45 +08:00
Wenkai Yin
3021558272
Return the location header when creating proxy cache project
...
Fixes #13303 . Return the location header when creating proxy cache project
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2020-10-21 14:35:48 +08:00
Will Sun
1e421748bc
Merge pull request #13302 from AllForNothing/rep-rule
...
Add page size options to datagrid
2020-10-21 11:14:44 +08:00