Yang Jiao
5daa504e53
Merge pull request #16550 from YangJiao0817/refresh-base-2.5
...
Refresh base images
2022-03-18 17:00:08 +08:00
Yang Jiao
f3b27c442b
Refresh base images
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-03-18 07:48:06 +00:00
孙世军
e0f75943ea
Add cosign icon ( #16534 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-03-17 14:36:22 +08:00
Wang Yan
692b857d71
add cosign signature icon ( #16545 )
...
Return icon message for UI to render
Signed-off-by: Wang Yan <wangyan@vmware.com>
2022-03-17 13:23:42 +08:00
孙世军
65d45f707b
Fix duplicate labels issue ( #16528 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-03-16 16:07:44 +08:00
Wang Yan
e2d9158a2d
add transaction for artifact delete ( #16511 )
...
Add transaction for artifact deletion, given API has the transaction when to call artifact controller but other object may not, for example jobservice job.
Here, force add the tx to ensure all the things can be rolled back.
Signed-off-by: Wang Yan <wangyan@vmware.com>
2022-03-11 17:10:59 +08:00
Yang Jiao
d8c404f58d
Merge pull request #16497 from YangJiao0817/update_trivy_testcase_2.5
...
[cherry-pick]Update trivy test case
2022-03-10 16:06:00 +08:00
Yang Jiao
06a674ce3c
Merge pull request #16503 from YangJiao0817/replication-index_2.5
...
[cherry-pick]Add replication index testcase
2022-03-10 16:05:18 +08:00
孙世军
66281e215c
Improve style and correct typos ( #16499 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-03-10 15:17:08 +08:00
Yang Jiao
fa1aa8f121
Add replication index testcase
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-03-10 07:03:00 +00:00
孙世军
71ae2da6eb
Add a new robot permission and sort permissions ( #16496 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-03-10 12:58:14 +08:00
Yang Jiao
5d423d8687
Update trivy test case
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-03-10 02:32:21 +00:00
Yang Jiao
d07cbaf405
Merge pull request #16485 from YangJiao0817/trivy-upgrade2v0.24.2-2.5
...
[cherry-pick]Bump TRIVYVERSION to v0.24.2 and bump TRIVYADAPTERVERSION to v0.26.0
2022-03-08 16:13:06 +08:00
Yang Jiao
faf5d1cf60
Bump TRIVYVERSION to v0.24.2 and bump TRIVYADAPTERVERSION to v0.26.0
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-03-08 06:51:34 +00:00
Yang Jiao
5940648527
Merge pull request #16471 from YangJiao0817/refresh-baseimage-2.5
...
Refresh base image
2022-03-04 16:03:17 +08:00
Yang Jiao
0e3abb62ae
Refresh base image
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-03-04 07:14:46 +00:00
MinerYang
2260475d55
bump up github.com/containerd/containerd to v1.5.10 ( #16469 )
...
Co-authored-by: yminer <yminer@vmmware.com>
2022-03-04 14:12:47 +08:00
Yang Jiao
62afa16b57
Add replication test cases triggered by events ( #16466 )
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-03-04 14:11:57 +08:00
疯魔慕薇
1c4495361b
Fix & UT ( #16279 )
...
1. Fix TCR Adapter namespcae check.
2. Add Chart UT.
Signed-off-by: 疯魔慕薇 <kfanjian@gmail.com>
2022-03-04 14:09:25 +08:00
孙世军
3c9fc9fa5a
Fix inline alert issue ( #16454 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-03-04 10:50:33 +08:00
MinerYang
4a9107af93
replace with github.com/distribution/distribution v2.8.0+incompatible ( #16460 )
...
Signed-off-by: yminer <yminer@vmmware.com>
Co-authored-by: yminer <yminer@vmmware.com>
2022-03-03 16:35:02 +08:00
stonezdj(Daojun Zhang)
1971e5a3ef
Merge pull request #16462 from stonezdj/22mar3_withnotary_jobservice
...
The DB config manager is not init on jobservice call config.WithNotary
2022-03-03 16:04:11 +08:00
stonezdj(Daojun Zhang)
017e3a4e4b
Merge pull request #16453 from stonezdj/22mar2_add_index_task
...
Create index on task with job_id
2022-03-03 15:20:14 +08:00
stonezdj
5618f6d211
The DB config manager is not init on jobservice to call config.WithNotary
...
Make func defaultMgr() public
Set DefaultCfgManager to RestCfgManager and Load it in the jobservice main
config.WithNotary call DefaultMgr(), it wil get the RestCfgManager
Fixes #16418
Signed-off-by: stonezdj <stonezdj@gmail.com>
2022-03-03 14:42:56 +08:00
孙世军
75bc82e5f3
Fix ui issues found on testing day ( #16444 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-03-03 10:06:28 +08:00
stonezdj
9d480a84d2
Create index on task with job_id
...
Missing index with job_id, when query task with job_id, it cause a full table scan, caused performance issue
Fixes #15271
Signed-off-by: stonezdj <stonezdj@gmail.com>
2022-03-02 20:51:36 +08:00
孙世军
eca5f48adb
Upgrade swagger-ui to the latest version ( #16443 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-03-02 14:47:36 +08:00
stonezdj(Daojun Zhang)
8c698325b5
Merge pull request #16424 from stonezdj/22feb24_trace_failure
...
Add IP and agent in trace for failed login
2022-03-02 11:46:32 +08:00
MinerYang
848efd067d
bump up github.com/docker/distribution to v2.8.0+incompatible ( #16435 )
...
Signed-off-by: yminer <yminer@vmmware.com>
rgoo mod vendor
Signed-off-by: yminer <yminer@vmmware.com>
Co-authored-by: yminer <yminer@vmmware.com>
2022-03-01 17:29:02 +08:00
stonezdj
7aed95eda9
Add IP and agent in trace for failed login
...
Fixes #16423
Signed-off-by: stonezdj <stonezdj@gmail.com>
2022-02-28 15:17:55 +08:00
MinerYang
74d2670616
bump up Go version to 1.17.7 ( #16415 )
...
Signed-off-by: yminer <yminer@vmmware.com>
update CONTRIBUTING.md 2.4 golang version to 1.17.7
Signed-off-by: yminer <yminer@vmmware.com>
Co-authored-by: yminer <yminer@vmmware.com>
2022-02-25 17:23:18 +08:00
He Weiwei
abd85284d2
feat: merge local and remote tags for repo of proxy cache project in list API ( #16394 )
...
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2022-02-24 10:27:45 +08:00
Wang Yan
6ef4874011
fix replicate reference accessory ( #16401 )
...
fixes #16375
Signed-off-by: Wang Yan <wangyan@vmware.com>
2022-02-23 21:24:15 +08:00
Chenyu Zhang
490fe4e5b3
fix: ignore untagged artifact when perform immutable policy ( #16386 )
...
Signed-off-by: chlins <chenyuzh@vmware.com>
2022-02-22 15:18:29 +08:00
Wang Yan
8d05007eb5
fix accessory copy for index ( #16378 )
...
When issue an copy, it has to copy the reference's accessory as well
Signed-off-by: Wang Yan <wangyan@vmware.com>
2022-02-17 12:43:09 +08:00
Chenyu Zhang
1e211db540
Merge pull request #16374 from chlins/fix/codeql-alerts-2
...
fix: trim linebreaks for log parameters
2022-02-17 09:56:46 +08:00
Chenyu Zhang
9d1e788f8f
Merge pull request #16352 from chlins/fix/exporter-cmd-typo
...
fix: correct typo in exporter cmd
2022-02-17 09:43:27 +08:00
chlins
3d7a5064e9
fix: trim linebreaks for log parameters
...
Signed-off-by: chlins <chenyuzh@vmware.com>
2022-02-16 10:52:58 +08:00
孙世军
fd92efe140
Upgrade karma and angular devkit ( #16366 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-02-15 20:24:29 +08:00
Chenyu Zhang
7d10dac4bc
Merge pull request #16359 from chlins/fix/codeql-alerts
...
fix: fix codeql alerts
2022-02-15 18:54:16 +08:00
chlins
b37a987073
fix: fix codeql alerts
...
Signed-off-by: chlins <chenyuzh@vmware.com>
2022-02-15 17:25:02 +08:00
stonezdj(Daojun Zhang)
79edbf8f82
Merge pull request #16272 from stonezdj/22jan24_improve_upgrade_process
...
Improve the migrate process
2022-02-14 16:35:35 +08:00
stonezdj
478d21687b
Improve the migrate process
...
In order to separate the migrate process from core process, add parameter -mode for main function, it can be normal, migrate, skip_migrate.
Signed-off-by: stonezdj <stonezdj@gmail.com>
2022-02-14 13:15:18 +08:00
MinerYang
6f1f2c0395
update 2.5.0 migration script harbor.yml.jinja ( #16354 )
...
Signed-off-by: yminer <yminer@vmmware.com>
Co-authored-by: yminer <yminer@vmmware.com>
2022-02-11 17:30:06 +08:00
MinerYang
6c97d3f0c7
rollback to delete external redis username ( #16353 )
...
Signed-off-by: yminer <yminer@vmmware.com>
Co-authored-by: yminer <yminer@vmmware.com>
2022-02-11 17:28:10 +08:00
chlins
d2124ce469
fix: correct typo in exporter cmd
...
Signed-off-by: chlins <chenyuzh@vmware.com>
2022-02-11 15:28:02 +08:00
MinerYang
77b6a130f8
Add Migration Script for Harbor 2.5 ( #16346 )
...
* add Harbor2.5 migration script
Signed-off-by: yminer <yminer@vmmware.com>
* update 2_5_0 migration harbor.yml.jinja
Signed-off-by: yminer <yminer@vmmware.com>
Co-authored-by: yminer <yminer@vmmware.com>
2022-02-11 12:18:06 +08:00
stonezdj(Daojun Zhang)
02e13390e0
Remove noise in log ( #16333 )
...
DB Config Manager could be registered twice if need to enable cache
Get trace config only when the trace is enabled
Signed-off-by: stonezdj <stonezdj@gmail.com>
2022-02-10 15:42:45 +08:00
Wang Yan
6c3f9a8366
bump up distribution version to v2.8 ( #16338 )
...
Signed-off-by: Wang Yan <wangyan@vmware.com>
2022-02-10 11:46:58 +08:00
MinerYang
1a2dd256b5
Add external redis username for AUTH ( #16336 )
...
* add external redis username for AUTH
* update harbor.yml.tmpl
* add external redis username for AUTH
update harbor.yml.tmpl
Co-authored-by: yminer <yminer@vmmware.com>
2022-02-09 22:06:28 +08:00