Commit Graph

1185 Commits

Author SHA1 Message Date
MinerYang
0e140b075f
bump golang 1.21.9 on release-2.9.0 (#20263)
Signed-off-by: yminer <yminer@vmware.com>
2024-04-12 10:55:43 +08:00
MinerYang
90028a497a
bump golang 1.21.8 on release-2.9.0 (#20196)
Signed-off-by: yminer <yminer@vmware.com>
2024-04-01 14:50:13 +08:00
Shengwen YU
f65d2380ac
fix: update go.mod (vendor) & golangci-lint & mocks (#20070)
* fix: update go.mod

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>

* fix: update vendor files

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>

* fix: update code to comply for golangci-lint

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>

* fix: update per "make mocks_check"

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>

---------

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-03-04 13:55:17 +08:00
Shengwen YU
a79c5da4d9
update retry of get_scan_data_export_execution from 5 to 15 (#19958)
* update retry of get_scan_data_export_execution from 5 to 10

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>

* update retry of get_scan_data_export_execution to 15

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>

---------

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-02-11 20:24:49 +09:00
Shengwen YU
d990529c20
fix: change filter_label_xpath to vulnerabilities_filter_label_xpath … (#19930)
fix: change filter_label_xpath to vulnerabilities_filter_label_xpath for "Select Filter Label For CVE Export"

Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-02-02 14:07:40 +08:00
Shengwen YU
24bbad13f0
fix: cve export label filter xpath (#19913)
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2024-01-27 09:19:52 +08:00
Yang Jiao
d378663379
[cherry-pick]Update replication rule filter label xpath (#19901)
Update replication rule filter label xpath

Signed-off-by: Yang Jiao <yang.jiao@broadcom.com>
2024-01-24 16:01:40 +08:00
Yang Jiao
f7b1472224
Fix Init Chrome Driver error (#19900)
Because the new version of Chrome Driver initializes differently than the old version

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2024-01-24 15:25:20 +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
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
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
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
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
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
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
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
b8f2ef9c9e
bump golang 1.20.7 on main (#19111)
Signed-off-by: yminer <yminer@vmware.com>
2023-08-07 15:40:44 +08:00
MinerYang
e1c1f5625d
bump golang 1.20.6 on main (#19066)
bump golang 1.20.6

Signed-off-by: yminer <yminer@vmware.com>
2023-08-02 11:01:32 +08:00
Wang Yan
db82d6e082
fix signer name (#19001)
Append the signer name to the error message which will be returned by the client

Signed-off-by: wang yan <wangyan@vmware.com>
2023-07-25 21:30:32 +08:00
Yang Jiao
7862870c45
Update webhook and replication testcase (#18998)
Sync test case updates because of changes to webhook and replication
1. #18923
2. #18906

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-07-25 15:06:04 +08:00
Yang Jiao
26f6197230
Fix APITEST_DB_PROXY_CACHE x509 (#18977)
Fix APITEST_DB_PROXY_CACHE x509, Because cicd.harbor.vmwarecna uses a self-signed certificate.

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-07-24 10:52:54 +08:00
Wang Yan
ff2b99d711
enable notary v2 policy checker (#18927)
add notary v2 pull policy, when it enables, the artifact cannot be pull without the notation signature.

Signed-off-by: wang yan <wangyan@vmware.com>
2023-07-14 13:35:56 +08:00
Yang Jiao
90259f3c80
Add CVE Allowlist expires Test Cases (#18921)
Fix #18920

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-07-12 17:32:40 +08:00
Yang Jiao
c707106ef7
Add OIDC filter group testcase (#18914)
Fix #17950

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-07-11 15:37:15 +08:00
Yang Jiao
cbb211e670
Add CloudEvents format webhook testcase (#18908)
Fix #18616

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-07-10 15:05:56 +08:00
Yang Jiao
adf80e921e
Add replication by chunk testcase (#18904)
Fix #17951

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-07-07 15:18:22 +08:00
Yang Jiao
fb52fdb3e0
Refactor the keyword in the testcase (#18898)
Fix #17952

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-07-06 13:47:00 +08:00
Yang Jiao
61d74b9da1
Add podman pull & push testcase (#18790)
Fix #18788

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-06-06 10:45:28 +08:00
Yang Jiao
97c1fdcd8e
Add Referrers API testcase (#18775)
Fix #18617

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-06-01 16:34:40 +08:00
Yang Jiao
210186f479
Update e2e engine image (#18747)
1. Update containerd version to 1.7.1
2. Update docker compose version to 2.18.1
3. Update helm version to 3.12.0
4. Update ORAS version to 1.0.0
5. Update CNAB version to 0.4.0
6. Update imgpkg version to 0.36.2
7. Update cosign version to 2.0.2
8. Update docker version to 24.0.2
9. Update chromedriver version to 114.0.5735.16

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-05-29 11:55:14 +08:00
Yang Jiao
ac70a14397
Add Retain image last pull time UI test case (#18695)
Fix #18690

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-05-19 16:31:01 +08:00
Yang Jiao
2016d32497
Add Retain image last pull time API test case (#18689)
Fix #18618

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-05-19 14:18:21 +08:00
Wang Yan
bf7c82b9a8
remove the notary from backend (#18668)
Since harbor deprecates notary since v2.9.0, this pull request targets to remove the code related with notary.

Signed-off-by: Wang Yan <wangyan@vmware.com>
2023-05-18 18:47:42 +08:00
MinerYang
220383147e
bump golang 1.20.4 on main (#18647)
Signed-off-by: yminer <yminer@vmware.com>
2023-05-09 23:27:26 +08:00
Yang Jiao
c09e539027
Remove notary test cases (#18620)
Fix #17955

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-04-28 16:09:40 +08:00
Yang Jiao
0da12250ce
Add Job Service Dashboard Workers testcase (#18580)
Fix #17949

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-04-23 21:26:44 +08:00
Yang Jiao
c7cbf0fcdb
Add Job Service Dashboard Schedules testcase (#18555)
Fix #17949

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-04-20 11:11:59 +08:00
MinerYang
7afdb932b2
bump golang 1.20.3 on main (#18492)
Signed-off-by: yminer <yminer@vmware.com>
Co-authored-by: Wang Yan <wangyan@vmware.com>
2023-04-10 09:27:31 +08:00
Yang Jiao
cbf0a86ba2
Update UI testcases (#18491)
1. Update copy test case to add retries
2. Updata P2P Preheat test case to waiting
3. Update the Replication new rule button xpath

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-04-07 17:22:58 +08:00
Chlins Zhang
62bb56daf6
refactor: refresh the execution status in async mode (#18434)
Refactor the logic for updating the status of execution when receiving
the hook from jobservice, avoid the optimistic lock due to the multiple
tasks update one execution by refreshing the status asynchronously. But
still retain the old way by specifying the flag from ENV.

Fixes: #17584

Signed-off-by: chlins <chenyuzh@vmware.com>
2023-04-04 16:37:37 +08:00