Yang Jiao
7cef4217b0
Add user API test case ( #19638 )
...
Fix #19280
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-11-29 10:25:02 +08:00
Shijun Sun
f26b9f52e9
Update the test script for the project permissions ( #19623 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-11-28 02:16:02 +00:00
Yang Jiao
4fbcf92da9
Add jump to CNAB Bundle index artifact list test case ( #19629 )
...
Fix #19278
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-11-27 18:26:06 +08:00
Yang Jiao
38ac8bf717
Add notation pull policy test case ( #19625 )
...
Fix #19547
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-11-27 09:44:20 +00:00
Yang Jiao
969dd1be66
Add notation accessory copy test case ( #19605 )
...
Fix #19546
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-11-22 18:13:44 +08:00
Yang Jiao
45b41d4443
Add API(scan,volumes,jobservice,scanner,label,securityhub,catalog) permission testcases ( #19595 )
...
Add scan,volumes,jobservice,scanner,label,securityhub,catalog permission testcases
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-11-22 09:08:27 +00:00
Shijun Sun
13ae233729
Add test cases for the project level permissions ( #19593 )
...
Add API test cases for project permission of a robot account
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-11-22 08:13:04 +00:00
Shijun Sun
d967ac0fb6
Update the permission scope ( #19603 )
...
1. Update the permission scope
2. Sort the resources and actions by unicode
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-11-22 06:37:31 +00:00
Wang Yan
062d144d22
add permission validation for robot creating and updating. ( #19598 )
...
* add permission validation for robot creating and updating.
It is not allowed to create an new robot with the access outside the predefined scope.
Signed-off-by: wang yan <wangyan@vmware.com>
* Fix robot testcase and update robot permission metadata (#167 )
1. Fix robot testcase
2. update robot permission metadata
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
Signed-off-by: wang yan <wangyan@vmware.com>
---------
Signed-off-by: wang yan <wangyan@vmware.com>
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
Co-authored-by: Yang Jiao <72076317+YangJiao0817@users.noreply.github.com>
2023-11-22 12:51:03 +08:00
MinerYang
17c17ffd8e
bump golang to 1.21.4 ( #19601 )
...
Signed-off-by: yminer <yminer@vmware.com>
2023-11-21 19:23:16 +08:00
Maksym Trofimenko
996e57b511
Feature: GDPR compliant audit logs ( #17396 )
2023-11-20 21:31:22 +01:00
Yang Jiao
08cb0803a8
Add API(audit-log,project,registry,replication) permission testcase ( #19584 )
...
Add audit-log,project,registry,replication API permission testcase
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-11-16 08:51:00 +00:00
Yang Jiao
04397fb6a2
Add API permission testcase ( #19571 )
...
usage example:
HARBOR_BASE_URL=https://{ip_or_domain}/api/v2.0 RESOURCE=preheat-instance USER_NAME={username} PASSWORD={password} python tests/apitests/python/test_permission.py
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-11-14 09:38:39 +08:00
Yang Jiao
35a605ec05
Add notation sign artifact API test case ( #19549 )
...
Fix #19545
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-11-07 08:39:37 +00:00
Yang Jiao
6d238f1948
Update E2E test engine images ( #19544 )
...
Fix #19283
1. Bump up chromedriver version to 119.0.6045.105
2. Bump up containerd version to 1.7.8
3. Bump up docker compose version to 2.23.0
4. Bump up helm version to 3.13.1
5. Bump up ORSA version to 1.1.0
6. Bump up imgpkg version to 0.39.0
7. Bump up cosign version to 2.2.0
8. Add install notation 1.0.0
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-11-07 11:05:29 +08:00
Daniel Jiang
ebb2c40095
Use absolute path for the profile.cov ( #19535 )
...
There's a path change introduced by #19508 which may impact showing the
coverage on codecov.
This commit makes sure the profile.cov is referenced as absolute path in
`coverage4gotest.sh`
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2023-11-06 05:58:08 +00:00
Yang Jiao
e1a44232f4
Add banner message UI test case ( #19529 )
...
Fix #19272
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-11-06 03:41:35 +00:00
Daniel Jiang
3f7c605cf5
[WIP] Remove vendor folder from harbor code base ( #19508 )
...
* Remove vendor folder from harbor code base
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
* debug ut failure
* debug failure
* debug failure
---------
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2023-11-05 14:37:25 +08:00
Yang Jiao
2916d09917
Add banner message API test case ( #19510 )
...
Fix #19271
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-10-31 08:54:04 +00:00
MinerYang
193b00b9e6
bump golang to 1.21.3 ( #19504 )
...
update ut mock
update go mod
Signed-off-by: yminer <yminer@vmware.com>
2023-10-31 15:01:23 +08:00
Yang Jiao
58557d3bae
Add GC details and GC workers UI test case ( #19487 )
...
Fix #19277
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-10-26 11:49:56 +08:00
Yang Jiao
61fdf25e5d
Add GC details and GC workers API test case ( #19482 )
...
Fix #19276
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-10-25 15:12:53 +08:00
Yang Jiao
f58dc2dbec
Add GC accessory UI test case ( #19470 )
...
Fix #19274
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-10-23 07:46:00 +00:00
Yang Jiao
322dce5272
Add GC accessory API test case ( #19462 )
...
Fix #19273
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-10-20 06:49:20 +00:00
Yang Jiao
ec0ef1772c
Add security hub UI test case ( #19448 )
...
Fix #19270
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-10-16 18:17:29 +08:00
MinerYang
1f975edb9c
bump golang to 1.20.10 ( #19430 )
...
Signed-off-by: yminer <yminer@vmware.com>
2023-10-11 13:05:31 +08:00
Yang Jiao
50e466b281
Add security hub API test case ( #19376 )
...
Fix #19269
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-09-20 18:58:55 +08:00
Yang Jiao
97b285168a
Refactor unstable test cases ( #19350 )
...
Fix #19282
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2023-09-13 08:14:34 +00:00
guangwu
345b5e545d
fix: privileges member successfully typo ( #19091 )
...
Signed-off-by: guoguangwu <guoguangwu@magic-shield.com>
Co-authored-by: Shengwen YU <yshengwen@vmware.com>
2023-08-07 17:21:38 +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