Commit Graph

1907 Commits

Author SHA1 Message Date
Gaius 6ad8db588c
feat: local dynconfig notifies data in client (#2264)
Dfdaemon will fail the health check if there is no available scheduler address.
So in the case of local dynconfig, the address of scheduler should be passed.
For dfdaemon health check, please refer to https://github.com/dragonflyoss/Dragonfly2/pull/2130.

Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:45 +08:00
Jim Ma b38b5fcbeb
fix: client grpc dial non-block (#2261)
Signed-off-by: Jim Ma <majinjing3@gmail.com>
2023-06-28 17:34:45 +08:00
Gaius 4fc538dbd4
chore: update dingtalk group qrcode (#2262)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:45 +08:00
dependabot[bot] 25991427ab
chore(deps): bump github.com/casbin/casbin/v2 from 2.66.1 to 2.66.3 (#2260)
Bumps [github.com/casbin/casbin/v2](https://github.com/casbin/casbin) from 2.66.1 to 2.66.3.
- [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.66.1...v2.66.3)

---
updated-dependencies:
- dependency-name: github.com/casbin/casbin/v2
  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:45 +08:00
dependabot[bot] 4ac0b5320b
chore(deps): bump github.com/swaggo/gin-swagger from 1.5.3 to 1.6.0 (#2256)
Bumps [github.com/swaggo/gin-swagger](https://github.com/swaggo/gin-swagger) from 1.5.3 to 1.6.0.
- [Release notes](https://github.com/swaggo/gin-swagger/releases)
- [Changelog](https://github.com/swaggo/gin-swagger/blob/master/.goreleaser.yml)
- [Commits](https://github.com/swaggo/gin-swagger/compare/v1.5.3...v1.6.0)

---
updated-dependencies:
- dependency-name: github.com/swaggo/gin-swagger
  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:44 +08:00
dlut_xz c5549c82e3
fix: modify the traversal condition for Items (#2250)
Signed-off-by: XZ <834756128@qq.com>
Signed-off-by: Gaius <gaius.qi@gmail.com>
Co-authored-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:44 +08:00
Gaius 633e5d1742
docs: optimize Community description in README.md (#2255)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:44 +08:00
Jim Ma 94a7c7639f
feat: update resource director (#2243)
* feat: update resource director
* chore: add digest check for oras

Signed-off-by: Jim Ma <majinjing3@gmail.com>
2023-06-28 17:34:44 +08:00
Gaius 65bf673d2d
fix: ip and hostname params in FindSchedulerClusters (#2249)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:44 +08:00
Gaius 81c647bd0f
chore: change gorm-adaptor version to v3.5.0 (#2247)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:44 +08:00
Gaius 5c638f57c1
chore: add features swagger config (#2246)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:44 +08:00
dependabot[bot] 0ad37f2650
chore(deps): bump github.com/gin-gonic/gin from 1.8.2 to 1.9.0 (#2241)
Bumps [github.com/gin-gonic/gin](https://github.com/gin-gonic/gin) from 1.8.2 to 1.9.0.
- [Release notes](https://github.com/gin-gonic/gin/releases)
- [Changelog](https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gin-gonic/gin/compare/v1.8.2...v1.9.0)

---
updated-dependencies:
- dependency-name: github.com/gin-gonic/gin
  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:44 +08:00
dependabot[bot] 78e5101464
chore(deps): bump github.com/casbin/casbin/v2 from 2.65.2 to 2.66.1 (#2238)
Bumps [github.com/casbin/casbin/v2](https://github.com/casbin/casbin) from 2.65.2 to 2.66.1.
- [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.65.2...v2.66.1)

---
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:44 +08:00
dlut_xz 734ea4c522
feat: add CreatedAt function (#2244)
Signed-off-by: XZ <834756128@qq.com>
2023-06-28 17:34:44 +08:00
dependabot[bot] c364061847
chore(deps): bump github.com/aws/aws-sdk-go from 1.44.229 to 1.44.234 (#2240)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.44.229 to 1.44.234.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.44.229...v1.44.234)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  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:43 +08:00
dependabot[bot] 083d20e565
chore(deps): bump github.com/shirou/gopsutil/v3 from 3.23.2 to 3.23.3 (#2239)
Bumps [github.com/shirou/gopsutil/v3](https://github.com/shirou/gopsutil) from 3.23.2 to 3.23.3.
- [Release notes](https://github.com/shirou/gopsutil/releases)
- [Commits](https://github.com/shirou/gopsutil/compare/v3.23.2...v3.23.3)

---
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:43 +08:00
dependabot[bot] 279b6f3ec0
chore(deps): bump github.com/casbin/gorm-adapter/v3 from 3.5.0 to 3.15.0 (#2237)
Bumps [github.com/casbin/gorm-adapter/v3](https://github.com/casbin/gorm-adapter) from 3.5.0 to 3.15.0.
- [Release notes](https://github.com/casbin/gorm-adapter/releases)
- [Changelog](https://github.com/casbin/gorm-adapter/blob/master/.releaserc.json)
- [Commits](https://github.com/casbin/gorm-adapter/compare/v3.5.0...v3.15.0)

---
updated-dependencies:
- dependency-name: github.com/casbin/gorm-adapter/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>
2023-06-28 17:34:43 +08:00
MIchaelFU0403 406545cbbc
feat: add trainer configuration (#2216)
Signed-off-by: MIchaelFU0403 <1078537664@qq.com>
2023-06-28 17:34:43 +08:00
Gaius 86fb02b333
feat: update d7y.io/api package and change cpu percent validation (#2236)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:43 +08:00
Jim Ma 144335ffb1
feat: add authinfo injector (#2149)
Signed-off-by: Jim Ma <majinjing3@gmail.com>
2023-06-28 17:34:43 +08:00
Gaius 4f65acf24e
feat: when the cache is missing, change the error log to a warning log (#2235)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:43 +08:00
Gaius 7900835c48
feat: if the scheduler feature is not in feature flags, then it will stop providing the featrue (#2234)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:43 +08:00
MinH-09 fa59bde001
feat: add train interval and trainer addresses (#2223)
Signed-off-by: MinH-09 <2107139596@qq.com>
2023-06-28 17:34:43 +08:00
Gaius acb8f70f90
feat: add logger.CoreLogger to searcher plugin (#2232)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:42 +08:00
Gaius 152e0c0946
feat: add log to searcher plugin (#2231)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:42 +08:00
Jim Ma c82ebec8e0
chore: update traffic shaper log (#2227)
Signed-off-by: Jim Ma <majinjing3@gmail.com>
2023-06-28 17:34:42 +08:00
Jim Ma 74e8e65b0b
fix: traffic shaper record task not found (#2226)
Signed-off-by: Jim Ma <majinjing3@gmail.com>
2023-06-28 17:34:42 +08:00
Gaius 2765aa8c35
fix: fsm events failed when register task (#2225)
fix: fsm events failed when register task.

When there is a high concurrency of registration tasks,
it can cause error InTransitionError, because of looplab/fsm library
uses optimistic locking to implement state transitions,
refer to https://github.com/looplab/fsm/blob/main/fsm.go#L312.

Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:42 +08:00
dlut_xz 0a9cd254f4
feat: add probes struct (#2190)
Signed-off-by: XZ <834756128@qq.com>
Signed-off-by: Gaius <gaius.qi@gmail.com>
Co-authored-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:42 +08:00
dependabot[bot] bcbf551f7f
chore(deps): bump github.com/aws/aws-sdk-go from 1.44.224 to 1.44.229 (#2221)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.44.224 to 1.44.229.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.44.224...v1.44.229)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  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:42 +08:00
dependabot[bot] 690c5307f2
chore(deps): bump github.com/go-playground/validator/v10 from 10.11.2 to 10.12.0 (#2220)
chore(deps): bump github.com/go-playground/validator/v10

Bumps [github.com/go-playground/validator/v10](https://github.com/go-playground/validator) from 10.11.2 to 10.12.0.
- [Release notes](https://github.com/go-playground/validator/releases)
- [Commits](https://github.com/go-playground/validator/compare/v10.11.2...v10.12.0)

---
updated-dependencies:
- dependency-name: github.com/go-playground/validator/v10
  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:42 +08:00
dependabot[bot] 71a4ca1f0c
chore(deps): bump go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin from 0.37.0 to 0.40.0 (#2219)
chore(deps): bump go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin

Bumps [go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin](https://github.com/gin-gonic/gin) from 0.37.0 to 0.40.0.
- [Release notes](https://github.com/gin-gonic/gin/releases)
- [Changelog](https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/gin-gonic/gin/commits)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin
  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:42 +08:00
dependabot[bot] 91b5de2c8f
chore(deps): bump github.com/aliyun/aliyun-oss-go-sdk from 2.2.6+incompatible to 2.2.7+incompatible (#2218)
chore(deps): bump github.com/aliyun/aliyun-oss-go-sdk

Bumps [github.com/aliyun/aliyun-oss-go-sdk](https://github.com/aliyun/aliyun-oss-go-sdk) from 2.2.6+incompatible to 2.2.7+incompatible.
- [Release notes](https://github.com/aliyun/aliyun-oss-go-sdk/releases)
- [Changelog](https://github.com/aliyun/aliyun-oss-go-sdk/blob/master/CHANGELOG.md)
- [Commits](https://github.com/aliyun/aliyun-oss-go-sdk/compare/v2.2.6...v2.2.7)

---
updated-dependencies:
- dependency-name: github.com/aliyun/aliyun-oss-go-sdk
  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:42 +08:00
dependabot[bot] 1d2b439c1c
chore(deps): bump gorm.io/driver/postgres from 1.4.8 to 1.5.0 (#2217)
Bumps [gorm.io/driver/postgres](https://github.com/go-gorm/postgres) from 1.4.8 to 1.5.0.
- [Release notes](https://github.com/go-gorm/postgres/releases)
- [Commits](https://github.com/go-gorm/postgres/compare/v1.4.8...v1.5.0)

---
updated-dependencies:
- dependency-name: gorm.io/driver/postgres
  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:41 +08:00
MinH-09 1994765fce
feat: add trainer config in scheduler (#2214)
Signed-off-by: MinH-09 <2107139596@qq.com>
2023-06-28 17:34:41 +08:00
Gaius 7a1ae0a2ee
test: add new metrics test to service (#2212)
test: add new metric test to service

Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:41 +08:00
Gaius 9b9cd56060
chore: format ci action
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:41 +08:00
Gaius 9108e53296
chore: add Mohammed Farooq to MAINTAINERS (#2211)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:41 +08:00
Gaius 11c68c5879
feat: add tfserving service to rpc package (#2210)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:41 +08:00
Gaius f8934e701b
feat: add trainer service to rpc package (#2209)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:41 +08:00
Gaius baf581ea63
feat: rename security client file name (#2208)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:41 +08:00
Gaius 6b7dcfef50
feat: add CreateModel func to manager grpc client (#2207)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:41 +08:00
Gaius 6ac9f7f305
feat: rename SecurityService to Security (#2206)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:41 +08:00
Gaius 2cda1def7f
feat: rename HostName to Hostname (#2205)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:40 +08:00
Gaius 9639918c0f
feat: remove model migration (#2204)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:40 +08:00
dependabot[bot] 10eeccfe69
chore(deps): bump actions/setup-go from 3 to 4 (#2202)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 3 to 4.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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:40 +08:00
dependabot[bot] 3f9c5c34ae
chore(deps): bump google.golang.org/api from 0.109.0 to 0.114.0 (#2201)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.109.0 to 0.114.0.
- [Release notes](https://github.com/googleapis/google-api-go-client/releases)
- [Changelog](https://github.com/googleapis/google-api-go-client/blob/main/CHANGES.md)
- [Commits](https://github.com/googleapis/google-api-go-client/compare/v0.109.0...v0.114.0)

---
updated-dependencies:
- dependency-name: google.golang.org/api
  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:40 +08:00
dependabot[bot] 6a5bb7f0b2
chore(deps): bump github.com/aws/aws-sdk-go from 1.44.209 to 1.44.224 (#2200)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.44.209 to 1.44.224.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.44.209...v1.44.224)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  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:40 +08:00
dependabot[bot] 3ca920612b
chore(deps): bump github.com/schollz/progressbar/v3 from 3.13.0 to 3.13.1 (#2199)
chore(deps): bump github.com/schollz/progressbar/v3

Bumps [github.com/schollz/progressbar/v3](https://github.com/schollz/progressbar) from 3.13.0 to 3.13.1.
- [Release notes](https://github.com/schollz/progressbar/releases)
- [Commits](https://github.com/schollz/progressbar/compare/v3.13.0...v3.13.1)

---
updated-dependencies:
- dependency-name: github.com/schollz/progressbar/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:40 +08:00
dependabot[bot] b4b824978e
chore(deps): bump golang.org/x/oauth2 from 0.5.0 to 0.6.0 (#2198)
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/golang/oauth2/releases)
- [Commits](https://github.com/golang/oauth2/compare/v0.5.0...v0.6.0)

---
updated-dependencies:
- dependency-name: golang.org/x/oauth2
  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:40 +08:00