Skip to content

Commit

Permalink
Merge branch 'main' of github.com:dragonflyoss/dragonfly into feature…
Browse files Browse the repository at this point in the history
…/persistent

Signed-off-by: Gaius <gaius.qi@gmail.com>
  • Loading branch information
gaius-qi committed Jan 21, 2025
2 parents c57077d + c4f4abb commit 9fd9e53
Show file tree
Hide file tree
Showing 13 changed files with 68 additions and 72 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ jobs:
${{ runner.os }}-buildx-
- name: Build Scheduler Image
uses: docker/build-push-action@b32b51a8eda65d6793cd0494a773d4f6bcef32dc
uses: docker/build-push-action@67a2d409c0a876cbe6b11854e3e25193efe4e62d
with:
context: .
file: build/images/scheduler/Dockerfile
Expand All @@ -91,7 +91,7 @@ jobs:
cache-to: type=local,dest=/tmp/.buildx-cache-new

- name: Build Manager Image
uses: docker/build-push-action@b32b51a8eda65d6793cd0494a773d4f6bcef32dc
uses: docker/build-push-action@67a2d409c0a876cbe6b11854e3e25193efe4e62d
with:
context: .
file: build/images/manager/Dockerfile
Expand All @@ -101,7 +101,7 @@ jobs:
cache-to: type=local,dest=/tmp/.buildx-cache-new

- name: Build Dfdaemon Image
uses: docker/build-push-action@b32b51a8eda65d6793cd0494a773d4f6bcef32dc
uses: docker/build-push-action@67a2d409c0a876cbe6b11854e3e25193efe4e62d
with:
context: .
file: build/images/dfdaemon/Dockerfile
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/compatibility-e2e-v1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
${{ runner.os }}-buildx-
- name: Build Scheduler Image
uses: docker/build-push-action@b32b51a8eda65d6793cd0494a773d4f6bcef32dc
uses: docker/build-push-action@67a2d409c0a876cbe6b11854e3e25193efe4e62d
with:
context: .
file: build/images/scheduler/Dockerfile
Expand All @@ -100,7 +100,7 @@ jobs:
cache-to: type=local,dest=/tmp/.buildx-cache-new

- name: Build Manager Image
uses: docker/build-push-action@b32b51a8eda65d6793cd0494a773d4f6bcef32dc
uses: docker/build-push-action@67a2d409c0a876cbe6b11854e3e25193efe4e62d
with:
context: .
file: build/images/manager/Dockerfile
Expand All @@ -111,7 +111,7 @@ jobs:
cache-to: type=local,dest=/tmp/.buildx-cache-new

- name: Build Dfdaemon Image
uses: docker/build-push-action@b32b51a8eda65d6793cd0494a773d4f6bcef32dc
uses: docker/build-push-action@67a2d409c0a876cbe6b11854e3e25193efe4e62d
with:
context: .
file: build/images/dfdaemon/Dockerfile
Expand All @@ -122,7 +122,7 @@ jobs:
cache-to: type=local,dest=/tmp/.buildx-cache-new

- name: Build No Content Length Image
uses: docker/build-push-action@b32b51a8eda65d6793cd0494a773d4f6bcef32dc
uses: docker/build-push-action@67a2d409c0a876cbe6b11854e3e25193efe4e62d
with:
context: test/tools/no-content-length/
file: test/tools/no-content-length/Dockerfile
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/compatibility-e2e-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ jobs:
docker tag dragonflyoss/dfinit:$CLIENT_TAG dragonflyoss/dfinit:latest
- name: Build Scheduler Image
uses: docker/build-push-action@b32b51a8eda65d6793cd0494a773d4f6bcef32dc
uses: docker/build-push-action@67a2d409c0a876cbe6b11854e3e25193efe4e62d
with:
context: .
file: build/images/scheduler/Dockerfile
Expand All @@ -113,7 +113,7 @@ jobs:
cache-to: type=local,dest=/tmp/.buildx-cache-new

- name: Build Manager Image
uses: docker/build-push-action@b32b51a8eda65d6793cd0494a773d4f6bcef32dc
uses: docker/build-push-action@67a2d409c0a876cbe6b11854e3e25193efe4e62d
with:
context: .
file: build/images/manager/Dockerfile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}

- name: Push to Registry
uses: docker/build-push-action@b32b51a8eda65d6793cd0494a773d4f6bcef32dc
uses: docker/build-push-action@67a2d409c0a876cbe6b11854e3e25193efe4e62d
with:
context: .
sbom: true
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/e2e-v1-nydus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
${{ runner.os }}-buildx-
- name: Build Scheduler Image
uses: docker/build-push-action@b32b51a8eda65d6793cd0494a773d4f6bcef32dc
uses: docker/build-push-action@67a2d409c0a876cbe6b11854e3e25193efe4e62d
with:
context: .
file: build/images/scheduler/Dockerfile
Expand All @@ -56,7 +56,7 @@ jobs:
cache-to: type=local,dest=/tmp/.buildx-cache-new

