Commit Graph

11849 Commits

Author SHA1 Message Date
Wang Yan
b54b373757
[cherry-pick]remove the log for ScannerSkipUpdatePullTime (#19847)
remove the log for ScannerSkipUpdatePullTime

fixes #19795, remove the noise in the log

Signed-off-by: wang yan <wangyan@vmware.com>
2024-01-16 09:36:22 +08:00
Maksym Trofimenko
8d0c8d4bec
[Cherry pick] add repository read permission to limitedGuest (#19815)
add repository read permission to limitedGuest

Signed-off-by: Maksym Trofimenko <maksym@container-registry.com>
Co-authored-by: Maksym Trofimenko <maksym@container-registry.com>
2024-01-15 16:28:46 +08:00
stonezdj(Daojun Zhang)
84d7f17b6f
[cherry-pick] Cache image list with digest key (#19837)
Cache image list with digest key

  fixes #19429

Signed-off-by: stonezdj <daojunz@vmware.com>
Co-authored-by: stonezdj <daojunz@vmware.com>
2024-01-15 13:45:30 +08:00
Yang Jiao
8afce30617
[cherry-pick]Add multi-tier accessory replication test cases (#19737)
Add multi-tier accessory replication test cases

Fix #19275

Signed-off-by: Yang Jiao <yang.jiao@broadcom.com>
Co-authored-by: Yang Jiao <yang.jiao@broadcom.com>
2023-12-20 15:31:39 +08:00
Yang Jiao
5c6ed12a41
[cherry-pick]Add notation replication test case (#19740)
Add notation replication test case

Fix #19548

Signed-off-by: Yang Jiao <yang.jiao@broadcom.com>
Co-authored-by: Yang Jiao <yang.jiao@broadcom.com>
2023-12-20 15:30:55 +08:00
Yang Jiao
b622d4adad
[cherry-pick]Add user API test case (#19637)
Add user API test case

Fix #19280

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-11-28 16:40:46 +08:00
Yang Jiao
dcc9e148e8
[cherry-pick]Add jump to CNAB Bundle index artifact list test case (#19628)
Add jump to CNAB Bundle index artifact list test case

Fix #19278

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-11-27 18:26:38 +08:00
Yang Jiao
c9ce48a9e8
[cherry-pick]Add notation pull policy test case (#19626)
Add notation pull policy test case

Fix #19547

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-11-27 17:35:03 +08:00
Yang Jiao
5e7704853d
[cherry-pick]Add notation accessory copy test case (#19606)
Add notation accessory copy test case

Fix #19546

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-11-22 18:14:13 +08:00
stonezdj(Daojun Zhang)
d85ebd7f24
[cherry-pick] Allow POST method to request service/token in readonly mode (#19563)
Allow POST method to request service/token in readonly mode

  fixes #18243

Signed-off-by: stonezdj <daojunz@vmware.com>
2023-11-13 10:50:09 +08:00
Yang Jiao
4d2a8fbcf6
[cherry-pick]Add notation sign artifact API test case (#19550)
Add notation sign artifact  API test case

Fix #19545

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-11-07 08:32:16 +00:00
Yang Jiao
35512d7f6f
[cherry-pick]Add banner message UI test case (#19530)
Add banner message UI test case

Fix #19272

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-11-06 10:51:31 +08:00
MinerYang
5cbb1b010a
bump google.golang.org/grpc (#19513)
* bump google.golang.org/grpc

Signed-off-by: yminer <yminer@vmware.com>

* bump go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp

Signed-off-by: yminer <yminer@vmware.com>

---------

Signed-off-by: yminer <yminer@vmware.com>
2023-11-01 14:39:48 +08:00
Yang Jiao
f2cfc97625
[cherry-pick]Add banner message API test case (#19514)
Add banner message API test case

Fix #19271

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-10-31 08:52:48 +00:00
Yang Jiao
0764e1003d
Refresh base images on release-2.9.0 (#19511)
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-10-31 15:53:53 +08:00
MinerYang
6d817724e6
update ut mock anything (#19506)
Signed-off-by: yminer <yminer@vmware.com>
2023-10-31 02:56:31 +00:00
Shengwen YU
7c83e3a4a5
fix: bump up TRIVYVERSION=v0.46.1 && TRIVYADAPTERVERSION=v0.30.18 (#19499)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2023-10-31 08:47:56 +08:00
MinerYang
2103a15ca3
bump golang to 1.21.3 on release-2.9.0 (#19503)
bump golang to 1.21.3

update 1.21 CI

update ut mock anything

Signed-off-by: yminer <yminer@vmware.com>
2023-10-30 16:36:15 +00:00
Yang Jiao
921aa2a27c
[cherry-pick]Add GC details and GC workers UI test case (#19488)
Add GC details and GC workers UI test case

Fix #19277

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-10-26 11:49:50 +08:00
Yang Jiao
4f77fbe3e2
[cherry-pick]Add GC details and GC workers API test case (#19483)
Add GC details and GC workers API test case

Fix #19276

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-10-25 15:12:03 +08:00
MinerYang
4dd5ce2855
bump go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/m… (#19476)
bump go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux

Signed-off-by: yminer <yminer@vmware.com>
2023-10-24 08:15:27 +00:00
Yang Jiao
dbcf60ecaa
Refresh base images on release-2.9.0 (#19475)
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-10-24 11:18:28 +08:00
Yang Jiao
79051140b2
[cherry-pick]Add GC accessory UI test case (#19471)
Add GC accessory UI test case

Fix #19274

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-10-23 14:40:55 +08:00
Yang Jiao
86c8dc5c36
[cherry-pick]Add GC accessory API test case (#19463)
Add GC accessory API test case

Fix #19273

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-10-20 14:24:18 +08:00
MinerYang
1171906c95
bump golang.org/x/net to v0.17.0 && go.opentelemetry.io/contrib on release-2.9.0 (#19460)
bump golang.org/x/net to v0.17.0

Signed-off-by: yminer <yminer@vmware.com>

bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp to v0.45.0
2023-10-18 14:34:33 +08:00
stonezdj(Daojun Zhang)
40f8217c26
[cherry-pick] Use batch to list the job id in the job queue to avoid crash redis (#19455)
Use batch to list the job id in the job queue to avoid crash redis

  fixes: #19436

Signed-off-by: stonezdj <daojunz@vmware.com>
2023-10-18 14:18:38 +08:00
Yang Jiao
4ca48d984c
Bump up version to v2.9.1 (#19451)
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-10-17 10:46:43 +08:00
Yang Jiao
41297f8474
[cherry-pick]Add security hub UI test case (#19449)
Add security hub UI test case

Fix #19270

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-10-17 00:35:45 +08:00
Shengwen YU
619f522c60
fix: bump up TRIVYVERSION=v0.46.0 && TRIVYADAPTERVERSION=v0.30.17 (#19447)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2023-10-16 14:23:11 +08:00
MinerYang
6cdcb9663d
[cherry-pick]bump golang to 1.20.10 (#19431)
Signed-off-by: yminer <yminer@vmware.com>
2023-10-11 13:53:46 +08:00
stonezdj(Daojun Zhang)
82c24eee5a
(cherry-pick) Change fixed_version to package_version (#19432)
Change fixed_version to package_version
  fixes #19391

Signed-off-by: stonezdj <daojunz@vmware.com>
2023-10-11 03:14:02 +00:00
Shijun Sun
6f85d59c14
[Cherry-pick]Hide version property if the value is undefined (#19396)
Hide version property if the value is undefined
1.Related issue #19391

Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-09-28 10:58:51 +08:00
Yang Jiao
3c62b75a2a
[cherry-pick]Add security hub API test case (#19377)
Add security hub API test case

Fix #19269

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-09-21 02:57:40 +00:00
Yang Jiao
0107eb39f0
[cherry-pick]Refactor unstable test cases (#19351)
Refactor unstable test cases

Fix #19282

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-09-13 16:01:06 +08:00
MinerYang
0b9645d896
(cherry-pick) fix storage.redirect.disable migrate template error release-2.9.0 (#19336)
(cherry-pick) fix storage.redirect.disable migrate template error

Signed-off-by: yminer <yminer@vmware.com>

update boolean to lowercase
2023-09-12 11:16:03 +08:00
stonezdj(Daojun Zhang)
398078f164
(cherry-pick) Remove job status track information from redis after stop the job in the queue (#19307)
Remove job status track information from redis after stop the job in the queue

  After stop in the queue:
  Remove key in {harbor_job_service_namespace}:job_track:inprogress
  Remove {harbor_job_service_namespace}:job_stats:<job_id>
  fixes #19211

Signed-off-by: stonezdj <daojunz@vmware.com>
2023-09-05 12:08:51 +08:00
Shijun Sun
6d1ad65cf1
Update the image version for trivy scan (#19265)
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-08-31 18:42:16 +08:00
Shijun Sun
0f9839bf6e
[Cherry-pick]Switch to a new chart library (#19263)
Switch to a new chart library

Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-08-31 16:38:38 +08:00
Yang Jiao
44f5702e87
Refresh base images on release-2.9.0 (#19246)
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-08-28 03:31:35 +00:00
Shijun Sun
cdffb5e93b
[Cherry-pick]Add a tooltip for the page title of security hub (#19232)
Add a tooltip for the page title of security hub
1. This tooltip explains the artifacts total count

Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-08-24 18:21:50 +08:00
stonezdj(Daojun Zhang)
63668282db
(cherry-pick) Refine total artifact and scanned artifact (#19229)
Refine total artifact and scanned artifact

  Artifact include all accessory, child artifact
  fixes #19215

Signed-off-by: stonezdj <daojunz@vmware.com>
2023-08-22 16:03:47 +08:00
Shijun Sun
90e526e2b9
[Cherry-pick]Add new uri path to ShouldNotReuseRoute array (#19218)
Add new uri path to ShouldNotReuseRoute array
1.Fixes #19216

Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-08-21 18:54:52 +08:00
Wang Yan
0507655fda
fix gc dry run issue (#19210)
In the dry run mode, the accessories should be considered when try to simulate delete the subject manifest.

Signed-off-by: wang yan <wangyan@vmware.com>
2023-08-18 13:27:50 +08:00
stonezdj(Daojun Zhang)
62ed9fc947
(cherry-pick) Wrong artifact scanned count (#19205)
Wrong artifact scanned count

 fixes #19197

Signed-off-by: stonezdj <daojunz@vmware.com>
2023-08-17 11:15:15 +08:00
stonezdj(Daojun Zhang)
5306f6aebd
(cherry-pick) Filter artifact without CVE from top 5 dangerous artifacts (#19203)
Filter artifact without CVE from top 5 dangerous artifacts

  Fixes #19186

Signed-off-by: stonezdj <daojunz@vmware.com>
2023-08-17 11:15:01 +08:00
Chlins Zhang
e1f95cade0
[cherry-pick] fix: support customize cache db for business (#19190)
fix: support customize cache db for business

Support to configure the customized redis db for cache layer and other
misc business for core, by default the behavior is same with
previous(stored in db 0).

Signed-off-by: chlins <chenyuzh@vmware.com>
2023-08-17 08:38:17 +08:00
Shijun Sun
8cd612a6ef
[Cherry-pick]Update the max length for the filters (#19195)
Update the max length for the filters
1.Cherry-pick #19194

Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-08-16 17:15:07 +08:00
Shijun Sun
05cb1d771b
[Cherry-pick]ignore spaces for vulnerability filters (#19181)
ignore spaces for vulnerability filters
1.Fixes #19168

Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-08-15 16:04:21 +08:00
Chlins Zhang
6050cb6325
[cherry-pick] chore: fix incorrect otel timeout in harbor yaml template (#19123)
chore: fix incorrect otel timeout in harbor yaml template

Update the incorrect otel timeout sample value in the harbor YAML
configuration template.

Signed-off-by: chlins <chenyuzh@vmware.com>
2023-08-15 10:38:34 +08:00
Chlins Zhang
8ad19e785b
log: change log level to reduce the noise logs (#19165)
1. Change some logs level to reduce the noise.
2. Wrap the go-redis.Nil error as ErrNotFound to avoid confusing

Signed-off-by: chlins <chenyuzh@vmware.com>
2023-08-14 08:22:29 +02:00