Commit Graph

1653 Commits

Author SHA1 Message Date
Gaius ad9d279dc5
feat: remove compatibility logic for manager config testing (#2342)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:50 +08:00
Gaius b80b4acbe4
feat: optimize job new in internal (#2341)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:49 +08:00
dependabot[bot] 602206495a
chore(deps): bump go.opentelemetry.io/otel/trace from 1.15.0 to 1.15.1 (#2335)
Bumps [go.opentelemetry.io/otel/trace](https://github.com/open-telemetry/opentelemetry-go) from 1.15.0 to 1.15.1.
- [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.15.0...v1.15.1)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/trace
  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:49 +08:00
dependabot[bot] ab3727705b
chore(deps): bump github.com/aws/aws-sdk-go from 1.44.244 to 1.44.258 (#2334)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.44.244 to 1.44.258.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Changelog](https://github.com/aws/aws-sdk-go/blob/main/CHANGELOG_PENDING.md)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.44.244...v1.44.258)

---
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:49 +08:00
dependabot[bot] 747e4648ab
chore(deps): bump github.com/go-sql-driver/mysql from 1.7.0 to 1.7.1 (#2333)
Bumps [github.com/go-sql-driver/mysql](https://github.com/go-sql-driver/mysql) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/go-sql-driver/mysql/releases)
- [Changelog](https://github.com/go-sql-driver/mysql/blob/master/CHANGELOG.md)
- [Commits](https://github.com/go-sql-driver/mysql/compare/v1.7.0...v1.7.1)

---
updated-dependencies:
- dependency-name: github.com/go-sql-driver/mysql
  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:49 +08:00
dependabot[bot] ca1c07f5d5
chore(deps): bump github.com/onsi/ginkgo/v2 from 2.7.1 to 2.9.4 (#2332)
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.7.1 to 2.9.4.
- [Release notes](https://github.com/onsi/ginkgo/releases)
- [Changelog](https://github.com/onsi/ginkgo/blob/master/CHANGELOG.md)
- [Commits](https://github.com/onsi/ginkgo/compare/v2.7.1...v2.9.4)

---
updated-dependencies:
- dependency-name: github.com/onsi/ginkgo/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:49 +08:00
dependabot[bot] f01a4d01ed
chore(deps): bump github.com/swaggo/swag from 1.8.12 to 1.16.1 (#2331)
Bumps [github.com/swaggo/swag](https://github.com/swaggo/swag) from 1.8.12 to 1.16.1.
- [Release notes](https://github.com/swaggo/swag/releases)
- [Changelog](https://github.com/swaggo/swag/blob/master/.goreleaser.yml)
- [Commits](https://github.com/swaggo/swag/compare/v1.8.12...v1.16.1)

---
updated-dependencies:
- dependency-name: github.com/swaggo/swag
  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:49 +08:00
Jim Ma 276333fceb
fix: SyncPieceViaHTTPS not work (#2329)
Signed-off-by: Jim Ma <majinjing3@gmail.com>
2023-06-28 17:34:49 +08:00
Gaius 2287adca60
fix: object downloads failed by dfstore when dfdaemon enabled concurrent (#2328)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:49 +08:00
Gaius d256d181b8
feat: remove log of configuration (#2322)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:49 +08:00
Gaius 6f866ad858
chore: update timeout in actions (#2320)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:49 +08:00
Gaius 65ec5b2906
feat: rename createRecord to createDownloadRecord (#2306)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:48 +08:00
dependabot[bot] 748922114c
chore(deps): bump go.opentelemetry.io/otel/trace from 1.14.0 to 1.15.0 (#2313)
Bumps [go.opentelemetry.io/otel/trace](https://github.com/open-telemetry/opentelemetry-go) from 1.14.0 to 1.15.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.14.0...v1.15.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/trace
  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:48 +08:00
dependabot[bot] a422a4a6ce
chore(deps): bump gorm.io/driver/mysql from 1.4.7 to 1.5.0 (#2312)
Bumps [gorm.io/driver/mysql](https://github.com/go-gorm/mysql) from 1.4.7 to 1.5.0.
- [Release notes](https://github.com/go-gorm/mysql/releases)
- [Commits](https://github.com/go-gorm/mysql/compare/v1.4.7...v1.5.0)

---
updated-dependencies:
- dependency-name: gorm.io/driver/mysql
  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:48 +08:00
dependabot[bot] bfcde075e2
chore(deps): bump golang.org/x/oauth2 from 0.6.0 to 0.7.0 (#2310)
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/golang/oauth2/releases)
- [Commits](https://github.com/golang/oauth2/compare/v0.6.0...v0.7.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:48 +08:00
dependabot[bot] 63a1368e8e
chore(deps): bump golang.org/x/crypto from 0.7.0 to 0.8.0 (#2311)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/golang/crypto/releases)
- [Commits](https://github.com/golang/crypto/compare/v0.7.0...v0.8.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:48 +08:00
Gaius ca23e97e9a
feat: add CORS middleware to manager (#2304)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:48 +08:00
dependabot[bot] 27642a8de0
chore(deps): bump github.com/prometheus/client_golang from 1.14.0 to 1.15.0 (#2299)
chore(deps): bump github.com/prometheus/client_golang

Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.14.0 to 1.15.0.
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prometheus/client_golang/compare/v1.14.0...v1.15.0)

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  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:48 +08:00
fyx 8b351a6515
feat: add metrics for trainer (#2293)
Signed-off-by: MIchaelFU0403 <1078537664@qq.com>
2023-06-28 17:34:48 +08:00
Gaius 8787b0b239
feat: add Access-Control-Allow-Credentials to rest api (#2302)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:48 +08:00
dependabot[bot] ee5c32b446
chore(deps): bump github.com/bits-and-blooms/bitset from 1.5.0 to 1.7.0 (#2300)
Bumps [github.com/bits-and-blooms/bitset](https://github.com/bits-and-blooms/bitset) from 1.5.0 to 1.7.0.
- [Release notes](https://github.com/bits-and-blooms/bitset/releases)
- [Commits](https://github.com/bits-and-blooms/bitset/compare/v1.5.0...v1.7.0)

---
updated-dependencies:
- dependency-name: github.com/bits-and-blooms/bitset
  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:48 +08:00
dependabot[bot] d701b381de
chore(deps): bump github.com/casbin/gorm-adapter/v3 from 3.5.0 to 3.16.1 (#2298)
Bumps [github.com/casbin/gorm-adapter/v3](https://github.com/casbin/gorm-adapter) from 3.5.0 to 3.16.1.
- [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.16.1)

---
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:47 +08:00
dependabot[bot] db32e43ae3
chore(deps): bump golang.org/x/sys from 0.6.0 to 0.7.0 (#2297)
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/golang/sys/releases)
- [Commits](https://github.com/golang/sys/compare/v0.6.0...v0.7.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  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:47 +08:00
Gaius e9cb38e851
feat: remove SyncNetworkTopology API (#2296)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:47 +08:00
Gaius e403e62551
feat: move redis package to pkg dir (#2294)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:47 +08:00
Gaius 95237bd5f8
feat: optimize model rest api in manager (#2291)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:47 +08:00
MinH-09 43a2bf2407
feat: add model operation api (#2276)
Signed-off-by: MinH-09 <2107139596@qq.com>
2023-06-28 17:34:47 +08:00
dlut_xz 91853edb07
feat: add network topology storage interface (#2286)
Signed-off-by: XZ <834756128@qq.com>
2023-06-28 17:34:47 +08:00
Gaius aa90014804
feat: add cluster api in manager (#2288)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:47 +08:00
Gaius e34b66f58c
fix: redis validation in scheduler config (#2287)
When Redis is in cluster mode, only DB 0 can be used.

Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:47 +08:00
dlut_xz 0c7ccb7517
feat: add network topology and probes storage structs (#2254)
Signed-off-by: XZ <834756128@qq.com>
2023-06-28 17:34:46 +08:00
Gaius 37c588608a
feat: remove security domain (#2285)
* feat: remove security domain

Remove security domain in dfdaemon and scheduler.
Remove SecurityGroup and SecurityRule table in manager.

Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:46 +08:00
Jim Ma 4c6814600f
chore: update oras error format (#2282)
Signed-off-by: Jim Ma <majinjing3@gmail.com>
2023-06-28 17:34:46 +08:00
dependabot[bot] af50aa073b
chore(deps): bump github.com/aws/aws-sdk-go from 1.44.234 to 1.44.244 (#2281)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.44.234 to 1.44.244.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.44.234...v1.44.244)

---
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:46 +08:00
dependabot[bot] ec65c73131
chore(deps): bump github.com/grpc-ecosystem/go-grpc-middleware from 1.3.0 to 1.4.0 (#2280)
chore(deps): bump github.com/grpc-ecosystem/go-grpc-middleware

Bumps [github.com/grpc-ecosystem/go-grpc-middleware](https://github.com/grpc-ecosystem/go-grpc-middleware) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/grpc-ecosystem/go-grpc-middleware/releases)
- [Commits](https://github.com/grpc-ecosystem/go-grpc-middleware/compare/v1.3.0...v1.4.0)

---
updated-dependencies:
- dependency-name: github.com/grpc-ecosystem/go-grpc-middleware
  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:46 +08:00
dependabot[bot] ac2fd4bbb0
chore(deps): bump gorm.io/plugin/soft_delete from 1.2.0 to 1.2.1 (#2279)
Bumps [gorm.io/plugin/soft_delete](https://github.com/go-gorm/soft_delete) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/go-gorm/soft_delete/releases)
- [Commits](https://github.com/go-gorm/soft_delete/compare/v1.2.0...v1.2.1)

---
updated-dependencies:
- dependency-name: gorm.io/plugin/soft_delete
  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:46 +08:00
dependabot[bot] 6771c523cd
chore(deps): bump d7y.io/api from 1.8.6 to 1.8.7 (#2278)
Bumps [d7y.io/api](https://github.com/dragonflyoss/api) from 1.8.6 to 1.8.7.
- [Release notes](https://github.com/dragonflyoss/api/releases)
- [Commits](https://github.com/dragonflyoss/api/compare/v1.8.6...v1.8.7)

---
updated-dependencies:
- dependency-name: d7y.io/api
  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:46 +08:00
Gaius aaba9c9f96
feat: rename trainer config package to config (#2283)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:46 +08:00
dependabot[bot] c93478ca85
chore(deps): bump gorm.io/gorm from 1.24.7-0.20230306060331-85eaf9eeda11 to 1.25.0 (#2277)
chore(deps): bump gorm.io/gorm

Bumps [gorm.io/gorm](https://github.com/go-gorm/gorm) from 1.24.7-0.20230306060331-85eaf9eeda11 to 1.25.0.
- [Release notes](https://github.com/go-gorm/gorm/releases)
- [Commits](https://github.com/go-gorm/gorm/commits/v1.25.0)

---
updated-dependencies:
- dependency-name: gorm.io/gorm
  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:46 +08:00
Gaius 49ad38e7d9
chore: add ChatGPT Code Review to workflows (#2251) 2023-06-28 17:34:46 +08:00
Gaius ffffccf2b3
chore: change timeout to 60m in docker workflows (#2274)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:45 +08:00
Eren Cankurtaran b676199995
Github docker workflow timeouts while building manager image (#2272)
Signed-off-by: Eren Cankurtaran <eren.cankurtaran@trendyol.com>
Co-authored-by: Eren Cankurtaran <eren.cankurtaran@trendyol.com>
2023-06-28 17:34:45 +08:00
Eren Cankurtaran cd9cc341a5
feat: add multi-arch container images to workflow (#2270)
Signed-off-by: Eren Cankurtaran <eren.cankurtaran@trendyol.com>
2023-06-28 17:34:45 +08:00
dlut_xz 8d29390b51
feat: rename Record to Download in storage (#2253)
Signed-off-by: XZ <834756128@qq.com>
2023-06-28 17:34:45 +08:00
Gaius 790a72a454
chore: change dingtalk-group qrcode (#2267)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:45 +08:00
Gaius 558d8527e5
fix: local dynconfig panic in Notify (#2266)
Fix local dynconfig panic in Notify and
add scheduler addr test in config.

Signed-off-by: Gaius <gaius.qi@gmail.com>
2023-06-28 17:34:45 +08:00
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