Wang Yan
94bf1c0ebd
Resovle the system artifact schedule issue ( #17098 )
...
Scheduling of system artifact depends on the jobservice, where gorountine is used to avoid the circular dependencies between core and jobservice.
Signed-off-by: Wang Yan <wangyan@vmware.com>
2022-07-01 14:25:45 +08:00
Yang Jiao
1ac2c10f63
Modify Build Package Workflow trigger condition ( #17106 )
...
No need to build package when push tag
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-07-01 01:59:56 +08:00
Wang Yan
b4ef1dbfd5
Unify retention schedule/task retrieve and update ( #17083 )
...
Add not-found handling for non exist items in retention operation.
Signed-off-by: Wang Yan <wangyan@vmware.com>
2022-07-01 01:58:14 +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
Roger Klorese
79d149b603
Update ROADMAP.md ( #16984 )
...
* Update ROADMAP.md
2022-06-29 11:34:10 +08:00
Wenkai Yin(尹文开)
ab74e853ee
Enhance the read-only API to avoid deleting operations during the job running ( #17055 )
...
Enhance the read-only API to avoid deleting operations during the job running
Fixes #16901
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
2022-06-29 08:00:17 +08:00
Yang Jiao
77d28105bc
Upgrade pipenv to 2022.1.8 ( #17093 )
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-06-28 23:40:48 +08:00
Chenyu Zhang
1c3eb6974c
fix: update preheat api handler and DAO ( #17079 )
...
1. fix preheat dao Get method
2. update preheat tasks and getLog api
Signed-off-by: chlins <chenyuzh@vmware.com>
2022-06-28 19:01:08 +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
stonezdj(Daojun Zhang)
aa63569de2
Fix scan log mismatch issue ( #17085 )
...
Add checks in label
Signed-off-by: stonezdj <stonezdj@gmail.com>
2022-06-28 18:12:38 +08:00
Shijun Sun
889407ab38
Add stop button for audit log rotation ( #17054 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-06-28 15:48:17 +08:00
Shijun Sun
25d3583d36
Improve cron validator for replication rule ( #17069 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-06-28 14:41:55 +08:00
Shijun Sun
acb0c09bd6
Improve copy command component ( #17068 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-06-28 14:41:13 +08:00
stonezdj(Daojun Zhang)
c639257ba7
Support stop purge audit log job ( #17033 )
...
fixes #17006
Signed-off-by: stonezdj <stonezdj@gmail.com>
2022-06-28 11:15:11 +08:00
Shengwen YU
0feb2aadcb
fix: bump trivy version to v0.29.2 and bump trivyadapter version to v0.30.0 ( #17071 )
...
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2022-06-24 19:18:00 +08:00
Wang Yan
ea2ed27a7d
add url raw query check middleware ( #17070 )
...
The middleware can give a uniform url validation and raised error early.
Signed-off-by: Wang Yan <wangyan@vmware.com>
2022-06-24 17:57:46 +08:00
Yang Jiao
7256e0bc8a
Update publish release workflow dockerhub account ( #17066 )
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-06-24 14:30:59 +08:00
Chenyu Zhang
8e99c83b19
fix: fix the update of retention policy ( #17064 )
...
Signed-off-by: chlins <chenyuzh@vmware.com>
2022-06-23 19:12:48 +08:00
MinerYang
b11970ac3c
update install htpasswd in prepare dockerfile ( #17056 )
...
update install htpasswd in prepare dockerfle
Signed-off-by: yminer <yminer@vmware.com>
2022-06-23 16:31:37 +08:00
Chenyu Zhang
c343232081
fix: revise the process of policy update ( #17021 )
...
Signed-off-by: chlins <chenyuzh@vmware.com>
2022-06-22 18:30:06 +08:00
stonezdj(Daojun Zhang)
e6eb7821d0
Unify the process of job schedule/task retrieve and update ( #17012 )
...
Unify the process of jobservice execution/task retrieve and update
Change regular expression in robot account
Signed-off-by: stonezdj <stonezdj@gmail.com>
2022-06-22 18:22:33 +08:00
Chenyu Zhang
0cf036e73a
migrate: add db index on artifact repository name ( #17053 )
...
Signed-off-by: chlins <chenyuzh@vmware.com>
2022-06-22 14:34:40 +08:00
Shengwen YU
8b9f6069db
fix: enable structcheck/typecheck/unused for golangci-lint ( #17047 )
...
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2022-06-22 11:25:07 +08:00
Shengwen YU
44bfb992f4
fix: update code for golangci-lint varcheck ( #17045 )
...
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2022-06-21 16:56:36 +08:00
MinerYang
541fbe784f
update support for docker compose v2 ( #17039 )
...
updte supportt for docker compose v2
Signed-off-by: yminer <yminer@vmware.com>
adjust install.sh
Signed-off-by: yminer <yminer@vmware.com>
2022-06-21 16:55:07 +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
prahaladdarkin
7024442f25
Project name validation to prevent system artifact reserved project names ( #17029 )
...
Include system artifact size in system storage space calculation.
Signed-off-by: prahaladdarkin <prahaladd@vmware.com>
2022-06-21 12:51:29 +08:00
MinerYang
aab320591f
golangci-lint fix ineffassign ( #17027 )
...
Signed-off-by: yminer <yminer@vmware.com>
delete src/lib/redis/helper.go
Signed-off-by: yminer <yminer@vmware.com>
2022-06-21 12:01:59 +08:00
Shijun Sun
c1b879a594
Add stop button for GC ( #17037 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-06-21 10:12:27 +08:00
Stefan Lasiewski
56904a4903
In SECURITY.md, fix broken link to RELEASES.md ( #17019 )
...
Fix broken link to RELEASES.md
Hyperlink for RELEASES.md points to https://github.com/goharbor/harbor/blob/master/RELEASES.md , which redirects to https://github.com/goharbor/harbor/blob/major/RELEASES.md , which is a 404.
Fix with corrected link.
Signed-off-by: Stefan Lasiewski <slasiewski@lbl.gov>
2022-06-20 16:30:34 +08:00
Chenyu Zhang
5de1a62002
migrate: add db index on artifact repository name ( #17035 )
...
Signed-off-by: chlins <chenyuzh@vmware.com>
2022-06-20 16:01:04 +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
stonezdj(Daojun Zhang)
88b8a7ac2c
Skip to refresh execution status when unchanged ( #17023 )
...
fixes #16640
Signed-off-by: stonezdj <stonezdj@gmail.com>
2022-06-20 13:56:19 +08:00
Shijun Sun
6c02854921
Remove style-lint package and upgrade @angular-devkit/build-angular ( #17009 )
...
Remove style-lint package and upgrade @angular-devkit/build-angular package
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-06-20 10:36:57 +08:00
Chenyu Zhang
c7e153654a
fix: update the jobservice hook retry concurrency ( #17024 )
...
Change the jobservice hook max retry concurrency from 512 to same with
the js worker numbers.
Signed-off-by: chlins <chenyuzh@vmware.com>
2022-06-18 13:52:33 +08:00
Wenkai Yin(尹文开)
6c515b04d4
Support stop GC execution ( #17004 )
...
Support stop GC execution
Fixes 16902
Signed-off-by: Wenkai Yin(尹文开) <yinw@vmware.com>
2022-06-17 20:03:24 +08:00
MinerYang
e9378ea00e
clean up unused mock file&& regenerate mocks ( #17025 )
...
clean up unused mock file&& re gen_mocks
Signed-off-by: yminer <yminer@vmware.com>
2022-06-17 18:19:23 +08:00
Maksym Trofimenko
9a3cb4a041
GDPR compliant deletion of Users ( #16859 )
...
fixes #16697
Signed-off-by: Maksym Trofimenko <maksym@container-registry.com>
2022-06-16 14:28:15 +02:00
Shengwen YU
e9fca3de45
fix: refactor code for golangci-lint whitespace ( #17005 )
...
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2022-06-16 17:42:46 +08:00
Shengwen YU
c2a9f5de64
fix: update code for golangci-lint gosimple ( #16974 )
...
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2022-06-14 13:44:09 +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
Wang Yan
f946bd21f5
fixes 16940 ( #16987 )
...
Response the sign status to UI for the public project.
Signed-off-by: Wang Yan <wangyan@vmware.com>
2022-06-13 10:55:38 +08:00
Shijun Sun
c927a3cd52
Fix some UI issues ( #16979 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-06-13 10:44:05 +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
Chenyu Zhang
6cfbf76781
fix(replication): azurecr replication with token ( #16888 ) ( #16947 )
...
Fix azurecr use ACR token failed to list tags, the root cause is the
scope action of acr token is 'metadata_read' not 'pull' when list v2
tags API.
Signed-off-by: chlins <chenyuzh@vmware.com>
2022-06-13 10:05:05 +08:00
Chenyu Zhang
e08ad05659
fix(swagger): append scan report version 1.1 to swagger docs ( #16965 )
...
fix(swagger): append scan report version 1.1 to swagger docs default value
The default value of swagger header X-Accept-Vulnerabilities should contains
scan report version 1.0 and 1.1.
Signed-off-by: chlins <chenyuzh@vmware.com>
2022-06-10 16:38:43 +08:00
stonezdj(Daojun Zhang)
e778ec2edf
Add audit_log forward endpoint ( #16914 )
...
add config item to set log forward endpoint
fallback the audit log to default log when endpoint in error
Signed-off-by: stonezdj <stonezdj@gmail.com>
2022-06-10 10:59:40 +08:00
prahaladdarkin
4d062c33d1
Introduce system artifact manager cleanup job ( #16879 )
...
Signed-off-by: prahaladdarkin <prahaladd@vmware.com>
2022-06-09 14:16:50 +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