Commit Graph

2392 Commits

Author SHA1 Message Date
Gaius 22ce71efe1
chore: remove distribution in goreleaser
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-18 18:08:35 +08:00
Gaius 6b46d0e18c
Merge branch 'main' of github.com:dragonflyoss/Dragonfly2
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-18 17:09:51 +08:00
Gaius ff2b1f4ad3
chore: fixed Pinned-Dependencies for actions (#3518)
* chore: fixed Pinned-Dependencies for actions

Signed-off-by: Gaius <gaius.qi@gmail.com>

* chore: generate SLSA3 provenance for GoReleaser (#3516)

Signed-off-by: Gaius <gaius.qi@gmail.com>

---------

Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-18 17:08:53 +08:00
Gaius 74b408428f
chore: add COSIGN_PUBLIC_KEY for cosign verify
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-18 17:08:24 +08:00
Gaius e044dae8a2
chore: add -y option to cosign
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-18 16:41:01 +08:00
Gaius ae9f8dfc9e
chore: fixed Token-Permissions for Actions (#3517)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-18 16:34:48 +08:00
Gaius 79bd59a8e0
chore: generate SLSA3 provenance for GoReleaser (#3516)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-18 16:17:11 +08:00
Gaius 608b6a200b
chore: remove verify base image
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-18 15:42:47 +08:00
Gaius 526e5ef02b
chore: add GITHUB_TOKEN for ghcr to login (#3515)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-18 15:00:12 +08:00
Gaius 8c0909a6a1
chore: signed release for container image (#3514)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-18 14:50:28 +08:00
Gaius 759a70eda2
fix: fixed the token-permission and pinned dependencies (#3513)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-18 13:40:53 +08:00
Gaius e8d696bd62
feat: change gc config for manager job (#3507)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-18 11:38:00 +08:00
dependabot[bot] 624bf2893e
chore(deps): bump google.golang.org/api from 0.189.0 to 0.197.0 (#3510)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.189.0 to 0.197.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.189.0...v0.197.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-09-18 11:09:58 +08:00
Gaius 3f7e48e005
feat: when peer disabled shared, scheduler will skip peer in filterCandidateParents (#3506)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-14 17:07:29 +08:00
Gaius 76cf35fd5d
feat: add scope for preheating job (#3497)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-14 14:20:09 +08:00
Gaius 8a1e858e38
chore: update console submodule version (#3505)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-13 21:47:42 +08:00
Gaius d5eef60114
feat: clean up expired jobs to prevent performance problems (#3504)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-11 22:44:14 +08:00
Gaius bba6b9bd86
feat: remove order by created_at for selecting job (#3502)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-11 18:29:16 +08:00
Gaius 1e0dcafb06
feat: change timeout and max refresh in jwt token (#3501)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-11 18:28:34 +08:00
Gaius 84ad2ff539
feat: response server real ip in X-Server-IP header (#3500)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-11 17:15:46 +08:00
Gaius 8429707ee3
chore: update client version (#3496)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-10 22:35:02 +08:00
dependabot[bot] f2fac17b20
chore(deps): bump github.com/jellydator/ttlcache/v3 from 3.2.0 to 3.3.0 (#3494)
Bumps [github.com/jellydator/ttlcache/v3](https://github.com/jellydator/ttlcache) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/jellydator/ttlcache/releases)
- [Commits](https://github.com/jellydator/ttlcache/compare/v3.2.0...v3.3.0)

---
updated-dependencies:
- dependency-name: github.com/jellydator/ttlcache/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>
2024-09-10 20:18:18 +08:00
dependabot[bot] e616f93eec
chore(deps): bump golang.org/x/oauth2 from 0.21.0 to 0.23.0 (#3491)
Bumps [golang.org/x/oauth2](https://github.com/golang/oauth2) from 0.21.0 to 0.23.0.
- [Commits](https://github.com/golang/oauth2/compare/v0.21.0...v0.23.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>
2024-09-10 19:56:50 +08:00
Gaius 151070ad37
feat: add job feature for scheduler's announcer (#3489)
* feat: add job feature for scheduler's announcer

Signed-off-by: Gaius <gaius.qi@gmail.com>

* Trigger CI pipeline

Signed-off-by: Gaius <gaius.qi@gmail.com>

---------

Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-09 18:00:49 +08:00
Gaius 6ba478225f
feat: add scheduler features api for manager (#3488)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-09 15:23:27 +08:00
pbannykh 92b26faa6f
fix: add sentinel authentication settings (#3484)
Signed-off-by: bannykh <bannykh@tochka.com>
2024-09-06 15:48:07 +08:00
Gaius f1dec253fc
feat: use context.Background for ScheduleCandidateParents to prevent stream breaking (#3485)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-06 11:18:37 +08:00
Gaius c463f7f63f
feat: add rate limit middlewares for job (#3481)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-04 13:17:13 +08:00
Gaius 75d624260f
feat: add ratelimit for job in manager (#3480)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-09-03 18:36:51 +08:00
Jim Ma 2c0ae7819e
feat: add proxy error metric (#3470)
Signed-off-by: Jim Ma <majinjing3@gmail.com>
2024-08-28 17:35:21 +08:00
Jim Ma b23b18d113
chore: mute some reclaim check log (#3469)
Signed-off-by: Jim Ma <majinjing3@gmail.com>
2024-08-28 16:58:17 +08:00
Jim Ma 58b612fb3a
feat: add source http metric (#3468)
Signed-off-by: Jim Ma <majinjing3@gmail.com>
2024-08-28 15:48:50 +08:00
Gaius b2babf826c
feat: resource add rdb for cache task (#3467)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-27 14:57:40 +08:00
Gaius e3fd3b9d51
chore: udpate client-rs version (#3461)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-27 14:24:22 +08:00
Gaius e1fadbbccf
Merge branch 'main' of github.com:dragonflyoss/Dragonfly2 2024-08-27 14:04:03 +08:00
Gaius e0e96543d8
feat: remove trainer and model
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-27 14:03:04 +08:00
dependabot[bot] 5ac7bdbf28
chore(deps): bump github.com/zeebo/blake3 from 0.2.3 to 0.2.4 (#3466)
Bumps [github.com/zeebo/blake3](https://github.com/zeebo/blake3) from 0.2.3 to 0.2.4.
- [Commits](https://github.com/zeebo/blake3/compare/v0.2.3...v0.2.4)

---
updated-dependencies:
- dependency-name: github.com/zeebo/blake3
  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-08-27 10:42:12 +08:00
dependabot[bot] f45a77f2f3
chore(deps): bump github.com/onsi/ginkgo/v2 from 2.19.0 to 2.20.1 (#3463)
Bumps [github.com/onsi/ginkgo/v2](https://github.com/onsi/ginkgo) from 2.19.0 to 2.20.1.
- [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.19.0...v2.20.1)

---
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>
2024-08-27 10:41:02 +08:00
dependabot[bot] 988b9a4db4
chore(deps): bump go.opentelemetry.io/otel/sdk from 1.28.0 to 1.29.0 (#3462)
Bumps [go.opentelemetry.io/otel/sdk](https://github.com/open-telemetry/opentelemetry-go) from 1.28.0 to 1.29.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.28.0...v1.29.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/otel/sdk
  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-08-27 10:40:24 +08:00
dependabot[bot] 1c14209113
chore(deps): bump golang.org/x/crypto from 0.25.0 to 0.26.0 (#3464)
Bumps [golang.org/x/crypto](https://github.com/golang/crypto) from 0.25.0 to 0.26.0.
- [Commits](https://github.com/golang/crypto/compare/v0.25.0...v0.26.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>
2024-08-27 10:39:24 +08:00
Jim Ma b5b2f39f70
feat: daemon add back source metric (#3460)
Signed-off-by: Jim Ma <majinjing3@gmail.com>
2024-08-26 19:48:58 +08:00
Gaius c14108764b
fix: key/value format with whitespace separator should not be used (#3459)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-26 11:43:43 +08:00
ytq b4493b2e75
fix: fix null pointer dereference issue when parent task storage registration fails (#3458)
fix: fix null pointer dereference issue when parent task storage registration fails

Signed-off-by: yantingqiu <1173578083@qq.com>
2024-08-26 10:50:43 +08:00
dependabot[bot] c7ea099d7b
chore(deps): bump ossf/scorecard-action from 2.3.1 to 2.4.0 (#3453)
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.3.1 to 2.4.0.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](0864cf1902...62b2cac7ed)

---
updated-dependencies:
- dependency-name: ossf/scorecard-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-08-20 20:35:51 +08:00
dependabot[bot] 75a35b850e
chore(deps): bump actions/upload-artifact from 3.pre.node20 to 4.3.6 (#3454)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.pre.node20 to 4.3.6.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v3-node20...v4.3.6)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-20 20:35:05 +08:00
Gaius a637440aba
chore: fix 'as' keyword should match the case of the 'from' keyword (#3445)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-20 20:30:28 +08:00
karl bd6cbbe82a
fix: AutoIssueCert loses control in dfdaemon(#3422) (#3423)
Co-authored-by: karlhjm <karl.jm.huang@gmail.com>
2024-08-19 18:03:58 +08:00
Gaius 2b2635c9c9
feat: add ScheduleDuration for recording duration of the scheduling (#3444)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-19 13:59:12 +08:00
Gaius eaaeec4629
chore: update console and client version (#3438)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-08-19 10:46:00 +08:00
Harshita Sao 12969b4a74
vulnerability fix (#3443)
Signed-off-by: harshitasao <harshitasao@gmail.com>
2024-08-19 10:44:24 +08:00