Shengwen YU
a75b960868
fix: upgrade TRIVYADAPTERVERSION to v0.30.5 ( #18002 )
...
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2022-12-16 10:39:03 +08:00
MinerYang
d168f080ed
bump up golang to 1.19.4 for main ( #17997 )
...
bump up golang to 1.19.4 in main
Signed-off-by: yminer <yminer@vmware.com>
Signed-off-by: yminer <yminer@vmware.com>
2022-12-15 13:55:30 +08:00
Christian Zenker
9674a51b83
fix: Don't supress redis error messages to make debugging easier ( #17986 )
...
Signed-off-by: Christian Zenker <christian.zenker@aoe.com>
Signed-off-by: Christian Zenker <christian.zenker@aoe.com>
2022-12-15 10:42:16 +08:00
Orlix
b7e4e90427
Update RELEASE and CONTRIBUTING with main instead of master ( #17983 )
...
Signed-off-by: OrlinVasilev <ovasilev@vmware.com>
Signed-off-by: OrlinVasilev <ovasilev@vmware.com>
Co-authored-by: OrlinVasilev <ovasilev@vmware.com>
2022-12-14 16:11:34 +08:00
Chlins Zhang
b0a30b9a2f
fix: fix the time duration type duplicated parse for config ( #17981 )
...
Fix the time duration type duplicated parse for config, maintaining the idempotency of set and get operations.
Signed-off-by: chlins <chenyuzh@vmware.com>
Signed-off-by: chlins <chenyuzh@vmware.com>
2022-12-13 18:22:41 +08:00
Shengwen YU
dec0b5a3f2
fix: upgrade trivy version to v0.35.0 and trivy-adapter version to v0.30.3 ( #17976 )
...
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2022-12-13 18:21:56 +08:00
Wang Yan
74dfc905ec
remove the redundant data from table artifact_blob ( #17937 )
...
use sql in the migration process to delete all the useless data of table artifact_blob
Signed-off-by: Wang Yan <wangyan@vmware.com>
Signed-off-by: Wang Yan <wangyan@vmware.com>
2022-12-13 15:32:57 +08:00
Shijun Sun
86e34c8e59
Fix some UI issues ( #17964 )
...
1.Fixes #17874
2.Correct some i18n items
Signed-off-by: AllForNothing <sshijun@vmware.com>
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-12-09 15:03:30 +08:00
stonezdj(Daojun Zhang)
ceb130e617
Avoid internal error in the UI when reset a schedule ( #17946 )
...
fixes #17926
Signed-off-by: stonezdj <daojunz@vmware.com>
Signed-off-by: stonezdj <daojunz@vmware.com>
2022-12-08 20:43:44 +08:00
MinerYang
c678d6cc76
fix lint && add cache clean for linter ( #17943 )
...
fix lint && add cache clean for linter
Signed-off-by: yminer <yminer@vmware.com>
2022-12-08 15:04:10 +08:00
stonezdj(Daojun Zhang)
c4a58433cf
Update the log information in proxy cache ( #17936 )
...
fixes #17933
Signed-off-by: stonezdj <daojunz@vmware.com>
Signed-off-by: stonezdj <daojunz@vmware.com>
2022-12-08 13:50:37 +08:00
Orlix
e04c1fd6cb
Update auto-assignees.yml
...
Signed-off-by: Orlix <OrlinVasilev@users.noreply.github.com>
2022-12-07 11:59:07 +02:00
Orlix
4f9b581e1b
Update auto-assignees.yml
...
Signed-off-by: Orlix <OrlinVasilev@users.noreply.github.com>
2022-12-07 11:52:00 +02:00
Wang Yan
d83cee083a
remove artifact_blob with aritfact deletion ( #17913 )
...
fixes #17857
It needs to clean the artifact_blob records on artifact deletion in GC
Signed-off-by: Wang Yan <wangyan@vmware.com>
Signed-off-by: Wang Yan <wangyan@vmware.com>
2022-12-07 13:37:10 +08:00
Iceber Gu
a90181e312
fix the setting of data slice length for tablewriter ( #17918 )
...
Signed-off-by: Iceber Gu <wei.cai-nat@daocloud.io>
2022-12-07 13:19:08 +08:00
little_an
8cc16de180
fix dragonfly response when p2p preheat ( #15916 )
...
* fix dragonfly response when p2p preheat
Signed-off-by: anyiwei <anyiwei@didichuxing.com>
2022-12-06 16:12:21 +08:00
Iceber Gu
7dc452ccab
controller/robot: use global regexp vars ( #17915 )
...
Signed-off-by: Iceber Gu <wei.cai-nat@daocloud.io>
Signed-off-by: Iceber Gu <wei.cai-nat@daocloud.io>
2022-12-06 15:59:37 +08:00
Orlix
24a091018c
Bump the auto assignees to 3 ( #17914 )
...
Co-authored-by: OrlinVasilev <ovasilev@vmware.com>
2022-12-06 09:43:15 +02:00
MinerYang
e558befc8e
bump up golang.org/x/net to v0.2.0 ( #17910 )
...
Signed-off-by: yminer <yminer@vmware.com>
2022-12-06 03:59:36 +08:00
Chlins Zhang
287f334327
fix: align some configuration api fields validation with frontend ( #17903 )
...
Signed-off-by: chlins <chenyuzh@vmware.com>
2022-12-05 15:52:41 +08:00
stonezdj(Daojun Zhang)
2f5827a42e
Remove unused go-sql-driver/mysql ( #17895 )
...
Signed-off-by: stonezdj <daojunz@vmware.com>
Signed-off-by: stonezdj <daojunz@vmware.com>
2022-12-02 16:49:28 +08:00
Wang Yan
277c78e212
update system artifact schedult timeout ( #17902 )
...
fixes #17887
enhance the timeout to 5m to avoid system artifact failed to schedule in the helm base installation.
Signed-off-by: Wang Yan <wangyan@vmware.com>
Signed-off-by: Wang Yan <wangyan@vmware.com>
2022-12-02 14:30:05 +08:00
Shijun Sun
5f1dff32c2
Change inputs type from text to number ( #17897 )
...
1.Fixes #17890
2.Update isDBAuth function
Signed-off-by: AllForNothing <sshijun@vmware.com>
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-12-02 12:51:38 +08:00
stonezdj(Daojun Zhang)
64c03e8679
Update the execution status after tasks stopped ( #17875 )
...
Fixes #17862
Signed-off-by: stonezdj <daojunz@vmware.com>
Signed-off-by: stonezdj <daojunz@vmware.com>
2022-12-01 21:17:35 +08:00
Shijun Sun
491dcf7d9b
Update jobservice dashboard UI ( #17894 )
...
1.Fixes #17855 , #17874 and #17863
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-12-01 17:01:59 +08:00
Jianwei Guo
cb11540a14
add parameters for PostgreSQL ( #16641 )
...
Signed-off-by: sayaoailun <guojianwei007@126.com>
2022-11-30 19:08:08 +08:00
Shijun Sun
927a055aa9
Update i18n for group filter and schedule list ( #17884 )
...
Fixes #17868 and #17853
Signed-off-by: AllForNothing <sshijun@vmware.com>
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-11-30 14:35:01 +08:00
Yang Jiao
662cd61c8c
Refresh base images ( #17883 )
...
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-11-29 09:51:35 +08:00
stonezdj(Daojun Zhang)
402363d50b
Remove job parameters and schedule extra attribute ( #17878 )
...
Remove job parameters from job
Remove extra attribute and cron type from schedule
fixes #17866
Signed-off-by: stonezdj <daojunz@vmware.com>
Signed-off-by: stonezdj <daojunz@vmware.com>
2022-11-28 17:45:26 +08:00
stonezdj(Daojun Zhang)
80999f28ee
Keep CheckInAt time empty when it is empty ( #17877 )
...
Fixes #17860
Signed-off-by: stonezdj <daojunz@vmware.com>
Signed-off-by: stonezdj <daojunz@vmware.com>
2022-11-28 14:02:30 +08:00
Akhil Mohan
bcbfad632a
add new workflow for nightly image scan ( #17818 )
...
add trivy nightly scan for harbor images
- upload results to github security tab
- scan all dev images
Signed-off-by: Akhil Mohan <akhilerm@gmail.com>
2022-11-25 11:54:16 +08:00
MinerYang
f97aedfb5c
Increase golangci-lint timeout value ( #17841 )
...
increase golangci-lint timeout value
Signed-off-by: yminer <yminer@vmware.com>
Signed-off-by: yminer <yminer@vmware.com>
2022-11-25 11:10:21 +08:00
stonezdj(Daojun Zhang)
619747fc68
Stop Pending Job cannot update status ( #17842 )
...
Convert the redis range result into struct and extract job id from it
Add more log when get redis config fails
Signed-off-by: stonezdj <daojunz@vmware.com>
Signed-off-by: stonezdj <daojunz@vmware.com>
2022-11-24 20:29:50 +08:00
Shijun Sun
d079034b23
Update schedule list ( #17851 )
...
1.Add Cron and Cron Type columns
Signed-off-by: AllForNothing <sshijun@vmware.com>
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-11-24 18:51:40 +08:00
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
68d498f98d
Fix setup gcloud error ( #17847 )
...
ubuntu-latest was upgraded from ubuntu-20.04 to ubuntu-22.04, the python version of ubuntu-22.04 is 3.10, but gcloud does not support python 3.10, so ubuntu is fixed to version 20.04
Signed-off-by: Yang Jiao <jiaoya@vmware.com>
2022-11-24 15:46:58 +08:00
stonezdj(Daojun Zhang)
f8628258bc
Add Cron, CronType and Update Time for schedule ( #17844 )
...
Remove create time because update time is added
Signed-off-by: stonezdj <daojunz@vmware.com>
2022-11-24 10:38:52 +08:00
Shijun Sun
fcf0e2014f
Update English text for job service UI ( #17832 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-11-23 18:19:45 +08:00
MinerYang
9ae35dbc50
add migration script for 2.7 ( #17838 )
...
add migration script for 2.7
Signed-off-by: yminer <yminer@vmware.com>
2022-11-23 17:49:55 +08:00
sluetze
a826720cc9
Updated German Translation ( #17829 )
2022-11-21 14:43:26 +01: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
stonezdj(Daojun Zhang)
4b7d45513e
Fix issue related to redhat registry proxy cache ( #17789 )
...
fixes #16495
Signed-off-by: stonezdj <daojunz@vmware.com>
2022-11-18 17:17:39 +08:00
Shijun Sun
ea812c9f16
Add Jobservice UI ( #17722 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-11-18 14:39:26 +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
Shijun Sun
cbfffce413
Update cve export UI ( #17814 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-11-18 10:37:50 +08:00
stonezdj(Daojun Zhang)
57aff88eb5
Add REST API to list job queue status, pause/resume job queue and list schedulers ( #17707 )
...
Add queue manager and redis client
Update scheduler to add count and list
Signed-off-by: stonezdj <daojunz@vmware.com>
Signed-off-by: stonezdj <daojunz@vmware.com>
2022-11-17 20:12:07 +08:00
yanggang
0f4e2daf4c
Replaced io/ioutil with "os / io" package. ( #17792 )
...
Signed-off-by: yanggang <gang.yang@daocloud.io>
update typo
Signed-off-by: yminer <yminer@vmware.com>
Signed-off-by: yminer <yminer@vmware.com>
Co-authored-by: Wang Yan <wangyan@vmware.com>
2022-11-17 10:02:29 +08:00
Orlix
ac338a2531
Add auto-assignee for new PRs ( #17753 )
...
Co-authored-by: OrlinVasilev <ovasilev@vmware.com>
2022-11-16 10:38:54 +02:00
stonezdj(Daojun Zhang)
ea27197a82
Sort group search result by most match order ( #17708 )
...
fixes #17535
Signed-off-by: stonezdj <stonezdj@gmail.com>
Signed-off-by: stonezdj <stonezdj@gmail.com>
2022-11-15 20:38:44 +08:00