Wang Yan
18a3373725
bump beego ( #17801 )
...
* bump beego
upgrade beego version from v1.10.12 to v2.0.5
1, beego v2 vserver/web refactor
2, beego v2 context refactor
3, beego v2 session refactor
4, beego v2 cache refactor
5, beego v2 orm refactor
Signed-off-by: MinerYang <yminer@vmware.com>
2022-11-24 18:07:42 +08:00
Yang Jiao
fd5cb73e26
Modify audit log forward test case ( #17780 )
...
Modify the audit log forward test case to forward the audit log to elk
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-11-18 18:03:46 +08:00
Chlins Zhang
321a9abfb3
fix: skip to push system artifact for empty CSV file ( #17816 )
...
1. Skip to push system artifact to the distribution when the exported CSV file is empty.
2. Add status message for cve export execution.
Signed-off-by: chlins <chenyuzh@vmware.com>
2022-11-18 14:16:36 +08:00
MinerYang
62223bd36d
update golangci-lint for golang1.19 ( #17817 )
...
update golaci-lint for golang1.19
Signed-off-by: yminer <yminer@vmware.com>
update ci version to v1.50.1
2022-11-18 11:40:01 +08:00
Yang Jiao
cf036df68b
Add metrics test case ( #17795 )
...
Add more metrics validation
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-11-15 11:19:34 +08:00
Yang Jiao
484abd6213
Update e2e engine image ( #17793 )
...
1. Update ubuntu version to 20.04
2. Update containerd version to 1.6.9
3. Update docker-compose version to 2.12.2
4. Update helm version to 3.10.1
5. Update ORAS version to 0.16.0
6. Update CNAB version to 0.3.7
7. Update imgpkg version to 0.33.0
8. Update cosign version to 1.13.1
9. Remove singularity
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-11-14 14:02:23 +08:00
Yang Jiao
e2e8f00f35
Remove email config testcases ( #17763 )
...
Because the email config page has been removed #17711
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-11-08 15:55:22 +08:00
MinerYang
f20a2e433f
bump up golang to 1.19.3 ( #17751 )
...
Signed-off-by: yminer <yminer@vmware.com>
Signed-off-by: yminer <yminer@vmware.com>
2022-11-04 16:17:11 +08:00
MinerYang
6b8cdc03c1
bump up golang to 1.19.2 ( #17694 )
...
Signed-off-by: yminer <yminer@vmware.com>
Signed-off-by: yminer <yminer@vmware.com>
2022-10-26 20:28:19 +08:00
Yang Jiao
f147af91c8
Add export CVE UI testcase ( #17672 )
...
1 Add CVE function verification
2 Add content validation of exported CSV file
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-10-21 18:42:08 +08:00
Yang Jiao
180a967416
Remove singularity testcase ( #17664 )
...
Singularity has been renamed to Apptainer
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-10-20 09:54:51 +08:00
Yang Jiao
7bbefca8c2
Add scan data export API test case ( #17603 )
...
1. Add export scan data API test case
2. Add get scan data export execution list test case
3. Add get scan data export execution test case
4. Add download scan data test case
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-10-17 13:25:03 +08:00
Yang Jiao
c1c1aaf612
Add audit log forward UI testcase ( #17591 )
...
Verify that the audit log forward function is correct.
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-09-27 10:46:16 +08:00
Yang Jiao
b8b2c2a4ac
Add audit log forword API test case ( #17589 )
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-09-27 10:45:08 +08:00
MinerYang
83bc24f6c1
Bump up golang version to v1.19 ( #17588 )
...
Signed-off-by: yminer <yminer@vmware.com>
update
2022-09-22 17:38:26 +08:00
Yang Jiao
a686f30b01
Update filter label xpath ( #17585 )
...
Because this PR #17577 modifies the filter label
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-09-22 10:50:29 +08:00
Yang Jiao
a56d927143
Remove the log in testcase ( #17500 )
...
Remove logs that do not need to be printed
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-09-06 14:15:45 +08:00
Yang Jiao
0ec167a7c1
Add audit log and log rotation test cases ( #17465 )
...
1. Add audit log test case
2. Add log rotation test case
3. Add log rotation schedule test case
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-08-26 18:00:12 +08:00
Yang Jiao
f913b84a01
Update replication and trivy testcases ( #17367 )
...
1 Update replication filter_label_xpath because of this PR #17267 updated xpath
2 Update the Manual Scan All test case, because Scan All will affect other testcases if it is not finished running
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-08-10 18:26:36 +08:00
MinerYang
0fbff49eb0
bumpup golang to v1.18.5 ( #17307 )
...
Signed-off-by: yminer <yminer@vmware.com>
2022-08-03 17:44:03 +08:00
Yang Jiao
1dd2b0bc7c
Add purge audit log API test cases ( #17175 )
...
Added test cases for the following APIs:
1. PUT /system/purgeaudit/{purge_id} Stop the specific purge audit log execution
2. GET /system/purgeaudit/{purge_id} Get purge job status
3. GET /system/purgeaudit/{purge_id}/log Get purge job log
4. PUT /system/purgeaudit/schedule Update purge job's schedule
5. POST /system/purgeaudit/schedule Create a purge job schedule
6. GET /system/purgeaudit/schedule Get purge's schedule
7. GET /system/purgeaudit Get purge job results.
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-08-01 16:52:57 +08:00
Shijun Sun
04fa3853c9
Fix router issues for UI ( #17235 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-07-29 19:04:01 +08:00
MinerYang
bd1d441b01
bumpup golang version to v1.18.4 ( #17257 )
...
Signed-off-by: yminer <yminer@vmware.com>
2022-07-29 09:43:01 +08:00
Yang Jiao
e58f18bd51
Update routing test case ( #17221 )
...
Add retry to improve test case stability
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-07-21 17:40:38 +08:00
Yang Jiao
72cd65df6a
Update delete multi project testcase ( #17169 )
...
Because this PR(#16236 ) update the delete project button xpath, so update synchronously
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-07-14 22:47:53 +08:00
Yang Jiao
349d220372
Update delete project test case ( #17158 )
...
Because this PR(#16236 ) update the delete project button xpath, so update synchronously
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-07-13 17:39:12 +08:00
Yang Jiao
8d397d5a07
Add retry to project quota GC test case ( #17164 )
...
Add retry to improve test case stability
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-07-13 17:38:22 +08:00
Yang Jiao
f852996fe5
Update tag immutability xpath ( #17149 )
...
Because this PR(#17138 ) update the tag immutability xpath, so update synchronously
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-07-11 15:59:55 +08:00
Yang Jiao
90e9b997bf
Enhancement Stop Scan Testcase ( #17105 )
...
Added error retries to improve test stability
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-06-30 17:40:30 +08:00
Yang Jiao
ff4eb7f27c
Add P2P Preheat Test case ( #17089 )
...
1.Add P2P Preheat test case triggered by manual
2.Add P2P Preheat test case triggered by events(Artifact is pushed Artifact is scanned Artifact is labeled)
3.Add P2P Preheat test case triggered by schedule
4.Migrated Distribution CRUD and P2P Preheat Policy CRUD to P2P_Preheat.robot for classification
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-06-28 18:14:46 +08:00
Yang Jiao
a594f5649d
Enhance webhook testcase ( #17031 )
...
Increase retry to improve test case stability.
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-06-21 14:28:43 +08:00
Yang Jiao
c91d2f618c
Update harbor-e2e-engine image ( #17032 )
...
1 Bump up cnab-to-oci version to v0.3.3
2 Bump up carvel-imgpkg version to v0.29.0
3 Bump up cosign version to v1.9.0
4 Bump up chromedriver version to 102.0.5005.61
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-06-20 14:32:15 +08:00
Yang Jiao
9b7289d862
Update GC UI Testcase ( #16975 )
...
This PR #16941 modifies the GC UI, so update the test cases.
1 Update GC web element xpath.
2 Migrate GC content from Configuration.robot to GC.robot for classification.
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-06-13 14:19:32 +08:00
Yang Jiao
a2829850b8
Update CVE allowlist UI test case ( #16980 )
...
Because this PR #16941 migrates CVE allowlist from Configuration System
Settings page to Configuration Security page.
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-06-13 11:54:58 +08:00
Yang Jiao
4d2d7fdb1a
Update Web Routing test case ( #16981 )
...
Because this PR modifies the routing of the Web UI.
1 Modify harbor/gc to harbor/clearing-job/gc.
2 Added harbor/clearing-job/audit-log-purge route.
3 Added harbor/configs/security route.
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-06-13 10:22:22 +08:00
MinerYang
b8a71ac348
bump up golang version to v1.18.3 ( #16957 )
...
Signed-off-by: yminer <yminer@vmware.com>
update ci/ut_install.sh
Signed-off-by: yminer <yminer@vmware.com>
2022-06-08 17:56:14 +08:00
Shijun Sun
eee72e2354
Add style lint and add code lint to the pipeline ( #16954 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-06-08 16:35:19 +08:00
Yang Jiao
5dcd2ccf8e
Add webhook functionality test case ( #16944 )
...
1.Add Webhook Tester to the test environment.
2.Create a new project and enable webhook.
3.Trigger different event types(Artifact pushed、Artifact
pulled、Artifact deleted、Scanning finished、Scanning stopped、Tag
retention finished、Replication finished、Quota near threshold、Quota exceed).
4.Verify that the message is correct in the Webhook Tester.
5.Moved Webhook CRUD test cases from Common.robot to Webhook.robot for
triage.
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-06-07 17:10:11 +08:00
Yang Jiao
9b154e700c
Update header user xpath
...
Update it because #16796 modifies header user.
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-05-27 08:16:14 +00:00
Yang Jiao
4d116893be
Merge pull request #16832 from YangJiao0817/update-cosign-testcase
...
Update cosign test case
2022-05-10 16:18:16 +08:00
Yang Jiao
2563cf1bfb
Merge pull request #16760 from YangJiao0817/add-imgpkg-copy-testcase
...
Add imgpkg copy test case
2022-05-10 16:17:50 +08:00
Yang Jiao
49ddaee603
Update cosign test case
...
1 bump up cosign version to 1.8.0
2 Add cosign Verify test
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-05-10 07:01:27 +00:00
MinerYang
1f797fafc4
add lint with golangci-lint, remove golint ( #16821 )
...
Signed-off-by: yminer <yminer@vmmware.com>
test ut_install.sh
Signed-off-by: yminer <yminer@vmmware.com>
test ut_install.sh001
Signed-off-by: yminer <yminer@vmmware.com>
test ut_install002
Signed-off-by: yminer <yminer@vmmware.com>
use curl binary to download golangcilint instead of go get
Signed-off-by: yminer <yminer@vmmware.com>
test ut-ci make lint
Signed-off-by: yminer <yminer@vmmware.com>
check ci GO111MODULE
Signed-off-by: yminer <yminer@vmmware.com>
test ci go env
Signed-off-by: yminer <yminer@vmmware.com>
test ci goenv 002
Signed-off-by: yminer <yminer@vmmware.com>
test ci GO111MODULE=auto
Signed-off-by: yminer <yminer@vmmware.com>
ci test entire ut_install.sh
Signed-off-by: yminer <yminer@vmmware.com>
remove needless debug comment
Signed-off-by: yminer <yminer@vmmware.com>
Co-authored-by: yminer <yminer@vmmware.com>
2022-05-09 11:19:02 +08:00
Wang Yan
98c52e4478
enable default to build bin ( #16763 )
...
Change the default behavrior of building binaries for all the third parties to true.
Signed-off-by: Wang Yan <wangyan@vmware.com>
2022-04-28 17:13:41 +08:00
Yang Jiao
18b9856dc5
Add imgpkg copy test case
...
Add this test case to make sure imgpkg copy to Harbor works.
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-04-27 06:25:11 +00:00
Yang Jiao
1207982925
Add test case for Enable Deployment Security Policy replication
...
Add test cases for these three different scenarios to ensure that Replication functions correctly after Deployment Security Policy is enabled
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-04-25 02:59:20 +00:00
Yang Jiao
c5591cba46
Add open image scanners documentation page test case
...
Add a test case for opening the Image Scanners Documentation Page to ensure this function is correct
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-04-18 09:14:47 +00:00
Yang Jiao
31efa54a9a
Add open cve details page test case
...
Add a test case for opening the CVE Details Page to ensure this function is correct.
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-04-18 06:40:31 +00:00
Yang Jiao
f92a25f793
Add open more info page test case
...
Add test case that open more info page to ensure correct functionality.
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-04-18 03:30:46 +00:00
Yang Jiao
c1781bfb74
Add open license test case
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-04-15 08:08:05 +00:00
Yang Jiao
6dfdda7778
Add retries to test cases
...
Retry to solve the ecs environment s3aws Path not found issue
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-04-12 07:16:55 +00:00
Yang Jiao
4f6042e586
Add project tab routing test case
...
Add this test case to make sure the project tab routing is routed correctly
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-04-07 06:35:37 +00:00
Yang Jiao
376c4f220b
Add main menu routing test case
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-03-31 08:53:49 +00:00
Yang Jiao
9917d987a4
Add python-dateutil module in api e2e image
...
Because swagger_client adds dependency on python-dateutil module
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-03-25 05:07:07 +00:00
Yang Jiao
76e781c446
Update webhook testcase xpath from disable to deactivate
...
Synchronous modification due to UI changes
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-03-24 06:38:24 +00: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
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
6a2ab99127
Add replication index testcase
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-03-10 06:59:29 +00:00
Yang Jiao
d1cf06a5aa
Update trivy test case
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-03-10 01:28:28 +00: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
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
Wang Yan
6c3f9a8366
bump up distribution version to v2.8 ( #16338 )
...
Signed-off-by: Wang Yan <wangyan@vmware.com>
2022-02-10 11:46:58 +08:00
Yang Jiao
999adfad82
Add replication cosign test case ( #16313 )
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-01-29 11:23:26 +08:00
He Weiwei
8554b7d7c5
refactor: replace lib/pq with jackc/pgx ( #16267 )
...
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2022-01-27 11:09:37 +08:00
Yang Jiao
7100e893f1
Merge pull request #16257 from YangJiao0817/add-copy-cosign-accessory-testcase
...
Add copy accessory test case
2022-01-24 10:57:39 +08:00
Yang Jiao
4882def74f
Add copy accessory test case
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-01-20 09:26:05 +00:00
Yang Jiao
5f7f6c7d59
Add cosign Artifact API test case
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-01-20 02:48:56 +00:00
Yang Jiao
cc26d75b56
Merge pull request #16238 from YangJiao0817/add-cosign-ui-case
...
Add cosign UI test case
2022-01-18 11:29:17 +08:00
Yang Jiao
6e93089845
Add cosign UI test case
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-01-18 02:05:31 +00:00
yminer
9acf3d21ce
bump up go version to v1.17.6
...
Signed-off-by: yminer <yminer@vmmware.com>
2022-01-17 17:45:22 +00:00
Yang Jiao
3c10fd0db4
Merge pull request #16208 from YangJiao0817/specify-pgsqlversion13
...
Specify postgresql version to 13
2022-01-14 13:32:10 +08:00
Yang Jiao
cefdfad35a
Update Deployment security Notary xpath
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-01-13 07:24:00 +00:00
Yang Jiao
b4de95941b
Specify postgresql version to 13
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-01-12 08:55:42 +00:00
Yang Jiao
406e6ea1e3
Update Artifact size cell xpath
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-01-06 13:47:15 +08:00
Yang Jiao
338ab5844a
Temp disable test cases that rely on notary
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-12-23 17:14:17 +08:00
Yang Jiao
3d26bbc2e2
Merge pull request #16110 from YangJiao0817/fix-test-ldap-server
...
Modify test ldap button xpath
2021-12-14 09:28:52 +08:00
DQ
12b5338985
Remove temporty workaround of openssl issue
...
Signed-off-by: DQ <dengq@vmware.com>
2021-12-10 11:34:18 +08:00
Yang Jiao
83e7e8528c
Modify test ldap button xpath
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-12-10 03:25:27 +00:00
Yang Jiao
367dd02ef8
Modify build-package branch master to main
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-12-07 17:01:11 +08:00
Yang Jiao
4a2242fe47
Fix core private key
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-12-03 10:55:35 +08:00
Yang Jiao
43912674b1
Add robot account do replication test case ( #16044 )
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-11-29 10:58:01 +08:00
Yang Jiao
e9c5b3e759
Add replication testcase for exclude and bandwidth
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-11-19 09:20:07 +00:00
Yang Jiao
0a845d6369
Merge pull request #16008 from YangJiao0817/fix-cnab-case
...
Refactor cnab push test case
2021-11-17 11:00:05 +08:00
Yang Jiao
97ad26af6f
Refactor cnab push test case
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-11-16 15:43:23 +08:00
Yang Jiao
8055374520
Specify test redis image tag
...
Specify the test redis mirror tag. If not specified, the default tag is latest. If the latest tag changes, it will cause false positives in the test case.
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-11-15 11:30:10 +08:00
Yang Jiao
e3fac7eb53
Specify test redis image tag
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-11-12 10:49:30 +08:00
Yang Jiao
33fd4c06e1
Merge pull request #15978 from YangJiao0817/add-stop-scan-case
...
Add stop scan and stop scan all test cases
2021-11-11 18:01:14 +08:00
Yang Jiao
cfbbc82219
Merge pull request #15956 from YangJiao0817/refactor-ci-script
...
Modify ci script
2021-11-11 17:00:42 +08:00
Yang Jiao
9662c8316d
Merge pull request #15938 from YangJiao0817/include-test-case-e2e-image
...
Add e2e image include test case
2021-11-11 16:59:04 +08:00
Yang Jiao
f7b83a8e97
Merge branch 'main' into add-stop-scan-case
2021-11-11 16:50:55 +08:00
Yang Jiao
98e9ad82a1
Refactor ci script
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-11-11 16:04:09 +08:00
Yang Jiao
b0d6b242ae
Add stop scan and stop scan all test cases
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-11-09 16:58:31 +08:00
Yang Jiao
d7f53e51a9
Add test case to verify imgpkg in nightly
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-11-09 14:35:05 +08:00
Yang Jiao
360809bfd2
Add e2e image include test case
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-11-03 18:31:00 +08:00
Yang Jiao
2d6973febf
Merge pull request #15905 from YangJiao0817/add-wasm-to-harbor-case
...
Add wasm-to-oci test cases for harbor push and pull
2021-11-02 16:51:38 +08:00
Yang Jiao
b3c959a7ab
Merge pull request #15879 from YangJiao0817/add-helm3.7-case2python
...
Add test cases helm3.7 CLI push in python test
2021-11-02 16:51:04 +08:00
Yang Jiao
37bc1872e2
Add wasm-to-oci test cases for harbor push and pull
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-10-29 16:26:02 +08:00
Yang Jiao
72be9df283
Add test cases helm3.7 CLI push in python test
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-10-27 18:59:08 +08:00
Aaron Layfield
7b75a456d3
Robot Account CREATE / DELETE Label ( #15815 )
...
Signed-off-by: Aaron Layfield <aaron.layfield@gmail.com>
2021-10-27 14:24:07 +08:00
Yang Jiao
57431aa8cc
Support helm3.7 in nightly ( #15819 )
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-10-26 17:27:45 +08:00
Yang Jiao
60ab3aeb27
Merge pull request #15832 from YangJiao0817/fix-python-testcase-security
...
Fix issues in python api test
2021-10-26 11:16:26 +08:00
Wang Yan
a956758302
bump up go version to v1.17 ( #15865 )
...
* bump up go version to v1.17
Signed-off-by: Wang Yan <wangyan@vmware.com>
* gofmt fail
Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-10-25 17:28:29 +08:00
Yang Jiao
9178ba1138
Fix issues in python api test
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-10-23 13:26:48 +08:00
He Weiwei
619d3e818c
feat: bump up trivy adater to v0.23.0
...
Closes #14983
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2021-10-22 09:07:40 +00:00
Shengwen YU
3f75f0db32
feat: add python testing script for stop scan job ( #15779 )
...
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
Co-authored-by: Shengwen Yu <yshengwen@vmware.com>
2021-10-18 13:13:53 +08:00
Soumik Majumder
b4c2ff7768
Fix bad and missing shebangs ( #15783 )
...
Signed-off-by: Soumik Majumder <soumikm@vmware.com>
2021-10-14 20:09:41 +08:00
Yang Jiao
bc321a331a
Update robot account permission item all list
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-10-13 09:46:56 +08:00
Yang Jiao
e79dd316cd
Update helm cm-push plugin
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-10-08 15:27:44 +08:00
Yang Jiao
a404cda6ce
Fix User View Logs test case error
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2021-09-24 12:24:57 +08:00
YangJiao
5533015fd1
Add Go To Harbor Api Page TestCase
...
Signed-off-by: YangJiao <jiaoya@vmware.com>
2021-09-17 16:06:11 +08:00
Yang Jiao
192a97c85f
Merge pull request #15545 from YangJiao0817/add-test-cases-to-download-helm-charts-from-UI
...
Add TestCase to download helmchart from UI
2021-09-15 11:00:06 +08:00
YangJiao
a4a82d763a
Add TestCase to download helmchart from UI
...
Signed-off-by: YangJiao <jiaoya@vmware.com>
2021-09-13 14:06:44 +08:00
Wang Yan
dbcbc8bad0
bump up go to v1.16.7 ( #15564 )
...
Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-09-09 17:58:00 +08:00
danfengliu
a4331f6b60
add-notary-resign-test-in-upgade-pipeline
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2021-08-10 20:41:12 +08:00
danfengliu
8a80f82bb5
Merge pull request #15328 from danfengliu/fix-nightly-ca-header-issue
...
Fix nightly ca header issue
2021-07-23 15:35:04 +08:00
Wang Yan
dd6fb049f5
drop adminjob router ( #15326 )
...
As the admin job has already droped from v2.3, remove the request handling from router.
Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-07-19 17:12:31 +08:00
孙世军
43da6467c0
Add a case of deleting an OIDC user ( #15309 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-07-19 10:56:06 +08:00
danfengliu
32ea961f9f
Fix nightly ca header issue
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2021-07-18 10:44:40 +08:00
DQ
b7128a6afa
Fix regex parsing IP issue in test scirpt
...
add `^` to constraint IP addr matching only when the pattern start from the begining
Signed-off-by: DQ <dengq@vmware.com>
2021-07-15 16:12:03 +08:00
danfengliu
8947a62dc4
Fix replication test issue in nightly
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2021-07-11 17:54:55 +08:00
Wang Yan
494d74d32d
bump up go version to 1.16 ( #15286 )
...
Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-07-08 16:25:15 +08:00
Wang Yan
cdb7f4514e
fix cross mount conformance test ( #15274 )
...
fixes #15273
set the cross mount namespace for conformance test, the default vaule cannot pass the reponame validation.
Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-07-08 15:11:01 +08:00
danfengliu
646ca80187
Fix nightly test failures broken by UI change ( #15233 )
...
1. Fix break of byte statistic unit changing;
2. Fix OIDC login UI changing.
Signed-off-by: danfengliu <danfengl@vmware.com>
2021-07-02 10:19:43 +08:00
danfengliu
65663cae52
Increase retry times for checking replication result
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2021-06-23 09:49:34 +08:00
Will Sun
be3f499b9b
Fix nightly failure ( #15161 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-06-18 17:53:26 +08:00
danfengliu
0bea79df93
Remove workround for docker20 adaptation
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2021-06-09 14:57:52 +08:00
danfengliu
896327a845
Merge pull request #14998 from danfengliu/fix-replication-namespace-level-issue
...
Fix replication namespace level issue
2021-06-09 14:15:44 +08:00
danfengliu
254c4a3497
Merge pull request #15046 from danfengliu/refine-base-build-process-in-makefile
...
Refind build base process in Makefile
2021-06-09 11:21:48 +08:00
DQ
1b6b47f860
Add IPv6 support
...
* 127.0.0.1 to localhost
* listening net addr add ipv6 format
Signed-off-by: DQ <dengq@vmware.com>
2021-06-03 09:04:49 +00:00
danfengliu
d66ea07c2f
Refind build base process in Makefile
...
Remove build base executable in Makefile by replacing it as an input parameter.
Add add more input parameters for controlling docker pull/push to make
build base process flexible for users.
Signed-off-by: danfengliu <danfengl@vmware.com>
2021-06-03 14:48:34 +08:00
danfengliu
be6ce16223
Add UI test for replicaiton flattening
...
1. Fix replication namespace level issue;
2. Add UI test for replicaiton flattening.
Signed-off-by: danfengliu <danfengl@vmware.com>
2021-05-31 14:14:50 +08:00
danfengliu
a40d609164
Remove customize case from common test
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2021-05-26 10:46:11 +08:00
danfengliu
344e51d2c6
Fix build base workflow issues
...
Signed-off-by: danfengliu <danfengl@vmware.com>
2021-05-25 18:13:15 +08:00
danfengliu
3ef4dc17fc
Fix notary trust directory issue and add login for each base image in makefile
...
1. Use root instead of ~ in notary parameter;
2. Fix tag immutability issue caused by GUI change;
3. Replace email domain name to harbor test;
4. Add login for each base image in makefile;
5. Add customize look test in nightly.
Signed-off-by: danfengliu <danfengl@vmware.com>
2021-05-20 18:23:13 +08:00
Wang Yan
0fb520a33b
bump up go to v1.15.12
...
Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-05-14 15:36:23 +08:00
danfengliu
072f364d0b
Add manifest and CNAB replication tests
...
1. Add manifest and CNAB replication tests;
2. Duplicate ORAS and sigularity tests from API test to nightly common
tests;
3. Optimize get dns code in CI;
4. Optimize E2E dockerfile;
5. Sample image size should be cover requirement for large size like 512M.
Signed-off-by: danfengliu <danfengl@vmware.com>
2021-05-10 21:47:48 +08:00
stonezdj(Daojun Zhang)
c7852df8d3
Remove unused items in legacy_swagger.yaml ( #14785 )
...
Also updated the api test
Signed-off-by: stonezdj <stonezdj@gmail.com>
2021-05-06 10:55:33 +08:00
stonezdj(Daojun Zhang)
46dcf7b0cb
Add missing operationId in swagger.yaml ( #14722 )
...
Add operationId for systeminfo api
Add operationId for configure api
Update api test after adding operationId
Fixes #14617
Signed-off-by: stonezdj <stonezdj@gmail.com>
2021-04-27 12:35:00 +08:00
Will Sun
af12f9aa01
Refactor tag-retention page ( #14749 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2021-04-26 14:27:44 +08:00
danfengliu
81b26418c1
Fix build base related issues ( #14733 )
...
1. Add build base image step in build package git action workflow;
2. Add build base step to UT test in CI, base image used by UI test should be built before building harbor image in the same runtime;
3. In build package workflow, trigger build base image step in condition of changing both in
Dockerfile.base and VERSION;
4. Add tag for setup nightly test.
Signed-off-by: danfengliu <danfengl@vmware.com>
2021-04-23 11:55:30 +08:00
danfengliu
f0ebd17994
Add build base image step in build package git action workflow
...
Build base image step should be in build package workflow, and local base images build by new step should be removed since images have been pushed to docker hub.
Signed-off-by: danfengliu <danfengl@vmware.com>
2021-04-17 18:10:44 +08:00
Wang Yan
6e3c9e29df
Api refactor label ( #14650 )
...
* Refactor labl api
move to the new program model
Signed-off-by: wang yan <wangyan@vmware.com>
* continue resolve review comments
Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-04-15 17:27:58 +08:00
Wenkai Yin
654f4d9202
Refactor health check API
...
Refactor the health check API
Signed-off-by: Wenkai Yin <yinw@vmware.com>
2021-04-15 14:50:27 +08:00
He Weiwei
dc37c83e11
refactor: use singular as the tag for user APIs ( #14654 )
...
Use singular as the tag for user APIs to align with other APIs.
Signed-off-by: He Weiwei <hweiwei@vmware.com>
2021-04-15 10:52:48 +08:00
stonezdj
751d404519
Refactor project member api to new programming model
...
Add pkg/member/dao
Add pkg/member/models
Add pkg/member/manager
Add controller/member
Remove the old project member API
Signed-off-by: stonezdj <stonezdj@gmail.com>
2021-04-13 21:28:54 +08:00
Daniel Jiang
d4cd2b87bd
API for users to new model
...
This commit moves the legacy apis related to users to new model.
Some funcs under common/dao are left b/c they are used by other module,
which should also be shifted to leverage managers.
We'll handle them separately.
Signed-off-by: Daniel Jiang <jiangd@vmware.com>
2021-04-13 11:11:50 +08:00
stonezdj
ac5e908597
Refactor user group to new programming model
...
Add context to required methods
Add pkg/usergroup/dao
Add pkg/usergroup/manager
Add controller/usergroup/controller
Signed-off-by: stonezdj <stonezdj@gmail.com>
2021-04-09 14:40:48 +08:00
stonezdj
107e468b60
Refactor configure api to new programming model
...
Changes include:
1. Move core/config to controller/config
2. Change the job_service and gcreadonly to depends on lib/config instead of core/config
3. Move the config related dao, manager and driver to pkg/config
4. Adjust the invocation of the config API, most of then should provide a context parameter, when accessing system config, you can call it with background context, when accessing user config, the context should provide orm.Context
Signed-off-by: stonezdj <stonezdj@gmail.com>
2021-04-09 08:10:11 +08:00
Qian Deng
c5d12ce8ee
Merge pull request #14542 from ninjadq/add_task_info_in_exporter
...
Add task info in exporter
2021-04-07 18:17:26 +08:00
DQ
dcb28d8e30
Add test case for exporter
...
add e2e test to verify exporter and jobservice metrics exist
Signed-off-by: DQ <dengq@vmware.com>
2021-04-06 15:54:33 +08:00