- name: Build Manager Image
uses: docker/build-push-action@b32b51a8eda65d6793cd0494a773d4f6bcef32dc
uses: docker/build-push-action@67a2d409c0a876cbe6b11854e3e25193efe4e62d
with:
context: .
file: build/images/manager/Dockerfile
Expand All @@ -67,7 +67,7 @@ jobs:
cache-to: type=local,dest=/tmp/.buildx-cache-new

- name: Build Dfdaemon Image
uses: docker/build-push-action@b32b51a8eda65d6793cd0494a773d4f6bcef32dc
uses: docker/build-push-action@67a2d409c0a876cbe6b11854e3e25193efe4e62d
with:
context: .
file: build/images/dfdaemon/Dockerfile
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/e2e-v1.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ jobs:
${{ runner.os }}-buildx-
- name: Build Scheduler Image
uses: docker/build-push-action@b32b51a8eda65d6793cd0494a773d4f6bcef32dc
uses: docker/build-push-action@67a2d409c0a876cbe6b11854e3e25193efe4e62d
with:
context: .
file: build/images/scheduler/Dockerfile
Expand All @@ -111,7 +111,7 @@ jobs:
cache-to: type=local,dest=/tmp/.buildx-cache-new

- name: Build Manager Image
uses: docker/build-push-action@b32b51a8eda65d6793cd0494a773d4f6bcef32dc
uses: docker/build-push-action@67a2d409c0a876cbe6b11854e3e25193efe4e62d
with:
context: .
file: build/images/manager/Dockerfile
Expand All @@ -122,7 +122,7 @@ jobs:
cache-to: type=local,dest=/tmp/.buildx-cache-new

- name: Build Dfdaemon Image
uses: docker/build-push-action@b32b51a8eda65d6793cd0494a773d4f6bcef32dc
uses: docker/build-push-action@67a2d409c0a876cbe6b11854e3e25193efe4e62d
with:
context: .
file: build/images/dfdaemon/Dockerfile
Expand All @@ -133,7 +133,7 @@ jobs:
cache-to: type=local,dest=/tmp/.buildx-cache-new

- name: Build No Content Length Image
uses: docker/build-push-action@b32b51a8eda65d6793cd0494a773d4f6bcef32dc
uses: docker/build-push-action@67a2d409c0a876cbe6b11854e3e25193efe4e62d
with:
context: test/tools/no-content-length/
file: test/tools/no-content-length/Dockerfile
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e-v2-nydus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
docker tag dragonflyoss/dfinit:$CLIENT_TAG dragonflyoss/dfinit:latest
- name: Build Scheduler Image
uses: docker/build-push-action@b32b51a8eda65d6793cd0494a773d4f6bcef32dc
uses: docker/build-push-action@67a2d409c0a876cbe6b11854e3e25193efe4e62d
with:
context: .
file: build/images/scheduler/Dockerfile
Expand All @@ -78,7 +78,7 @@ jobs:
cache-to: type=local,dest=/tmp/.buildx-cache-new

- name: Build Manager Image
uses: docker/build-push-action@b32b51a8eda65d6793cd0494a773d4f6bcef32dc
uses: docker/build-push-action@67a2d409c0a876cbe6b11854e3e25193efe4e62d
with:
context: .
file: build/images/manager/Dockerfile
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e-v2-rate-limit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
docker tag dragonflyoss/dfinit:$CLIENT_TAG dragonflyoss/dfinit:latest
- name: Build Scheduler Image
uses: docker/build-push-action@b32b51a8eda65d6793cd0494a773d4f6bcef32dc
uses: docker/build-push-action@67a2d409c0a876cbe6b11854e3e25193efe4e62d
with:
context: .
file: build/images/scheduler/Dockerfile
Expand All @@ -96,7 +96,7 @@ jobs:
cache-to: type=local,dest=/tmp/.buildx-cache-new

- name: Build Manager Image
uses: docker/build-push-action@b32b51a8eda65d6793cd0494a773d4f6bcef32dc
uses: docker/build-push-action@67a2d409c0a876cbe6b11854e3e25193efe4e62d
with:
context: .
file: build/images/manager/Dockerfile
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/e2e-v2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ jobs:
docker tag dragonflyoss/dfinit:$CLIENT_TAG dragonflyoss/dfinit:latest
- name: Build Scheduler Image
uses: docker/build-push-action@b32b51a8eda65d6793cd0494a773d4f6bcef32dc
uses: docker/build-push-action@67a2d409c0a876cbe6b11854e3e25193efe4e62d
with:
context: .
file: build/images/scheduler/Dockerfile
Expand All @@ -97,7 +97,7 @@ jobs:
cache-to: type=local,dest=/tmp/.buildx-cache-new

