Commit Graph

2392 Commits

Author SHA1 Message Date
Gaius 713d5aa88e
feat: change job gc interval in manager (#3591)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-10-21 21:11:54 +08:00
Gaius 395fc6c9c4
test: refactor e2e testings of the client leaving (#3590)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-10-21 14:33:21 +08:00
Chongzhi Deng 071072f899
feat: add E2E tests for cases that peers going offline (#3524)
Signed-off-by: BruceAko <chongzhi@hust.edu.cn>
2024-10-21 10:33:16 +08:00
Gaius 2793851773
feat: add CreateJobCount and CreateJobSuccessCount metrics (#3588)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-10-18 11:18:46 +08:00
Gaius 030f3377ef
chore: generate sbom for release artifacts (#3587)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-10-17 22:05:16 +08:00
Gaius d2ef67cfae
Revert "chore: generate SBOM for release artifacts" (#3586)
Revert "chore: generate SBOM for release artifacts (#3585)"

This reverts commit 1bad8a8089.
2024-10-17 22:01:59 +08:00
Gaius 1bad8a8089
chore: generate SBOM for release artifacts (#3585)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-10-17 21:20:10 +08:00
Gaius 5c52a02dd5
feat: add self-signed certs for mTLS (#3583)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-10-17 00:02:22 +08:00
Gaius 5ab645009b
chore: update go version to v1.22.4 (#3580)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-10-15 15:40:46 +08:00
Gaius e3b85839ab
feat: support set self-signed cert for service (#3568)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-10-11 23:42:34 +08:00
Gaius da10972332
chore: update rust client and console submodule (#3567)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-10-11 20:18:36 +08:00
dependabot[bot] 385a8132bd
chore(deps): bump github.com/docker/docker from 27.1.1+incompatible to 27.3.1+incompatible (#3556)
chore(deps): bump github.com/docker/docker

Bumps [github.com/docker/docker](https://github.com/docker/docker) from 27.1.1+incompatible to 27.3.1+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](https://github.com/docker/docker/compare/v27.1.1...v27.3.1)

---
updated-dependencies:
- dependency-name: github.com/docker/docker
  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>
2024-10-11 10:35:03 +08:00
dependabot[bot] fa03cdedd8
chore(deps): bump google.golang.org/api from 0.197.0 to 0.199.0 (#3554)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.197.0 to 0.199.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.197.0...v0.199.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>
2024-10-09 21:06:02 +08:00
dependabot[bot] d14c7f76fe
chore(deps): bump codecov/codecov-action from 4.5.0 to 4.6.0 (#3559)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](e28ff129e5...b9fd7d16f6)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  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>
2024-10-09 21:05:11 +08:00
dependabot[bot] da799c601a
chore(deps): bump actions/cache from 4.0.2 to 4.1.0 (#3561)
Bumps [actions/cache](https://github.com/actions/cache) from 4.0.2 to 4.1.0.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](0c45773b62...2cdf405574)

---
updated-dependencies:
- dependency-name: actions/cache
  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>
2024-10-09 21:04:55 +08:00
dependabot[bot] 734c7e6a38
chore(deps): bump github/codeql-action from 3.26.8 to 3.26.12 (#3565)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.8 to 3.26.12.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](294a9d9291...c36620d31a)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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>
2024-10-09 21:04:21 +08:00
dependabot[bot] 6c363ebe36
chore(deps): bump actions/checkout from 4.1.7 to 4.2.0 (#3549)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.7 to 4.2.0.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](692973e3d9...d632683dd7)

---
updated-dependencies:
- dependency-name: actions/checkout
  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>
2024-10-09 20:15:51 +08:00
Gaius 1198c98942
feat: add fsm for persistent cache peer (#3563)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-10-09 20:05:24 +08:00
Gaius 8b6e40fbe9
chore: update client-rs version (#3562)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-10-09 16:15:26 +08:00
Gaius 4d2e9298db
feat: add downloadRate and uploadRate for host (#3548)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-30 18:37:05 +08:00
Gaius 8d956eb3ff
feat: removed network topology (#3547)
Because no one maintains it and has no users run in the production

Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-30 17:41:56 +08:00
Gaius bd8ecfbf29
feat: add host manager for persistent cache (#3546)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-30 14:05:52 +08:00
Gaius 53f5e9c79c
feat: add persistent cache task for scheduler (#3545)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-29 21:21:37 +08:00
Gaius 7253f0fc63
feat: increase interval of the preheat polling (#3544)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-29 18:15:53 +08:00
Gaius 7a83e5a336
test: remove scheduler e2e test (#3543)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-29 12:28:30 +08:00
PoloDyBala 4a7ae8547a
feat: add auto switch scheduler e2e test (#3486)
Signed-off-by: yuancr <2637554776@qq.com>
2024-09-29 12:25:18 +08:00
Gaius 688b9d76cb
feat: rename `scheduler/resource` to `scheduler/resource/standard` (#3542)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-29 12:22:29 +08:00
Gaius 9cd6f41eb2
feat: update new task type(TaskType_STANDARD, TaskType_PERSISTENT, TaskType_PERSISTENT_CACHE) (#3540)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-27 14:01:17 +08:00
Gaius ea850f7f95
feat: support preheat with self-signed certs (#3541)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-26 22:51:11 +08:00
Gaius 1afe79ebb8
feat: add metrics for grpc api of the cache task (#3539)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-25 22:28:49 +08:00
Jim Ma 61c3cf4df4
feat: support set max threads (#3537)
Signed-off-by: Jim Ma <majinjing3@gmail.com>
2024-09-25 18:37:46 +08:00
Chongzhi Deng c9180afe23
chore: update api version to v2.0.158 and update helm chart (#3527)
Signed-off-by: BruceAko <chongzhi@hust.edu.cn>
2024-09-25 10:48:45 +08:00
Gaius b1875dfba6
feat: fixed lint in manager sync_peers.go (#3536)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-24 12:40:57 +08:00
alohaHZ 820e7198e9
select all peers in one scheduler_cluster (#3503)
old sql only select one item
2024-09-24 12:26:51 +08:00
Zyyeric 5056506270
fix: make e2e test (#3487)
Signed-off-by: Zyyeric <eric1976808123@gmail.com>
2024-09-24 12:25:12 +08:00
dependabot[bot] 6d75fb9faf
chore(deps): bump github.com/prometheus/client_golang from 1.19.0 to 1.20.4 (#3532)
chore(deps): bump github.com/prometheus/client_golang

Bumps [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang) from 1.19.0 to 1.20.4.
- [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.19.0...v1.20.4)

---
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>
2024-09-24 10:45:13 +08:00
dependabot[bot] cb30b04e37
chore(deps): bump github/codeql-action from 3.26.2 to 3.26.8 (#3530)
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.26.2 to 3.26.8.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v3.26.2...294a9d92911152fe08befb9ec03e240add280cb3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  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>
2024-09-24 10:44:37 +08:00
dependabot[bot] 4de427ac17
chore(deps): bump actions/checkout from 4.1.1 to 4.1.7 (#3529)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.1 to 4.1.7.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.1.1...692973e3d937129bcbf40652eb9f2f61becf3332)

---
updated-dependencies:
- dependency-name: actions/checkout
  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>
2024-09-24 10:40:52 +08:00
dependabot[bot] e5440fbb6a
chore(deps): bump sigstore/cosign-installer from 3.5.0 to 3.6.0 (#3528)
Bumps [sigstore/cosign-installer](https://github.com/sigstore/cosign-installer) from 3.5.0 to 3.6.0.
- [Release notes](https://github.com/sigstore/cosign-installer/releases)
- [Commits](59acb6260d...4959ce089c)

---
updated-dependencies:
- dependency-name: sigstore/cosign-installer
  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>
2024-09-24 10:40:18 +08:00
Gaius 7579a9ba2d
test: generate mode task id for testings (#3526)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-24 10:38:18 +08:00
Asklv 80717c79df
fix: update get and delete task unit test and e2e test. (#3525)
Signed-off-by: Asklv <boironic@gmail.com>
2024-09-23 22:34:36 +08:00
Jim Ma 3e73231130
feat: seed max concurrent (#3482)
Signed-off-by: Jim Ma <majinjing3@gmail.com>
2024-09-23 10:41:52 +08:00
RoLuoGan b226996977
fix(dfget): Change file path (#3519) 2024-09-23 10:40:52 +08:00
Gaius 7bcbac9d61
refactor: get task job and delete task job (#3522)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-20 15:58:04 +08:00
Gaius fbb3ee39a7
chore: fixed Pinned-Dependencies in actions (#3521)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-19 20:26:07 +08:00
Asklv c1dad7c6b4
fix: update delete task rpc and create e2e test. (#3447)
Signed-off-by: Asklv <boironic@gmail.com>
2024-09-19 14:36:59 +08:00
Gaius e61d6a1207
docs: fixed the badge uri of the OpenSSF Scorecard (#3520)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-19 14:26:46 +08:00
Gaius 1d58c7e30d
chore: add sbom and provenance for docker build
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-18 21:19:59 +08:00
Gaius dffcf68a7a
chore: remove sboms in goreleaser
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-18 18:50:37 +08:00
Gaius 65b06b2754
chore: add upload-tag-name for release
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-18 18:37:21 +08:00