dependabot[bot]
2984c2e04b
Bump github.com/robfig/cron/v3 from 3.0.0 to 3.0.1 in /src ( #19633 )
...
Bumps [github.com/robfig/cron/v3](https://github.com/robfig/cron ) from 3.0.0 to 3.0.1.
- [Commits](https://github.com/robfig/cron/compare/v3.0.0...v3.0.1 )
---
updated-dependencies:
- dependency-name: github.com/robfig/cron/v3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Shengwen YU <yshengwen@vmware.com>
2023-12-07 17:49:21 +08:00
Shengwen YU
1cbc901599
fix: upgrade google.golang.org/grpc ( #19648 )
...
fix: upgrade google.golang.org/grpc and go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
2023-12-05 16:22:39 +08:00
dependabot[bot]
bf251ef0aa
Bump github.com/coreos/go-oidc/v3 from 3.0.0 to 3.7.0 in /src ( #19542 )
...
Bumps [github.com/coreos/go-oidc/v3](https://github.com/coreos/go-oidc ) from 3.0.0 to 3.7.0.
- [Release notes](https://github.com/coreos/go-oidc/releases )
- [Commits](https://github.com/coreos/go-oidc/compare/v3.0.0...v3.7.0 )
---
updated-dependencies:
- dependency-name: github.com/coreos/go-oidc/v3
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Shengwen YU <yshengwen@vmware.com>
2023-11-28 09:31:16 +08:00
dependabot[bot]
e1df9b0a73
Bump golang.org/x/time from 0.0.0-20220210224613-90d013bbcef8 to 0.4.0 in /src ( #19541 )
...
Bump golang.org/x/time in /src
Bumps [golang.org/x/time](https://github.com/golang/time ) from 0.0.0-20220210224613-90d013bbcef8 to 0.4.0.
- [Commits](https://github.com/golang/time/commits/v0.4.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/time
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Shengwen YU <yshengwen@vmware.com>
2023-11-27 16:58:28 +08:00
Chlins Zhang
43ccd2f09f
perf: optimize the performance of accessory query ( #19557 )
...
1. Add db index for subject_artifact_id in table artifact_accessory.
2. Optimize the SQL of excluding the accessory for artifact count.
Signed-off-by: chlins <chenyuzh@vmware.com>
2023-11-22 02:11:11 +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
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
MinerYang
adb066cf50
bump go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/m… ( #19477 )
...
bump go.opentelemetry.io/contrib/instrumentation/github.com/gorilla/mux/otelmux
Signed-off-by: yminer <yminer@vmware.com>
2023-10-24 08:21:34 +00:00
MinerYang
84a85fb299
bump golang.org/x/net to v0.17.0 && go.opentelemetry.io/contrib ( #19461 )
...
bump golang.org/x/net to v0.17.0
Signed-off-by: yminer <yminer@vmware.com>
bump go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp to v0.45.0
2023-10-18 14:34:51 +08:00
Chlins Zhang
98f592f94f
chore: upgrade golang-migrate to v4.16.2 ( #18879 )
...
Signed-off-by: chlins <chenyuzh@vmware.com>
2023-07-11 10:21:12 +08:00
Chlins Zhang
78799ccb2f
perf: introduce update quota by redis ( #18871 )
...
Introduce the quota update provider, improve the performance of pushing
artifacts to same project with high concurrency by implementing
optimistic lock in redis. By default the function is disabled, open it
by set env 'QUOTA_UPDATE_PROVIDER=Redis' for the core container.
Fixes : #18440
Signed-off-by: chlins <chenyuzh@vmware.com>
2023-07-10 13:24:37 +08:00
Wang Yan
7435c8c5ab
add multiple deletion of GC ( #18855 )
...
User can specify the workers when to issue an GC execution, the maxium count of workers is 5.
Signed-off-by: wang yan <wangyan@vmware.com>
2023-06-29 16:22:18 +08:00
Chlins Zhang
02a1c417d4
refactor: migrate the redis command keys to scan ( #18825 )
...
Refine the cache interface, migrate the Keys to Scan, change the redis
underlying keys command to scan.
Signed-off-by: chlins <chenyuzh@vmware.com>
2023-06-29 11:28:19 +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
954f1f3d06
bump up github.com/distribution/distribution v2.8.2 ( #18687 )
...
Signed-off-by: yminer <yminer@vmware.com>
Co-authored-by: Wang Yan <wangyan@vmware.com>
2023-05-17 11:58:43 +08:00
Eng Zer Jun
18a33c2b40
chore: replace github.com/ghodss/yaml
with sigs.k8s.io/yaml
( #18606 )
...
At the time of making this commit, the package `github.com/ghodss/yaml`
is no longer actively maintained.
`sigs.k8s.io/yaml` is a permanent fork of `ghodss/yaml` and is actively
maintained by Kubernetes SIG.
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
Co-authored-by: Wang Yan <wangyan@vmware.com>
Co-authored-by: MinerYang <yminer@vmware.com>
2023-05-12 18:21:26 +08:00
MinerYang
8df99a5116
bump golang.org/x/net && helm.sh/helm/v3 on main ( #18545 )
...
bump golang.org/x/net v0.9.0 on main
Signed-off-by: yminer <yminer@vmware.com>
bump helm.sh/helm/v3 v3.11.3
2023-04-18 19:18:04 +08:00
Shijun Sun
2b3f178a50
Upgrade Golang packages ( #18376 )
...
1. Upgrade golang.org/x/net to 0.7.0
2. Upgrade helm.sh/helm/v3 to 3.11.1
Signed-off-by: AllForNothing <sshijun@vmware.com>
2023-03-20 15:59:37 +08:00
Daniel Jiang
bea8dece07
feat: upgrade golang to 1.20.1 ( #18370 )
...
Signed-off-by: Shengwen Yu <yshengwen@vmware.com>
Co-authored-by: Shengwen Yu <yshengwen@vmware.com>
Co-authored-by: Wang Yan <wangyan@vmware.com>
2023-03-17 17:49:44 +08:00
MinerYang
e76aff6a0a
add external redis username config to support redis6 ACL ( #18364 )
...
add external redis username o support redis6 ACL
Signed-off-by: yminer <yminer@vmware.com>
2023-03-17 14:16:19 +08:00
Chlins Zhang
65e675d2e6
feat: integrate CloudEvents to webhook ( #18322 )
...
Integrate CloudEvents as payload format for webhook.
Closes : #17748
Signed-off-by: chlins <chenyuzh@vmware.com>
2023-03-14 10:44:25 +08:00
Wang Yan
9b61d34c4c
add referrers api ( #18324 )
...
add referrers api
The define of referrers api in the upstream oci spec: https://github.com/opencontainers/distribution-spec/blob/v1.1.0-rc1/spec.md#listing-referrers
Signed-off-by: Wang Yan <wangyan@vmware.com>
2023-03-12 15:28:37 +08:00
MinerYang
ba5baca769
bump up helm/v3/pkg to v3.10.3 on main ( #18050 )
...
Signed-off-by: yminer <yminer@vmware.com>
Signed-off-by: yminer <yminer@vmware.com>
2023-01-04 15:42:32 +08: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
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
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
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
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
MinerYang
6f4d84ecdb
bump up golang.org/x/text to v0.4.0 ( #17689 )
...
bump up golang.org/x/text tp v0.4.0
Signed-off-by: yminer <yminer@vmware.com>
Signed-off-by: yminer <yminer@vmware.com>
2022-10-27 13:19:57 +08:00
MinerYang
c5417a2d00
bump up helm.sh/helm/v3 ( #17698 )
...
bump helm.sh/helm/v3 to achieve the purpose of bump up github.com/docker/cli indirectly
Signed-off-by: yminer <yminer@vmware.com>
Signed-off-by: yminer <yminer@vmware.com>
2022-10-27 13:19:09 +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
Wang Yan
848167c4e0
bump dependencies ( #17549 )
...
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
- dependency-name: golang.org/x/net
- dependency-name: helm.sh/helm/v3
Signed-off-by: Wang Yan <wangyan@vmware.com>
Signed-off-by: Wang Yan <wangyan@vmware.com>
2022-09-15 16:50:16 +08:00
lengrongfu
dac3c7b31d
fix: distribution v2.8.0 tag does not match checksum ( #17306 )
...
Signed-off-by: lengrongfu <1275177125@qq.com>
2022-08-03 17:43:37 +08:00
Chenyu Zhang
bbc7282c46
upgrade: bump up beego to 1.12.11 ( #17277 )
...
Signed-off-by: chlins <chenyuzh@vmware.com>
2022-07-31 16:23:28 +08:00
prahaladdarkin
130452111b
Vulnerability scan data export functionality ( #15998 )
...
Vulnerability Scan Data (CVE) Export Functionality
Proposal - goharbor/community#174
Closes - https://github.com/goharbor/harbor/issues/17150
Changes:
* CVE Data export to CSV with filtering support.
* Implement CSV data export job for creating CSVs
* APIs to trigger CSV export job executions
Signed-off-by: prahaladdarkin <prahaladd@vmware.com>
2022-07-11 16:35:04 +08:00
MinerYang
8485da240d
bump up github.com/containerd/containerd to v1.5.13 ( #17129 )
...
Signed-off-by: yminer <yminer@vmware.com>
2022-07-07 08:53:43 +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
stonezdj(Daojun Zhang)
0dc7a6806c
Add NextScheduledTime in schedule object ( #16925 )
...
Add NextSchedule in utils
Add NextScheduledTime in ScheduleObj to display it in UI
Signed-off-by: stonezdj <stonezdj@gmail.com>
2022-06-06 22:17:41 +08:00
MinerYang
db45155365
bump up beego from v1.12.7 to v1.12.9 ( #16904 )
...
Signed-off-by: yminer <yminer@vmmware.com>
Co-authored-by: yminer <yminer@vmmware.com>
2022-05-24 12:18:48 +08:00
MinerYang
083b44e719
bump up astaxie/beego@v1.12.1 to beego/beego/@v1.12.7 ( #16770 )
...
Signed-off-by: yminer <yminer@vmmware.com>
goo mod tidy
Signed-off-by: yminer <yminer@vmmware.com>
Co-authored-by: yminer <yminer@vmmware.com>
2022-04-28 11:58:44 +08:00
chlins
5be0b93caa
refactor: import go-redis to core as replacement of redigo
...
Signed-off-by: chlins <chenyuzh@vmware.com>
2022-03-15 20:44:44 +08:00
MinerYang
2260475d55
bump up github.com/containerd/containerd to v1.5.10 ( #16469 )
...
Co-authored-by: yminer <yminer@vmmware.com>
2022-03-04 14:12:47 +08:00
MinerYang
4a9107af93
replace with github.com/distribution/distribution v2.8.0+incompatible ( #16460 )
...
Signed-off-by: yminer <yminer@vmmware.com>
Co-authored-by: yminer <yminer@vmmware.com>
2022-03-03 16:35:02 +08:00
MinerYang
848efd067d
bump up github.com/docker/distribution to v2.8.0+incompatible ( #16435 )
...
Signed-off-by: yminer <yminer@vmmware.com>
rgoo mod vendor
Signed-off-by: yminer <yminer@vmmware.com>
Co-authored-by: yminer <yminer@vmmware.com>
2022-03-01 17:29:02 +08:00
Wang Yan
cda127c27e
bump up containerd to 1.5.9 ( #16316 )
...
Signed-off-by: Wang Yan <wangyan@vmware.com>
2022-01-29 18:00:23 +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
MinerYang
719155d595
bump up github.com/opencontainers/runc to v1.0.3 ( #16202 )
...
Signed-off-by: yminer <yminer@vmmware.com>
Co-authored-by: yminer <yminer@vmmware.com>
2022-01-14 14:19:31 +08:00
Wang Yan
91e406ba60
bump up dep versions ( #16038 )
...
1, upgrade containerd to v1.14.12
2. upgrade image-spec to v1.0.2
Signed-off-by: wy65701436 <wangyan@vmware.com>
2021-11-23 10:32:29 +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
Wang Yan
5c92b2f308
bump up containerd version ( #15752 )
...
Signed-off-by: Wang Yan <wangyan@vmware.com>
2021-10-11 17:45:21 +08:00