chore(deps): bump client-rs to v1.0.0 and bump console to v0.2.8 (#4172)
Signed-off-by: Gaius <gaius.qi@gmail.com>
This commit is contained in:
parent
37511ada6e
commit
e57c831510
|
|
@ -31,22 +31,22 @@ jobs:
|
||||||
include:
|
include:
|
||||||
- module: manager
|
- module: manager
|
||||||
image: manager
|
image: manager
|
||||||
image-tag: v2.2.1
|
image-tag: v2.2.4
|
||||||
chart-name: manager
|
chart-name: manager
|
||||||
skip: "Rate Limit | preheat files in cache"
|
skip: "Rate Limit | preheat files in cache"
|
||||||
- module: scheduler
|
- module: scheduler
|
||||||
image: scheduler
|
image: scheduler
|
||||||
image-tag: v2.2.1
|
image-tag: v2.2.4
|
||||||
chart-name: scheduler
|
chart-name: scheduler
|
||||||
skip: "Rate Limit | preheat files in cache"
|
skip: "Rate Limit | preheat files in cache"
|
||||||
- module: client
|
- module: client
|
||||||
image: client
|
image: client
|
||||||
image-tag: v0.2.31
|
image-tag: v1.0.0
|
||||||
chart-name: client
|
chart-name: client
|
||||||
skip: "Rate Limit"
|
skip: "Rate Limit"
|
||||||
- module: seed-client
|
- module: seed-client
|
||||||
image: client
|
image: client
|
||||||
image-tag: v0.2.31
|
image-tag: v1.0.0
|
||||||
chart-name: seed-client
|
chart-name: seed-client
|
||||||
skip: "Rate Limit"
|
skip: "Rate Limit"
|
||||||
|
|
||||||
|
|
|
||||||
56
Makefile
56
Makefile
|
|
@ -16,7 +16,7 @@ PROJECT_NAME := "d7y.io/dragonfly/v2"
|
||||||
DFGET_NAME := "dfget"
|
DFGET_NAME := "dfget"
|
||||||
DFCACHE_NAME := "dfcache"
|
DFCACHE_NAME := "dfcache"
|
||||||
DFSTORE_NAME := "dfstore"
|
DFSTORE_NAME := "dfstore"
|
||||||
SEMVER := "2.2.0"
|
SEMVER := "2.3.0"
|
||||||
VERSION_RELEASE := "1"
|
VERSION_RELEASE := "1"
|
||||||
PKG := "$(PROJECT_NAME)"
|
PKG := "$(PROJECT_NAME)"
|
||||||
PKG_LIST := $(shell go list ${PKG}/... | grep -v /vendor/ | grep -v '\(/test/\)')
|
PKG_LIST := $(shell go list ${PKG}/... | grep -v /vendor/ | grep -v '\(/test/\)')
|
||||||
|
|
@ -34,21 +34,15 @@ build-dirs:
|
||||||
.PHONY: build-dirs
|
.PHONY: build-dirs
|
||||||
|
|
||||||
# Build dragonfly.
|
# Build dragonfly.
|
||||||
docker-build: docker-build-dfdaemon docker-build-scheduler docker-build-manager
|
docker-build: docker-build-scheduler docker-build-manager
|
||||||
@echo "Build image done."
|
@echo "Build image done."
|
||||||
.PHONY: docker-build
|
.PHONY: docker-build
|
||||||
|
|
||||||
# Push dragonfly images.
|
# Push dragonfly images.
|
||||||
docker-push: docker-push-dfdaemon docker-push-scheduler docker-push-manager
|
docker-push: docker-push-scheduler docker-push-manager
|
||||||
@echo "Push image done."
|
@echo "Push image done."
|
||||||
.PHONY: docker-push
|
.PHONY: docker-push
|
||||||
|
|
||||||
# Build dfdaemon image.
|
|
||||||
docker-build-dfdaemon:
|
|
||||||
@echo "Begin to use docker build dfdaemon image."
|
|
||||||
./hack/docker-build.sh dfdaemon
|
|
||||||
.PHONY: docker-build-dfdaemon
|
|
||||||
|
|
||||||
# Build scheduler image.
|
# Build scheduler image.
|
||||||
docker-build-scheduler:
|
docker-build-scheduler:
|
||||||
@echo "Begin to use docker build scheduler image."
|
@echo "Begin to use docker build scheduler image."
|
||||||
|
|
@ -61,12 +55,6 @@ docker-build-manager:
|
||||||
./hack/docker-build.sh manager
|
./hack/docker-build.sh manager
|
||||||
.PHONY: docker-build-manager
|
.PHONY: docker-build-manager
|
||||||
|
|
||||||
# Push dfdaemon image.
|
|
||||||
docker-push-dfdaemon: docker-build-dfdaemon
|
|
||||||
@echo "Begin to push dfdaemon docker image."
|
|
||||||
./hack/docker-push.sh dfdaemon
|
|
||||||
.PHONY: docker-push-dfdaemon
|
|
||||||
|
|
||||||
# Push scheduler image.
|
# Push scheduler image.
|
||||||
docker-push-scheduler: docker-build-scheduler
|
docker-push-scheduler: docker-build-scheduler
|
||||||
@echo "Begin to push scheduler docker image."
|
@echo "Begin to push scheduler docker image."
|
||||||
|
|
@ -309,49 +297,23 @@ actions-e2e-test-coverage:
|
||||||
@cat coverprofile.out >> coverage.txt
|
@cat coverprofile.out >> coverage.txt
|
||||||
.PHONY: actions-e2e-test-coverage
|
.PHONY: actions-e2e-test-coverage
|
||||||
|
|
||||||
# Install E2E tests environment.
|
|
||||||
install-e2e-test:
|
|
||||||
@./hack/install-e2e-test.sh
|
|
||||||
.PHONY: install-e2e-test
|
|
||||||
|
|
||||||
# Run E2E tests.
|
# Run E2E tests.
|
||||||
e2e-test: install-e2e-test build-e2e-sha256sum
|
e2e-test:
|
||||||
@ginkgo -v -r --race --fail-fast --cover --trace --show-node-events test/e2e
|
@ginkgo -v -r --race --fail-fast --cover --trace --show-node-events test/e2e
|
||||||
.PHONY: e2e-test
|
.PHONY: e2e-test
|
||||||
|
|
||||||
# Run E2E tests with coverage.
|
# Run E2E tests with coverage.
|
||||||
e2e-test-coverage: install-e2e-test build-e2e-sha256sum
|
e2e-test-coverage:
|
||||||
@ginkgo -v -r --race --fail-fast --cover --trace --show-node-events test/e2e
|
@ginkgo -v -r --race --fail-fast --cover --trace --show-node-events test/e2e
|
||||||
@cat coverprofile.out >> coverage.txt
|
@cat coverprofile.out >> coverage.txt
|
||||||
.PHONY: e2e-test-coverage
|
.PHONY: e2e-test-coverage
|
||||||
|
|
||||||
# Clean E2E tests.
|
# Clean E2E tests.
|
||||||
clean-e2e-test:
|
clean-e2e-test:
|
||||||
@kind delete cluster
|
|
||||||
@echo "cleaning log file."
|
@echo "cleaning log file."
|
||||||
@rm -rf test/e2e/*.log
|
@rm -rf test/e2e/*.log
|
||||||
.PHONY: clean-e2e-test
|
.PHONY: clean-e2e-test
|
||||||
|
|
||||||
# Kind load dragonfly.
|
|
||||||
kind-load: kind-load-scheduler kind-load-dfdaemon kind-load-manager
|
|
||||||
@echo "Kind load image done."
|
|
||||||
.PHONY: kind-load
|
|
||||||
|
|
||||||
# Run kind load docker scheduler.
|
|
||||||
kind-load-scheduler:
|
|
||||||
@./hack/kind-load.sh scheduler
|
|
||||||
.PHONY: kind-load-scheduler
|
|
||||||
|
|
||||||
# Run kind load docker dfget.
|
|
||||||
kind-load-dfdaemon:
|
|
||||||
@./hack/kind-load.sh dfdaemon
|
|
||||||
.PHONY: kind-load-dfget
|
|
||||||
|
|
||||||
# Run kind load docker manager.
|
|
||||||
kind-load-manager:
|
|
||||||
@./hack/kind-load.sh manager
|
|
||||||
.PHONY: kind-load-manager
|
|
||||||
|
|
||||||
# Run code lint.
|
# Run code lint.
|
||||||
lint: markdownlint
|
lint: markdownlint
|
||||||
@echo "Begin to golangci-lint."
|
@echo "Begin to golangci-lint."
|
||||||
|
|
@ -388,10 +350,8 @@ help:
|
||||||
@echo "make build-dirs prepare required folders for build"
|
@echo "make build-dirs prepare required folders for build"
|
||||||
@echo "make docker-build build dragonfly image"
|
@echo "make docker-build build dragonfly image"
|
||||||
@echo "make docker-push push dragonfly image"
|
@echo "make docker-push push dragonfly image"
|
||||||
@echo "make docker-build-dfdaemon build dfdaemon image"
|
|
||||||
@echo "make docker-build-scheduler build scheduler image"
|
@echo "make docker-build-scheduler build scheduler image"
|
||||||
@echo "make docker-build-manager build manager image"
|
@echo "make docker-build-manager build manager image"
|
||||||
@echo "make docker-push-dfdaemon push dfdaemon image"
|
|
||||||
@echo "make docker-push-scheduler push scheduler image"
|
@echo "make docker-push-scheduler push scheduler image"
|
||||||
@echo "make docker-push-manager push manager image"
|
@echo "make docker-push-manager push manager image"
|
||||||
@echo "make build build dragonfly"
|
@echo "make build build dragonfly"
|
||||||
|
|
@ -405,7 +365,6 @@ help:
|
||||||
@echo "make build-manager build manager"
|
@echo "make build-manager build manager"
|
||||||
@echo "make build-manager-server build manager server"
|
@echo "make build-manager-server build manager server"
|
||||||
@echo "make build-manager-console build manager console"
|
@echo "make build-manager-console build manager console"
|
||||||
@echo "make build-e2e-sha256sum build sha256sum test tool"
|
|
||||||
@echo "make install-dfget install dfget"
|
@echo "make install-dfget install dfget"
|
||||||
@echo "make install-scheduler install scheduler"
|
@echo "make install-scheduler install scheduler"
|
||||||
@echo "make install-manager install manager"
|
@echo "make install-manager install manager"
|
||||||
|
|
@ -422,14 +381,9 @@ help:
|
||||||
@echo "make test run unit tests"
|
@echo "make test run unit tests"
|
||||||
@echo "make test-coverage run tests with coverage"
|
@echo "make test-coverage run tests with coverage"
|
||||||
@echo "make actions-e2e-test-coverage run github actons E2E tests with coverage"
|
@echo "make actions-e2e-test-coverage run github actons E2E tests with coverage"
|
||||||
@echo "make install-e2e-test install E2E tests environment"
|
|
||||||
@echo "make e2e-test run e2e tests"
|
@echo "make e2e-test run e2e tests"
|
||||||
@echo "make e2e-test-coverage run e2e tests with coverage"
|
@echo "make e2e-test-coverage run e2e tests with coverage"
|
||||||
@echo "make clean-e2e-test clean e2e tests"
|
@echo "make clean-e2e-test clean e2e tests"
|
||||||
@echo "make kind-load kind load docker image"
|
|
||||||
@echo "make kind-load-scheduler kind load scheduler docker image"
|
|
||||||
@echo "make kind-load-dfdaemon kind load dfdaemon docker image"
|
|
||||||
@echo "make kind-load-manager kind load manager docker image"
|
|
||||||
@echo "make lint run code lint"
|
@echo "make lint run code lint"
|
||||||
@echo "make markdownlint run markdown lint"
|
@echo "make markdownlint run markdown lint"
|
||||||
@echo "make generate run go generate"
|
@echo "make generate run go generate"
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
.\" Automatically generated by Pandoc 3.7.0.1
|
.\" Automatically generated by Pandoc 3.7.0.1
|
||||||
.\"
|
.\"
|
||||||
.TH "DFCACHE" "1" "" "Version v2.2.0" "Frivolous \(lqDfcache\(rq Documentation"
|
.TH "DFCACHE" "1" "" "Version v2.3.0" "Frivolous \(lqDfcache\(rq Documentation"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
\f[B]dfcache delete\f[R] \(em delete file from P2P cache system
|
\f[B]dfcache delete\f[R] \(em delete file from P2P cache system
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
.\" Automatically generated by Pandoc 3.7.0.1
|
.\" Automatically generated by Pandoc 3.7.0.1
|
||||||
.\"
|
.\"
|
||||||
.TH "DFCACHE" "1" "" "Version v2.2.0" "Frivolous \(lqDfcache\(rq Documentation"
|
.TH "DFCACHE" "1" "" "Version v2.3.0" "Frivolous \(lqDfcache\(rq Documentation"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
\f[B]dfcache doc\f[R] \(em generate documents
|
\f[B]dfcache doc\f[R] \(em generate documents
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
.\" Automatically generated by Pandoc 3.7.0.1
|
.\" Automatically generated by Pandoc 3.7.0.1
|
||||||
.\"
|
.\"
|
||||||
.TH "DFCACHE" "1" "" "Version v2.2.0" "Frivolous \(lqDfcache\(rq Documentation"
|
.TH "DFCACHE" "1" "" "Version v2.3.0" "Frivolous \(lqDfcache\(rq Documentation"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
\f[B]dfcache export\f[R] \(em export file from P2P cache system
|
\f[B]dfcache export\f[R] \(em export file from P2P cache system
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
.\" Automatically generated by Pandoc 3.7.0.1
|
.\" Automatically generated by Pandoc 3.7.0.1
|
||||||
.\"
|
.\"
|
||||||
.TH "DFCACHE" "1" "" "Version v2.2.0" "Frivolous \(lqDfcache\(rq Documentation"
|
.TH "DFCACHE" "1" "" "Version v2.3.0" "Frivolous \(lqDfcache\(rq Documentation"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
\f[B]dfcache import\f[R] \(em import file into P2P cache system
|
\f[B]dfcache import\f[R] \(em import file into P2P cache system
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
.\" Automatically generated by Pandoc 3.7.0.1
|
.\" Automatically generated by Pandoc 3.7.0.1
|
||||||
.\"
|
.\"
|
||||||
.TH "DFCACHE" "1" "" "Version v2.2.0" "Frivolous \(lqDfcache\(rq Documentation"
|
.TH "DFCACHE" "1" "" "Version v2.3.0" "Frivolous \(lqDfcache\(rq Documentation"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
\f[B]dfcache plugin\f[R] \(em show plugin
|
\f[B]dfcache plugin\f[R] \(em show plugin
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
.\" Automatically generated by Pandoc 3.7.0.1
|
.\" Automatically generated by Pandoc 3.7.0.1
|
||||||
.\"
|
.\"
|
||||||
.TH "DFCACHE" "1" "" "Version v2.2.0" "Frivolous \(lqDfcache\(rq Documentation"
|
.TH "DFCACHE" "1" "" "Version v2.3.0" "Frivolous \(lqDfcache\(rq Documentation"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
\f[B]dfcache stat\f[R] \(em stat checks if a file exists in P2P cache
|
\f[B]dfcache stat\f[R] \(em stat checks if a file exists in P2P cache
|
||||||
system
|
system
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
.\" Automatically generated by Pandoc 3.7.0.1
|
.\" Automatically generated by Pandoc 3.7.0.1
|
||||||
.\"
|
.\"
|
||||||
.TH "DFCACHE" "1" "" "Version v2.2.0" "Frivolous \(lqDfcache\(rq Documentation"
|
.TH "DFCACHE" "1" "" "Version v2.3.0" "Frivolous \(lqDfcache\(rq Documentation"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
\f[B]dfcache version\f[R] \(em show version
|
\f[B]dfcache version\f[R] \(em show version
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
.\" Automatically generated by Pandoc 3.7.0.1
|
.\" Automatically generated by Pandoc 3.7.0.1
|
||||||
.\"
|
.\"
|
||||||
.TH "DFCACHE" "1" "" "Version v2.2.0" "Frivolous \(lqDfcache\(rq Documentation"
|
.TH "DFCACHE" "1" "" "Version v2.3.0" "Frivolous \(lqDfcache\(rq Documentation"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
\f[B]dfcache\f[R] \(em the P2P cache client of dragonfly
|
\f[B]dfcache\f[R] \(em the P2P cache client of dragonfly
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
% DFCACHE(1) Version v2.2.0 | Frivolous "Dfcache" Documentation
|
% DFCACHE(1) Version v2.3.0 | Frivolous "Dfcache" Documentation
|
||||||
|
|
||||||
# NAME
|
# NAME
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
% DFCACHE(1) Version v2.2.0 | Frivolous "Dfcache" Documentation
|
% DFCACHE(1) Version v2.3.0 | Frivolous "Dfcache" Documentation
|
||||||
|
|
||||||
# NAME
|
# NAME
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
% DFCACHE(1) Version v2.2.0 | Frivolous "Dfcache" Documentation
|
% DFCACHE(1) Version v2.3.0 | Frivolous "Dfcache" Documentation
|
||||||
|
|
||||||
# NAME
|
# NAME
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
% DFCACHE(1) Version v2.2.0 | Frivolous "Dfcache" Documentation
|
% DFCACHE(1) Version v2.3.0 | Frivolous "Dfcache" Documentation
|
||||||
|
|
||||||
# NAME
|
# NAME
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
% DFCACHE(1) Version v2.2.0 | Frivolous "Dfcache" Documentation
|
% DFCACHE(1) Version v2.3.0 | Frivolous "Dfcache" Documentation
|
||||||
|
|
||||||
# NAME
|
# NAME
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
% DFCACHE(1) Version v2.2.0 | Frivolous "Dfcache" Documentation
|
% DFCACHE(1) Version v2.3.0 | Frivolous "Dfcache" Documentation
|
||||||
|
|
||||||
# NAME
|
# NAME
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
% DFCACHE(1) Version v2.2.0 | Frivolous "Dfcache" Documentation
|
% DFCACHE(1) Version v2.3.0 | Frivolous "Dfcache" Documentation
|
||||||
|
|
||||||
# NAME
|
# NAME
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
% DFCACHE(1) Version v2.2.0 | Frivolous "Dfcache" Documentation
|
% DFCACHE(1) Version v2.3.0 | Frivolous "Dfcache" Documentation
|
||||||
|
|
||||||
# NAME
|
# NAME
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
.\" Automatically generated by Pandoc 3.7.0.1
|
.\" Automatically generated by Pandoc 3.7.0.1
|
||||||
.\"
|
.\"
|
||||||
.TH "DFGET" "1" "" "Version v2.2.0" "Frivolous \(lqDfget\(rq Documentation"
|
.TH "DFGET" "1" "" "Version v2.3.0" "Frivolous \(lqDfget\(rq Documentation"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
\f[B]dfget\f[R] \(em client of Dragonfly used to download and upload
|
\f[B]dfget\f[R] \(em client of Dragonfly used to download and upload
|
||||||
files
|
files
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
% DFGET(1) Version v2.2.0 | Frivolous "Dfget" Documentation
|
% DFGET(1) Version v2.3.0 | Frivolous "Dfget" Documentation
|
||||||
|
|
||||||
# NAME
|
# NAME
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
.\" Automatically generated by Pandoc 3.7.0.1
|
.\" Automatically generated by Pandoc 3.7.0.1
|
||||||
.\"
|
.\"
|
||||||
.TH "DFCACHE" "1" "" "Version v2.2.0" "Frivolous \(lqDfstore\(rq Documentation"
|
.TH "DFCACHE" "1" "" "Version v2.3.0" "Frivolous \(lqDfstore\(rq Documentation"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
\f[B]dfstore cp\f[R] \(em copies a local file or dragonfly object to
|
\f[B]dfstore cp\f[R] \(em copies a local file or dragonfly object to
|
||||||
another location locally or in dragonfly object storage
|
another location locally or in dragonfly object storage
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
.\" Automatically generated by Pandoc 3.7.0.1
|
.\" Automatically generated by Pandoc 3.7.0.1
|
||||||
.\"
|
.\"
|
||||||
.TH "DFCACHE" "1" "" "Version v2.2.0" "Frivolous \(lqDfstore\(rq Documentation"
|
.TH "DFCACHE" "1" "" "Version v2.3.0" "Frivolous \(lqDfstore\(rq Documentation"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
\f[B]dfstore rm\f[R] \(em remove object from P2P storage system
|
\f[B]dfstore rm\f[R] \(em remove object from P2P storage system
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
.\" Automatically generated by Pandoc 3.7.0.1
|
.\" Automatically generated by Pandoc 3.7.0.1
|
||||||
.\"
|
.\"
|
||||||
.TH "DFCACHE" "1" "" "Version v2.2.0" "Frivolous \(lqDfstore\(rq Documentation"
|
.TH "DFCACHE" "1" "" "Version v2.3.0" "Frivolous \(lqDfstore\(rq Documentation"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
\f[B]dfstore version\f[R] \(em show version
|
\f[B]dfstore version\f[R] \(em show version
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
.\" Automatically generated by Pandoc 3.7.0.1
|
.\" Automatically generated by Pandoc 3.7.0.1
|
||||||
.\"
|
.\"
|
||||||
.TH "DFCACHE" "1" "" "Version v2.2.0" "Frivolous \(lqDfstore\(rq Documentation"
|
.TH "DFCACHE" "1" "" "Version v2.3.0" "Frivolous \(lqDfstore\(rq Documentation"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
\f[B]dfstore\f[R] \(em object storage client of dragonfly
|
\f[B]dfstore\f[R] \(em object storage client of dragonfly
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
% DFCACHE(1) Version v2.2.0 | Frivolous "Dfstore" Documentation
|
% DFCACHE(1) Version v2.3.0 | Frivolous "Dfstore" Documentation
|
||||||
|
|
||||||
# NAME
|
# NAME
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
% DFCACHE(1) Version v2.2.0 | Frivolous "Dfstore" Documentation
|
% DFCACHE(1) Version v2.3.0 | Frivolous "Dfstore" Documentation
|
||||||
|
|
||||||
# NAME
|
# NAME
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
% DFCACHE(1) Version v2.2.0 | Frivolous "Dfstore" Documentation
|
% DFCACHE(1) Version v2.3.0 | Frivolous "Dfstore" Documentation
|
||||||
|
|
||||||
# NAME
|
# NAME
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
% DFCACHE(1) Version v2.2.0 | Frivolous "Dfstore" Documentation
|
% DFCACHE(1) Version v2.3.0 | Frivolous "Dfstore" Documentation
|
||||||
|
|
||||||
# NAME
|
# NAME
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit cec3407126f7196c9719c5d358d2f8c63bfa69ea
|
Subproject commit 7cf69832a842a683a01c9c3ff9aed354bb72ff8e
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit 8aceed5453d2b7ad2656f10f1b06cca3e45c0e97
|
Subproject commit 7afe3b697e53c66ec844f7a6ae7e4f9f63e3b866
|
||||||
|
|
@ -1,81 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
set -o nounset
|
|
||||||
set -o errexit
|
|
||||||
set -o pipefail
|
|
||||||
|
|
||||||
KIND_CONFIG_PATH="test/testdata/kind/config.yaml"
|
|
||||||
CHARTS_CONFIG_PATH="test/testdata/charts/config.yaml"
|
|
||||||
CHARTS_PATH="deploy/helm-charts/charts/dragonfly"
|
|
||||||
NAMESPACE="dragonfly-system"
|
|
||||||
E2E_NAMESPACE="dragonfly-e2e"
|
|
||||||
FILE_SERVER_NAME="file-server-0"
|
|
||||||
curDir=$(cd "$(dirname "$0")" && pwd)
|
|
||||||
cd "${curDir}/../" || return
|
|
||||||
|
|
||||||
install-kind() {
|
|
||||||
if which kind >/dev/null ; then
|
|
||||||
print_step_info "kind has been installed"
|
|
||||||
else
|
|
||||||
print_step_info "start install kind"
|
|
||||||
go install sigs.k8s.io/kind@v0.11.1
|
|
||||||
fi
|
|
||||||
|
|
||||||
kind create cluster --config ${KIND_CONFIG_PATH}
|
|
||||||
}
|
|
||||||
|
|
||||||
install-helm() {
|
|
||||||
if which helm >/dev/null ; then
|
|
||||||
print_step_info "helm has been installed"
|
|
||||||
else
|
|
||||||
print_step_info "start install helm"
|
|
||||||
curl -fsSL https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | sh
|
|
||||||
fi
|
|
||||||
|
|
||||||
helm upgrade --install --wait --timeout 10m --dependency-update --create-namespace --namespace ${NAMESPACE} -f ${CHARTS_CONFIG_PATH} dragonfly ${CHARTS_PATH}
|
|
||||||
}
|
|
||||||
|
|
||||||
install-ginkgo() {
|
|
||||||
if which ginkgo >/dev/null ; then
|
|
||||||
print_step_info "ginkgo has been installed"
|
|
||||||
else
|
|
||||||
go install github.com/onsi/ginkgo/v2/ginkgo@v2.12.0
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
install-apache-bench() {
|
|
||||||
if which ab >/dev/null ; then
|
|
||||||
print_step_info "apache bench has been installed"
|
|
||||||
else
|
|
||||||
apt-get update
|
|
||||||
apt-get install apache2-utils
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
print_step_info() {
|
|
||||||
echo "-----------------------------"
|
|
||||||
echo $1
|
|
||||||
echo "-----------------------------"
|
|
||||||
}
|
|
||||||
|
|
||||||
main() {
|
|
||||||
print_step_info "start kind create cluster"
|
|
||||||
install-kind
|
|
||||||
|
|
||||||
print_step_info "start building docker images"
|
|
||||||
make docker-build docker-build-testing-tools
|
|
||||||
|
|
||||||
print_step_info "start loading image for kind"
|
|
||||||
make kind-load
|
|
||||||
|
|
||||||
print_step_info "start helm install dragonfly"
|
|
||||||
install-helm
|
|
||||||
|
|
||||||
print_step_info "start install ginkgo"
|
|
||||||
install-ginkgo
|
|
||||||
|
|
||||||
print_step_info "start install apache bench"
|
|
||||||
install-apache-bench
|
|
||||||
}
|
|
||||||
|
|
||||||
main "$@"
|
|
||||||
|
|
@ -1,27 +0,0 @@
|
||||||
#!/bin/bash
|
|
||||||
|
|
||||||
set -o nounset
|
|
||||||
set -o errexit
|
|
||||||
set -o pipefail
|
|
||||||
|
|
||||||
D7Y_VERSION=${D7Y_VERSION:-"latest"}
|
|
||||||
D7Y_REGISTRY=${D7Y_REGISTRY:-dragonflyoss}
|
|
||||||
|
|
||||||
kind-load() {
|
|
||||||
kind load docker-image "${D7Y_REGISTRY}"/"${1}":"${D7Y_VERSION}" || { echo >&2 "load docker image error"; exit 1; }
|
|
||||||
}
|
|
||||||
|
|
||||||
main() {
|
|
||||||
case "${1-}" in
|
|
||||||
dfdaemon)
|
|
||||||
kind-load dfdaemon
|
|
||||||
;;
|
|
||||||
scheduler)
|
|
||||||
kind-load scheduler
|
|
||||||
;;
|
|
||||||
manager)
|
|
||||||
kind-load manager
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
|
|
||||||
main "$@"
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
Subproject commit 499ef7f82d94b69477b1a4bcad793f6b59ab0569
|
Subproject commit 5d943d8aeadbd571b35993f3df0844f7a41d85d4
|
||||||
|
|
@ -22,8 +22,8 @@ import (
|
||||||
|
|
||||||
var (
|
var (
|
||||||
Major = "2"
|
Major = "2"
|
||||||
Minor = "0"
|
Minor = "3"
|
||||||
GitVersion = "v2.2.0"
|
GitVersion = "v2.3.0"
|
||||||
GitCommit = "unknown"
|
GitCommit = "unknown"
|
||||||
Platform = osArch
|
Platform = osArch
|
||||||
BuildTime = "unknown"
|
BuildTime = "unknown"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue