Commit Graph

2392 Commits

Author SHA1 Message Date
dependabot[bot] ba7e65b764
chore(deps): bump google.golang.org/api from 0.176.0 to 0.180.0 (#3261)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.176.0 to 0.180.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.176.0...v0.180.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-05-14 11:50:24 +08:00
dependabot[bot] 5bc3246970
chore(deps): bump github.com/gin-contrib/static from 1.1.1 to 1.1.2 (#3262)
Bumps [github.com/gin-contrib/static](https://github.com/gin-contrib/static) from 1.1.1 to 1.1.2.
- [Release notes](https://github.com/gin-contrib/static/releases)
- [Changelog](https://github.com/gin-contrib/static/blob/master/.goreleaser.yaml)
- [Commits](https://github.com/gin-contrib/static/compare/v1.1.1...v1.1.2)

---
updated-dependencies:
- dependency-name: github.com/gin-contrib/static
  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-05-14 11:04:34 +08:00
dependabot[bot] d411c3648a
chore(deps): bump golangci/golangci-lint-action from 5 to 6 (#3260)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 5 to 6.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v5...v6)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  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>
2024-05-14 11:04:15 +08:00
Jim Ma 7172d57870
fix: peer exchange option (#3259)
Signed-off-by: Jim Ma <majinjing3@gmail.com>
2024-05-13 20:29:07 +08:00
Chlins Zhang b675f41ec0
fix: pass through the headers specified by user to preheat job (#3257)
Background:
  Harbor utilizes the V1 preheat job, which includes the auth token issued by Harbor in the request body. However, Dragonfly 2.x's auth logic relies on the username and password to exchange tokens, following the v2 auth flow. As a result, when Harbor attempts to preheat to Dragonfly 2.x, it encounters a 401 unauthorized error as Dragonfly tries to pull the manifest from the private project. To maintain backward compatibility, the auth logic should be aligned to be compatible with 1.x.

Signed-off-by: chlins <chenyuzh@vmware.com>
2024-05-13 18:12:15 +08:00
Gaius 8927d609a7
chore: update api verison to v2.0.112 (#3256)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-05-11 17:07:16 +08:00
Gaius 8237c94671
fix: DownloadPeerDuration observe cost by milliseconds (#3255)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-05-10 14:12:17 +08:00
Jim Ma c40cba5208
chore: release failed running piece (#3214)
Signed-off-by: Jim Ma <majinjing3@gmail.com>
2024-05-07 13:01:26 +08:00
dependabot[bot] 328b43268c
chore(deps): bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.49.0 to 0.51.0 (#3245)
chore(deps): bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc

Bumps [go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc](https://github.com/open-telemetry/opentelemetry-go-contrib) from 0.49.0 to 0.51.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go-contrib/compare/zpages/v0.49.0...zpages/v0.51.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
  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-05-07 12:47:19 +08:00
Gaius 07559028b4
chore: update api version (#3251)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-05-07 12:47:09 +08:00
dependabot[bot] f02d456792
chore(deps): bump github.com/aws/aws-sdk-go from 1.51.11 to 1.52.2 (#3250)
Bumps [github.com/aws/aws-sdk-go](https://github.com/aws/aws-sdk-go) from 1.51.11 to 1.52.2.
- [Release notes](https://github.com/aws/aws-sdk-go/releases)
- [Commits](https://github.com/aws/aws-sdk-go/compare/v1.51.11...v1.52.2)

---
updated-dependencies:
- dependency-name: github.com/aws/aws-sdk-go
  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-05-07 12:44:49 +08:00
dependabot[bot] e627367154
chore(deps): bump github.com/docker/docker from 26.0.2+incompatible to 26.1.1+incompatible (#3249)
chore(deps): bump github.com/docker/docker

Bumps [github.com/docker/docker](https://github.com/docker/docker) from 26.0.2+incompatible to 26.1.1+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](https://github.com/docker/docker/compare/v26.0.2...v26.1.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-05-07 12:43:43 +08:00
dependabot[bot] 2546045ff6
chore(deps): bump go.opentelemetry.io/otel/trace from 1.25.0 to 1.26.0 (#3242)
Bumps [go.opentelemetry.io/otel/trace](https://github.com/open-telemetry/opentelemetry-go) from 1.25.0 to 1.26.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.25.0...v1.26.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>
2024-05-07 12:43:03 +08:00
dependabot[bot] 1bd09bd40b
chore(deps): bump golangci/golangci-lint-action from 4 to 5 (#3240)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 4 to 5.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v4...v5)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  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>
2024-05-07 12:42:35 +08:00
dependabot[bot] 57a1cadcb6
chore(deps): bump helm/kind-action from 1.9.0 to 1.10.0 (#3239)
Bumps [helm/kind-action](https://github.com/helm/kind-action) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/helm/kind-action/releases)
- [Commits](https://github.com/helm/kind-action/compare/v1.9.0...v1.10.0)

---
updated-dependencies:
- dependency-name: helm/kind-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-05-07 12:42:09 +08:00
Herbert 66c79c7b77
docs: add iQIYI to ADOPTERS.md (#3248)
Signed-off-by: Wang Xiaoqiang <wangxiaoqiang@qiyi.com>
2024-05-07 12:41:48 +08:00
Gaius 27fd0f6bc1
chore: update client version (#3238)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-05-07 10:48:08 +08:00
Jim Ma 1e6f09d294
fix: client rpcserver subscriber hang (#3246)
* fix: client rpcserver subscriber hang

Signed-off-by: Jim Ma <majinjing3@gmail.com>

* chore: optimize rpcserver subscriber logic

Signed-off-by: Jim Ma <majinjing3@gmail.com>

* chore: update comment

Signed-off-by: Jim Ma <majinjing3@gmail.com>

* chore: optimize isAllPiecesSent

Signed-off-by: Jim Ma <majinjing3@gmail.com>

---------

Signed-off-by: Jim Ma <majinjing3@gmail.com>
2024-05-07 10:18:36 +08:00
Gaius 22f46b7cf8
test: change number of the concurrent in e2e testing (#3236)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-04-26 11:07:24 +08:00
Gaius 730d0c8293
feat: set calculateDigest to false in dfdaemon, because it has bug in large files (#3235)
feat: set calculateDigest to false in dfdaemon, because it has bug in downloading large files

Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-04-25 23:34:41 +08:00
Gaius 91b9145b06
test: delayed checking Seed Peer download content (#3230)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-04-25 16:07:43 +08:00
Gaius 01d13cb1df
chore: update client submodule version (#3229)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-04-25 11:48:58 +08:00
Chongzhi Deng 710f9f3e6e
test: add unit test for manager handler (#3222)
Signed-off-by: BruceAko <chongzhi@hust.edu.cn>
2024-04-24 23:40:39 +08:00
Gaius 513587217f
chore: update console submodule (#3228)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-04-24 16:29:09 +08:00
Gaius ef89e3af1d
chore: update client and helm charts submodule version (#3227)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-04-24 15:48:06 +08:00
Gaius 4fcb342b8b
chore: change gitignore for vendor (#3225)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-04-23 17:08:53 +08:00
Gaius 8ad32eb94f
Revert "chore(deps): bump gorm.io/gorm from 1.25.7-0.20240204074919-46816ad31dde to 1.25.8" (#3224)
Revert "chore(deps): bump gorm.io/gorm from 1.25.7-0.20240204074919-46816ad31…"

This reverts commit 6099a917fb.
2024-04-23 16:27:17 +08:00
Gaius 5abd03a06e
chore: optimize e2e test config (#3223)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-04-23 15:44:20 +08:00
dependabot[bot] 570a37f099
chore(deps): bump go.opentelemetry.io/otel/sdk from 1.24.0 to 1.25.0 (#3221)
Bumps [go.opentelemetry.io/otel/sdk](https://github.com/open-telemetry/opentelemetry-go) from 1.24.0 to 1.25.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.24.0...v1.25.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-04-23 10:41:16 +08:00
dependabot[bot] 0ea1a89d1f
chore(deps): bump google.golang.org/api from 0.172.0 to 0.176.0 (#3220)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.172.0 to 0.176.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.172.0...v0.176.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-04-23 10:40:42 +08:00
dependabot[bot] d1ff2a77c9
chore(deps): bump golang.org/x/sys from 0.18.0 to 0.19.0 (#3217)
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.18.0 to 0.19.0.
- [Commits](https://github.com/golang/sys/compare/v0.18.0...v0.19.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>
2024-04-23 10:39:00 +08:00
Gaius 59dbe05260
test: add compatibility e2e testing for v2 (#3216)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-04-23 10:37:41 +08:00
Gaius 012a0f7c4c
test: add preheat e2e testing for v2 (#3215)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-04-22 21:36:58 +08:00
Gaius 4e890712a5
test: add concurrent download e2e testings (#3212)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-04-22 21:35:46 +08:00
Gaius 2901df0e01
test: add range download testings by prefetch proxy (#3211)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-04-22 21:14:32 +08:00
Chongzhi Deng 5a9c3a6107
test: add unit tests for manager handlers (#3202)
Signed-off-by: BruceAko <chongzhi@hust.edu.cn>
2024-04-22 17:42:59 +08:00
Gaius 0657d32b36
test: add range request e2e testings for dfdaemon proxy (#3208)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-04-22 15:56:25 +08:00
Gaius 76dd8a1c95
test: add piece lenght, tag, application test cases for dfget downloading (#3207)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-04-22 12:07:44 +08:00
Gaius 3a4a053325
test: add download with dfget e2e test for API v2(Rust Client) (#3205)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-04-22 10:33:54 +08:00
Gaius 11ff4d4642
test: add containerd e2e testings to API v2(rust client) (#3203)
* feat: add e2e to rust client

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

* test: add containerd e2e testings for API v2

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

---------

Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-04-19 16:19:46 +08:00
dependabot[bot] d1d3bc2059
chore(deps): bump github.com/docker/docker from 26.0.0+incompatible to 26.0.2+incompatible (#3204)
chore(deps): bump github.com/docker/docker

Bumps [github.com/docker/docker](https://github.com/docker/docker) from 26.0.0+incompatible to 26.0.2+incompatible.
- [Release notes](https://github.com/docker/docker/releases)
- [Commits](https://github.com/docker/docker/compare/v26.0.0...v26.0.2)

---
updated-dependencies:
- dependency-name: github.com/docker/docker
  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-04-19 14:10:39 +08:00
Gaius 4abb179d5b
feat: support preheating by v2 grpc protocol (#3201)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-04-17 15:39:34 +08:00
Gaius 501a7be05b
feat: trigger download task by stream (#3200)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-04-17 10:26:34 +08:00
Gaius c967fe68de
Revert "chore(deps): bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.49.0 to 0.50.0" (#3198)
Revert "chore(deps): bump go.opentelemetry.io/contrib/instrumentation/google.…"

This reverts commit ea063bb287.
2024-04-16 14:25:33 +08:00
dependabot[bot] ea063bb287
chore(deps): bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc from 0.49.0 to 0.50.0 (#3194)
chore(deps): bump go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc

Bumps [go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc](https://github.com/open-telemetry/opentelemetry-go-contrib) from 0.49.0 to 0.50.0.
- [Release notes](https://github.com/open-telemetry/opentelemetry-go-contrib/releases)
- [Changelog](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/CHANGELOG.md)
- [Commits](https://github.com/open-telemetry/opentelemetry-go-contrib/compare/zpages/v0.49.0...zpages/v0.50.0)

---
updated-dependencies:
- dependency-name: go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc
  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-04-16 14:09:30 +08:00
dependabot[bot] 3cd4587426
chore(deps): bump google.golang.org/api from 0.171.0 to 0.172.0 (#3192)
Bumps [google.golang.org/api](https://github.com/googleapis/google-api-go-client) from 0.171.0 to 0.172.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.171.0...v0.172.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-04-16 14:07:18 +08:00
kangkexi 94f4f7a77c
chore(deps): upgrade 'github.com/RichardKnop/machinery' mod version from v1… (#3197)
chore: upgrade 'github.com/RichardKnop/machinery' mod version from v1.10.6 to v1.10.8

Signed-off-by: kangkexi <kangkexi@01.ai>
Co-authored-by: kangkexi <kangkexi@01.ai>
2024-04-16 14:06:08 +08:00
Chongzhi Deng f76aaf1245
fix: typo in manager database (#3191)
Signed-off-by: BruceAko <chongzhi@hust.edu.cn>
2024-04-16 14:04:58 +08:00
Gaius 651946f823
chore: update charts version (#3190)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-04-15 15:37:08 +08:00
Gaius c40e5ede9f
feat: update charts and optimize charts values by image tag (#3187)
Signed-off-by: Gaius <gaius.qi@gmail.com>
2024-04-15 12:20:10 +08:00