Commit Graph

11108 Commits

Author SHA1 Message Date
bmfp
7bee632406
update french translation (#16570)
Signed-off-by: molinber <bertrand.molin@credit-agricole.net>

Co-authored-by: molinber <bertrand.molin@credit-agricole.net>
2022-03-23 11:31:08 +08:00
Wang Yan
7531168c92
update log with more inclusive language (#16569)
Use the deactive for instead in the error log

Signed-off-by: Wang Yan <wangyan@vmware.com>
2022-03-23 10:56:00 +08:00
孙世军
f37f93b735
Add secret to download file when refreshing robot secret (#16564)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-03-22 17:21:46 +08:00
孙世军
33da8e2bcc
Improve UI with more inclusive words (#16548)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-03-22 17:21:10 +08:00
Chenyu Zhang
84523a2da5
Merge pull request #16494 from alrs/q-err
lib/q: fix dropped test error
2022-03-21 17:01:29 +08:00
孙世军
c898a411d1
Update push and pull command for helm (#16552)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-03-18 19:41:59 +08:00
Wang Yan
ed1f4ab6fb
enhance health validataion (#16549)
Signed-off-by: Wang Yan <wangyan@vmware.com>
2022-03-18 18:36:50 +08:00
孙世军
c54f51d4d8
Add cosign icon (#16531)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-03-17 14:36:05 +08:00
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
Lars Lehtonen
d3f7ddfe3a
lib/q: fix dropped test error
Signed-off-by: Lars Lehtonen <lars.lehtonen@gmail.com>
2022-03-09 10:03:48 -08: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