- name: Build Manager Image
uses: docker/build-push-action@b32b51a8eda65d6793cd0494a773d4f6bcef32dc
uses: docker/build-push-action@67a2d409c0a876cbe6b11854e3e25193efe4e62d
with:
context: .
file: build/images/manager/Dockerfile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
fetch-depth: '0'

- name: Golangci lint
uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8
uses: golangci/golangci-lint-action@ec5d18412c0aeab7936cb16880d708ba2a64e1ae
with:
version: v1.62
args: --verbose --timeout=10m
Expand Down
27 changes: 13 additions & 14 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module d7y.io/dragonfly/v2
go 1.23.0

require (
cloud.google.com/go/storage v1.49.0
cloud.google.com/go/storage v1.50.0
d7y.io/api/v2 v2.1.11
github.com/MysteriousPotato/go-lockable v1.0.0
github.com/RichardKnop/machinery v1.10.8
Expand Down Expand Up @@ -78,19 +78,19 @@ require (
github.com/yl2chen/cidranger v1.0.2
github.com/zeebo/blake3 v0.2.4
go.opentelemetry.io/contrib/instrumentation/github.com/gin-gonic/gin/otelgin v0.58.0
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.58.0
go.opentelemetry.io/otel v1.33.0
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.59.0
go.opentelemetry.io/otel v1.34.0
go.opentelemetry.io/otel/exporters/jaeger v1.17.0
go.opentelemetry.io/otel/sdk v1.33.0
go.opentelemetry.io/otel/trace v1.33.0
go.opentelemetry.io/otel/trace v1.34.0
go.uber.org/atomic v1.11.0
go.uber.org/mock v0.5.0
go.uber.org/zap v1.27.0
golang.org/x/crypto v0.31.0
golang.org/x/crypto v0.32.0
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56
golang.org/x/oauth2 v0.25.0
golang.org/x/sync v0.10.0
golang.org/x/sys v0.28.0
golang.org/x/sys v0.29.0
golang.org/x/time v0.9.0
google.golang.org/api v0.216.0
google.golang.org/grpc v1.69.4
Expand All @@ -101,7 +101,7 @@ require (
gorm.io/driver/postgres v1.4.8
gorm.io/gorm v1.25.0
gorm.io/plugin/soft_delete v1.2.1
k8s.io/component-base v0.32.0
k8s.io/component-base v0.32.1
moul.io/zapgorm2 v1.3.0
stathat.com/c/consistent v1.0.0
)
Expand Down Expand Up @@ -151,8 +151,7 @@ require (
github.com/distribution/reference v0.5.0 // indirect
github.com/docker/go-metrics v0.0.1 // indirect
github.com/docker/libtrust v0.0.0-20150114040149-fa567046d9b1 // indirect
github.com/envoyproxy/go-control-plane/envoy v1.32.2 // indirect
github.com/envoyproxy/go-control-plane/ratelimit v0.1.0 // indirect
github.com/envoyproxy/go-control-plane/envoy v1.32.3 // indirect
github.com/envoyproxy/protoc-gen-validate v1.1.0 // indirect
github.com/fatih/color v1.16.0 // indirect
github.com/felixge/httpsnoop v1.0.4 // indirect
Expand Down Expand Up @@ -282,22 +281,22 @@ require (
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
go.opentelemetry.io/contrib/detectors/gcp v1.33.0 // indirect
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.58.0 // indirect
go.opentelemetry.io/otel/metric v1.33.0 // indirect
go.opentelemetry.io/otel/metric v1.34.0 // indirect
go.opentelemetry.io/otel/sdk/metric v1.33.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/arch v0.12.0 // indirect
golang.org/x/net v0.33.0 // indirect
golang.org/x/term v0.27.0 // indirect
golang.org/x/net v0.34.0 // indirect
golang.org/x/term v0.28.0 // indirect
golang.org/x/text v0.21.0 // indirect
golang.org/x/tools v0.28.0 // indirect
google.golang.org/genproto v0.0.0-20241118233622-e639e219e697 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20250102185135-69823020774d // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20250102185135-69823020774d // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20250115164207-1a7da9e5054f // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect
gorm.io/driver/sqlserver v1.4.1 // indirect
gorm.io/plugin/dbresolver v1.3.0 // indirect
k8s.io/apimachinery v0.32.0 // indirect
k8s.io/apimachinery v0.32.1 // indirect
k8s.io/klog/v2 v2.130.1 // indirect
sigs.k8s.io/yaml v1.4.0 // indirect
)
Loading

0 comments on commit 9fd9e53

Please sign in to comment.