Wang Yan
7cb5c34f7e
add cosign signature icon ( #16533 )
...
Return icon message for UI to render
Signed-off-by: Wang Yan <wangyan@vmware.com>
2022-03-17 11:08:39 +08:00
孙世军
4cec345a45
Fix duplicate labels issue ( #16527 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-03-16 16:07:29 +08:00
Shengwen YU
1a9de7510c
Merge pull request #16521 from zyyw/enable-1-skipped-conformance-test
...
fix: enable one skipped conformance test
2022-03-16 15:10:19 +08:00
Chenyu Zhang
846dc94398
Merge pull request #16492 from chlins/refactor/replace-core-redis-lib
...
refactor: import go-redis to core as replacement of redigo
2022-03-15 21:43:38 +08:00
chlins
5be0b93caa
refactor: import go-redis to core as replacement of redigo
...
Signed-off-by: chlins <chenyuzh@vmware.com>
2022-03-15 20:44:44 +08:00
Shengwen Yu
b48619be0f
fix: enable one skipped conformance test
...
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2022-03-15 14:36:45 +08:00
sluetze
7dc25cc6dd
Updated translation for 2.5 ( #16509 )
...
Signed-off-by: sluetze <13255307+sluetze@users.noreply.github.com>
2022-03-15 09:33:54 +08:00
Wang Yan
ef991ae0c0
add transaction for artifact delete ( #16506 )
...
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 14:40:55 +08:00
Yang Jiao
6673841526
Merge pull request #16493 from YangJiao0817/update_trivy_testcase
...
Update trivy test case
2022-03-10 16:06:27 +08:00
Yang Jiao
d65aa10ccd
Merge pull request #16502 from YangJiao0817/replication-index
...
Add replication index testcase
2022-03-10 16:05:04 +08:00
Yang Jiao
6a2ab99127
Add replication index testcase
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-03-10 06:59:29 +00:00
孙世军
b5a05dd1a2
Update readme ( #16501 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-03-10 14:54:43 +08:00
Yang Jiao
c947128849
Merge pull request #16148 from YangJiao0817/add-onlinepackage2gcs
...
Add online latest installer package
2022-03-10 14:36:58 +08:00
孙世军
38babc1c71
Improve style and correct typos ( #16498 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-03-10 14:23:15 +08:00
Simon Alling
47effb0533
docs: Link to latest/edge docs instead of 2.0.0 ( #14945 )
...
I cloned the repo, clicked a link to the build guideline in
`CONTRIBUTING.md` and copied the "Build, install and bring up Harbor
without Notary" command:
make install GOBUILDIMAGE=golang:1.12.5 COMPILETAG=compile_golangimage
Being unfamiliar with the Harbor project, I didn't realize that said
command was for building version 2.0.0 and that I had cloned a newer,
incompatible version (2.3.0), so I just ran it and was met by errors:
[…]
# github.com/goharbor/harbor/src/lib/errors
../lib/errors/errors.go:26:7: undefined: errors.As
../lib/errors/errors.go:28:7: undefined: errors.Is
note: module requires Go 1.15
# github.com/hashicorp/go-multierror
[…]
make: *** [Makefile:369: compile_core] Error 2
It took me a while to figure out what the problem was; then I replaced
`2.0.0` with `latest` in the URL and found this command instead:
make install GOBUILDIMAGE=golang:1.13.8 COMPILETAG=compile_golangimage
_Et voilà_ – it worked!
I figured `latest` (which currently redirects to 2.2.0) would make the
most sense for end users and `edge` (which doesn't redirect) for
contributors.
Signed-off-by: Simon Alling <alling.simon@gmail.com>
2022-03-10 13:12:55 +08:00
孙世军
d05eb5ef4a
Add a new robot permission and sort permissions ( #16487 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-03-10 10:16:42 +08:00
Yang Jiao
d1cf06a5aa
Update trivy test case
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-03-10 01:28:28 +00:00
Wang Yan
7d9a1172ab
bump up base version to v2.6 ( #16481 )
...
Signed-off-by: Wang Yan <wangyan@vmware.com>
2022-03-09 10:37:26 +08:00
Shengwen YU
75c26fd378
Merge pull request #16478 from zyyw/fix-conformance-test-0307
...
fix: resolve conformance test failed issue
2022-03-08 17:22:45 +08:00
Yang Jiao
912c40eab9
Merge pull request #16486 from YangJiao0817/trivy-upgrade2v0.24.2
...
Bump TRIVYVERSION to v0.24.2 and bump TRIVYADAPTERVERSION to v0.26.0
2022-03-08 16:13:11 +08:00
Shengwen Yu
4def5b9dd6
fix: conformance test
...
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2022-03-08 15:24:04 +08:00
Yang Jiao
0fef857e33
Bump TRIVYVERSION to v0.24.2 and bump TRIVYADAPTERVERSION to v0.26.0
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-03-08 05:43:50 +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