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
Shijun Sun
e86e9aa529
Migrate policy API calls to generated service ( #17782 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-11-15 17:26:20 +08:00
Shijun Sun
f2212eef25
Add session timeout input ( #17769 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-11-15 11:39:48 +08:00
Chlins Zhang
9c9aa58d6a
feat: support customize session timeout ( #17767 )
...
Add configuration session_timeout for API, then user can customize the
timeout from system config page or API. The timeout is 60 minutes by
default.
Signed-off-by: chlins <chenyuzh@vmware.com>
Signed-off-by: chlins <chenyuzh@vmware.com>
2022-11-15 11:30: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
Chlins Zhang
7f00a77d99
fix: pre check notification enable for artifact webhook ( #17779 )
...
Check the notification enable before in the artifact webhook handler,
avoid additional db query cost for notification_policy.
Signed-off-by: chlins <chenyuzh@vmware.com>
2022-11-15 09:54:36 +08:00
Wang Yan
dbd434e7bd
revise the gomod path ( #17784 )
...
revise the go mod path for dependency bot and remove the monitoring on tests.
Signed-off-by: Wang Yan <wangyan@vmware.com>
Signed-off-by: Wang Yan <wangyan@vmware.com>
2022-11-14 16:51:49 +08:00
stonezdj(Daojun Zhang)
a47e175056
Remove email configuration ( #17712 )
...
Email related settings are deprecated
Remove email ping API
Fixes #17683
Signed-off-by: stonezdj <stonezdj@gmail.com>
Signed-off-by: stonezdj <stonezdj@gmail.com>
2022-11-14 15:03:49 +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
Maksym Trofimenko
6b46b8bf26
fix permission denied error for non existing projects ( #17586 ) ( #17619 )
...
Signed-off-by: Maksym Trofimenko <maksym@container-registry.com>
2022-11-14 12:01:20 +08:00
Shijun Sun
40ba15ca5a
Fix permission issue for edit button of repo info ( #17775 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-11-11 10:14:41 +08:00
stonezdj(Daojun Zhang)
cc69b1e951
Add OIDC group filter ( #17736 )
...
Filter out the OIDC group which doesn't match the regular expression
Fixes #17130
Signed-off-by: stonezdj <stonezdj@gmail.com>
Signed-off-by: stonezdj <stonezdj@gmail.com>
2022-11-11 09:55:11 +08:00
Shijun Sun
a21ef51ce4
Add OIDC group filter input ( #17752 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-11-11 09:50:02 +08:00
Chlins Zhang
77df4d92fd
feat: support customize registry http client timeout ( #17768 )
...
Support override the registry http client timeout from env `REGISTRY_HTTP_CLIENT_TIMEOUT` (in minutes), the timeout is 30 minutes by default.
Signed-off-by: chlins <chenyuzh@vmware.com>
2022-11-09 17:20:47 +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
Shijun Sun
87005f32d9
Improve css for tags column ( #17734 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-11-07 16:49:41 +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
erismaster
ec7717e23b
Add JFrog Artifactory As Supported Proxy-Cache Registry Source ( #17738 )
...
Add JFrog Artifactory As Supported Proxy-Cache
Enables the support of JFrog Artifactory as a source for proxy-cache. I
have tested this with a local build and was able to proxy images just
fine.
Signed-off-by: Derrik Campau <dcampau@vmware.com>
Signed-off-by: Derrik Campau <dcampau@vmware.com>
2022-11-04 12:50:34 +08:00
Orlix
2eac7c1bea
Fix wording in harbor issue template ( #17749 )
...
Signed-off-by: OrlinVasilev <ovasilev@vmware.com>
Signed-off-by: OrlinVasilev <ovasilev@vmware.com>
Co-authored-by: OrlinVasilev <ovasilev@vmware.com>
2022-11-04 08:22:17 +08:00
Wang Yan
4fb0a19efb
add cli randomly for empty update ( #17740 )
...
give an random cli secret when client gives empty update.
Signed-off-by: Wang Yan <wangyan@vmware.com>
Signed-off-by: Wang Yan <wangyan@vmware.com>
2022-11-03 21:04:29 +08:00
Shijun Sun
10cb2fd2c7
Update the way for generating new cli secret ( #17744 )
...
Update the way for refreshing cli-secret
Signed-off-by: AllForNothing <sshijun@vmware.com>
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-11-03 21:04:04 +08:00
Shijun Sun
93ac2e8111
Remove email config page ( #17711 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-11-03 14:48:06 +08:00
stonezdj(Daojun Zhang)
39ca918ffe
Add jobservice monitoring api list pool, worker and stop running task ( #17658 )
...
Add REST API to list job pool, worker, stop running task
Add jobservice handler to retrieve configuration
Add RBAC for jobservice monitoring dashboard
Add REST API to list pool, worker and stop running task
Signed-off-by: stonezdj <stonezdj@gmail.com>
Signed-off-by: stonezdj <stonezdj@gmail.com>
2022-11-03 10:47:40 +08:00
Chlins Zhang
e81067badb
fix: cherry pick 262 sql for migrations ( #17735 )
...
Signed-off-by: chlins <chenyuzh@vmware.com>
2022-11-03 10:05:46 +08:00
Shijun Sun
4206ec8ab1
Add triggers and filters check for target changing under push mode ( #17731 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-11-02 15:34:34 +08:00
MinerYang
1f05dcdcda
bump up golang.org/x/crypto to v0.1.0 ( #17691 )
...
Signed-off-by: yminer <yminer@vmware.com>
Signed-off-by: yminer <yminer@vmware.com>
2022-11-02 14:55:38 +08:00
Orlix
17bfd43a72
Add FOSSA badge and licence analysis ( #17656 )
...
Signed-off-by: OrlinVasilev <ovasilev@vmware.com>
Signed-off-by: OrlinVasilev <ovasilev@vmware.com>
Co-authored-by: OrlinVasilev <ovasilev@vmware.com>
2022-11-02 11:01:43 +08:00
dependabot[bot]
f359d49ebd
Bump mheap/github-action-required-labels from 1 to 2 ( #17682 )
...
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-01 12:02:12 +02:00
Chlins Zhang
bf4cfe9e1e
fix: add human friendly message when export cve job failure ( #17726 )
...
Add human friendly when export CVE in the condition of empty CSV file,
because this file will be stored as system artifact and pushed to
distribution, but it will leads to error when push empty blob to S3
storage driver.
Signed-off-by: chlins <chenyuzh@vmware.com>
2022-11-01 15:04:07 +08:00
Shijun Sun
0edc01a395
Add copy_by-chunk checkbox for replication rule ( #17617 )
...
Signed-off-by: AllForNothing <sshijun@vmware.com>
Signed-off-by: AllForNothing <sshijun@vmware.com>
2022-11-01 12:33:40 +08:00
Chlins Zhang
c330b8c63a
feat: introduce the copy by chunk for replication ( #17602 )
...
1. Add sql migration to alter replication policy table
2. Implement the PullBlobChunk and PushBlobChunk for the underlying v2 registry client
3. Update image transfer logic to support copy by chunk
4. Update the replication policy API handler
Signed-off-by: chlins <chenyuzh@vmware.com>
2022-11-01 11:19:17 +08:00
shuyang
b91a97dd62
Fix broken links in CONTRIBUTING.md ( #17718 )
...
Signed-off-by: shuyang <21193371+94rain@users.noreply.github.com>
Update CONTRIBUTING.md
Signed-off-by: shuyang <21193371+94rain@users.noreply.github.com>
Signed-off-by: shuyang <21193371+94rain@users.noreply.github.com>
2022-10-31 16:50:10 +08:00
MinerYang
b193f3f717
bump up github.com/prometheus/client_golang to v1.13.0 ( #17688 )
...
Signed-off-by: yminer <yminer@vmware.com>
update
2022-10-31 16:46:50 +08:00
Chlins Zhang
1a1a6d2fd2
feat: log completion message when database migrated ( #17684 )
...
Signed-off-by: chlins <chenyuzh@vmware.com>
2022-10-31 10:45:05 +08:00
stonezdj(Daojun Zhang)
3050e856d9
Add check when adding project member ( #17701 )
...
Signed-off-by: stonezdj <stonezdj@gmail.com>
Signed-off-by: stonezdj <stonezdj@gmail.com>
2022-10-28 15:06:27 +08:00