Gaius
6bc886a8a2
feat: remove model api ( #2194 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:39 +08:00
Gaius
ae884dde79
feat: add inference model table in database ( #2192 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:39 +08:00
Gaius
b1171f4bd4
feat: rename manager/model to manager/models ( #2191 )
...
The manager model package is renamed to models to
prevent the same name as the future inference model database table.
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:39 +08:00
Gaius
87a7f1e130
feat: add advertisePort to manager ( #2189 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:39 +08:00
AdamQQQ
5febe6b9f8
chore: update nydus-snapshotter helm-charts to v0.0.4 ( #2188 )
...
Signed-off-by: Qinqi Qu <quqinqi@linux.alibaba.com>
2023-06-28 17:34:39 +08:00
Garen Wen
0f66064a3a
feat: add advertise port ( #2156 )
...
Co-authored-by: wenmanxiang <wenmanxiang@baidu.com>
2023-06-28 17:34:39 +08:00
Waleed Malik
907774969a
chore: migrate from k8s.gcr.io to registry.k8s.io ( #2186 )
...
Signed-off-by: Waleed Malik <ahmedwaleedmalik@gmail.com>
2023-06-28 17:34:39 +08:00
Garen Wen
813c2c61c9
feat:add default build param GOOS GOARCH ( #2155 )
...
Co-authored-by: wenmanxiang <wenmanxiang@baidu.com>
2023-06-28 17:34:38 +08:00
Gaius
378583824d
chore: change the compatibility testing version of manager and scheduler to v2.0.9 ( #2184 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:38 +08:00
Gaius
2079748cf0
chore: add build-man-page to makefile ( #2182 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:38 +08:00
Gaius
166c57d44b
chore: release v2.0.9 and generate changelog ( #2181 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:38 +08:00
Gaius
224b951e63
fix: stat DownloadPeerCount and DownloadPieceCount ( #2180 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:38 +08:00
Gaius
a2c7155751
fix: manager metrics Subsystem ( #2175 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:38 +08:00
Gaius
00ef3c6b50
chore: change codecov rules ( #2174 )
2023-06-28 17:34:38 +08:00
Zhou Hao
bc0105a8d0
test: improve Test_parseByte ( #2173 )
...
Signed-off-by: Zhou Hao <zhouhao@fujitsu.com>
2023-06-28 17:34:38 +08:00
Zhou Hao
eff06c9fe3
test: add UT for byte String function ( #2170 )
...
Signed-off-by: Zhou Hao <zhouhao@fujitsu.com>
2023-06-28 17:34:38 +08:00
Gaius
8b65c0c913
feat: add error log to database in manager ( #2172 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:38 +08:00
Gaius
9a13762e9c
docs: add Volcano Engine to ADOPTERS.md ( #2169 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:37 +08:00
Zhou Hao
fd8e088c91
test: improve TestMin ( #2168 )
...
Improve test coverage from 90% to 100%.
Signed-off-by: Zhou Hao <zhouhao@fujitsu.com>
2023-06-28 17:34:37 +08:00
dependabot[bot]
9b45f78bc1
chore(deps): bump moul.io/zapgorm2 from 1.2.0 to 1.3.0 ( #2167 )
...
Bumps [moul.io/zapgorm2](https://github.com/moul/zapgorm2 ) from 1.2.0 to 1.3.0.
- [Release notes](https://github.com/moul/zapgorm2/releases )
- [Changelog](https://github.com/moul/zapgorm2/blob/master/.releaserc.js )
- [Commits](https://github.com/moul/zapgorm2/compare/v1.2.0...v1.3.0 )
---
updated-dependencies:
- dependency-name: moul.io/zapgorm2
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>
2023-06-28 17:34:37 +08:00
dependabot[bot]
b9ce6ffc45
chore(deps): bump github.com/shirou/gopsutil/v3 from 3.23.1 to 3.23.2 ( #2166 )
...
Bumps [github.com/shirou/gopsutil/v3](https://github.com/shirou/gopsutil ) from 3.23.1 to 3.23.2.
- [Release notes](https://github.com/shirou/gopsutil/releases )
- [Commits](https://github.com/shirou/gopsutil/compare/v3.23.1...v3.23.2 )
---
updated-dependencies:
- dependency-name: github.com/shirou/gopsutil/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>
2023-06-28 17:34:37 +08:00
dependabot[bot]
4d9ba92963
chore(deps): bump github.com/casbin/casbin/v2 from 2.64.0 to 2.65.2 ( #2164 )
...
Bumps [github.com/casbin/casbin/v2](https://github.com/casbin/casbin ) from 2.64.0 to 2.65.2.
- [Release notes](https://github.com/casbin/casbin/releases )
- [Changelog](https://github.com/casbin/casbin/blob/master/.releaserc.json )
- [Commits](https://github.com/casbin/casbin/compare/v2.64.0...v2.65.2 )
---
updated-dependencies:
- dependency-name: github.com/casbin/casbin/v2
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>
2023-06-28 17:34:37 +08:00
dependabot[bot]
a2f29cc5aa
chore(deps): bump golang.org/x/crypto from 0.6.0 to 0.7.0 ( #2163 )
...
Bumps [golang.org/x/crypto](https://github.com/golang/crypto ) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/golang/crypto/releases )
- [Commits](https://github.com/golang/crypto/compare/v0.6.0...v0.7.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/crypto
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>
2023-06-28 17:34:37 +08:00
Zhou Hao
07613d8ea2
refactor: improve the performance of the code ( #2162 )
...
Signed-off-by: Zhou Hao <zhouhao@fujitsu.com>
2023-06-28 17:34:37 +08:00
Gaius
e9da69dc40
feat: add auth config to manager ( #2161 )
...
Fix https://github.com/dragonflyoss/Dragonfly2/security/advisories/GHSA-hpc8-7wpm-889w .
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:37 +08:00
Zhou Hao
d1d8eb4a39
refactor: optimize certifyCache Get function ( #2160 )
...
Signed-off-by: Zhou Hao <zhouhao@fujitsu.com>
2023-06-28 17:34:37 +08:00
Zhou Hao
f1f9f97fa3
test: add UT for MustParseRang ( #2158 )
...
Signed-off-by: Zhou Hao <zhouhao@fujitsu.com>
2023-06-28 17:34:37 +08:00
Zhou Hao
2db4903f2c
fix: remove unnecessary fmt.Sprintf calls ( #2159 )
...
Signed-off-by: Zhou Hao <zhouhao@fujitsu.com>
2023-06-28 17:34:36 +08:00
Zhou Hao
2aa2edcfeb
test: improve TestFilterQuery ( #2157 )
...
Signed-off-by: Zhou Hao <zhouhao@fujitsu.com>
2023-06-28 17:34:36 +08:00
Gaius
6d13b4a871
feat: add metrics to service v2 ( #2153 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:36 +08:00
Gaius
87873bf146
feat: add SearchSchedulerClusterCount metric to manager ( #2152 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:36 +08:00
Gaius
17649a069c
feat: implement announce peer ( #2150 )
...
feat: implement announce peer api
Add handleDownloadPeerStartedRequest, handleDownloadPeerBackToSourceStartedRequest,
handleDownloadPeerFinishedRequest, handleDownloadPeerBackToSourceFinishedRequest,
handleDownloadPeerFailedRequest, handleDownloadPeerBackToSourceFailedRequest,
handleDownloadPieceFinishedRequest, handleDownloadPieceBackToSourceFinishedRequest,
handleDownloadPieceFailedRequest and handleDownloadPieceBackToSourceFailedRequest,
to AnnouncePeer service api.
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:36 +08:00
Gaius
ff63681e88
feat: add handleRegisterSeedPeerRequest to service v2 in scheduler ( #2148 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:36 +08:00
Gaius
047a55fb84
feat: add handleRegisterSeedPeerRequest to AnnouncePeer in service v2 ( #2147 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:36 +08:00
dependabot[bot]
cff4d31f72
chore(deps): bump gorm.io/gorm from 1.24.5 to 1.24.6 ( #2143 )
...
Bumps [gorm.io/gorm](https://github.com/go-gorm/gorm ) from 1.24.5 to 1.24.6.
- [Release notes](https://github.com/go-gorm/gorm/releases )
- [Commits](https://github.com/go-gorm/gorm/compare/v1.24.5...v1.24.6 )
---
updated-dependencies:
- dependency-name: gorm.io/gorm
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>
2023-06-28 17:34:36 +08:00
dependabot[bot]
6fa0f6aa72
chore(deps): bump go.opentelemetry.io/otel/exporters/jaeger from 1.13.0 to 1.14.0 ( #2144 )
...
chore(deps): bump go.opentelemetry.io/otel/exporters/jaeger
Bumps [go.opentelemetry.io/otel/exporters/jaeger](https://github.com/open-telemetry/opentelemetry-go ) from 1.13.0 to 1.14.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go/releases )
- [Changelog](https://github.com/open-telemetry/opentelemetry-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/open-telemetry/opentelemetry-go/compare/v1.13.0...v1.14.0 )
---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/exporters/jaeger
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>
2023-06-28 17:34:36 +08:00
dependabot[bot]
497cdd2ebb
chore(deps): bump gorm.io/driver/postgres from 1.4.6 to 1.4.8 ( #2142 )
...
Bumps [gorm.io/driver/postgres](https://github.com/go-gorm/postgres ) from 1.4.6 to 1.4.8.
- [Release notes](https://github.com/go-gorm/postgres/releases )
- [Commits](https://github.com/go-gorm/postgres/compare/v1.4.6...v1.4.8 )
---
updated-dependencies:
- dependency-name: gorm.io/driver/postgres
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>
2023-06-28 17:34:36 +08:00
dependabot[bot]
d98707a1cd
chore(deps): bump github.com/stretchr/testify from 1.8.1 to 1.8.2 ( #2140 )
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.8.1 to 1.8.2.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.8.1...v1.8.2 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
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>
2023-06-28 17:34:35 +08:00
Gaius
0192083a98
docs: add OpenSSF badge to README.md ( #2138 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:35 +08:00
Gaius
a498cfcf59
docs: add public cloud providers Adopters.md ( #2137 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:35 +08:00
Matias Insaurralde
0b4a76ca80
Compile API group regexp only once ( #2135 )
...
refactor: compile API group regexp only once
2023-06-28 17:34:35 +08:00
Gaius
58104eb726
chore: add Garen Wen to maintainers ( #2136 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:35 +08:00
Gaius
b0e6089783
feat: change ScheduleCandidateParentsForNormalPeer implement ( #2133 )
...
Change ScheduleCandidateParentsForNormalPeer implement.
Remove TaskStateLeave event in task GC.
Implement AnnouncePeer in service v2.
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:35 +08:00
Jim Ma
f5aff5e27f
feat: enhance daemon health check ( #2130 )
...
Signed-off-by: Jim Ma <majinjing3@gmail.com>
2023-06-28 17:34:35 +08:00
Gaius
c672e75ed8
test: add Validate test to scheduler config ( #2129 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:35 +08:00
Gaius
06022edd15
test: add Validate test to manager config ( #2128 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:35 +08:00
Guangwen Feng
bb54e7b28a
Fix a minor typo ( #2127 )
...
Signed-off-by: Guangwen Feng <fenggw-fnst@fujitsu.com>
2023-06-28 17:34:35 +08:00
Gaius
6ae36555be
test: refactor client validate ut ( #2126 )
...
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:34 +08:00
Gaius
670c892898
feat: implement v2 version of scheduler service ( #2125 )
...
Implement StatTask, AnnounceHost and LeaveHost api in
scheduler service v2.
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:34 +08:00
dependabot[bot]
7f1ca00df8
chore(deps): bump github.com/casbin/casbin/v2 from 2.61.1 to 2.64.0 ( #2123 )
...
Bumps [github.com/casbin/casbin/v2](https://github.com/casbin/casbin ) from 2.61.1 to 2.64.0.
- [Release notes](https://github.com/casbin/casbin/releases )
- [Changelog](https://github.com/casbin/casbin/blob/master/.releaserc.json )
- [Commits](https://github.com/casbin/casbin/compare/v2.61.1...v2.64.0 )
---
updated-dependencies:
- dependency-name: github.com/casbin/casbin/v2
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>
2023-06-28 17:34:34 +08:00