Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/scripts/build-all-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ function build_images() {
${IMG_REPO}/thinruntime-controller:${IMAGE_TAG}
${IMG_REPO}/efcruntime-controller:${IMAGE_TAG}
${IMG_REPO}/vineyardruntime-controller:${IMAGE_TAG}
${IMG_REPO}/cacheruntime-controller:${IMAGE_TAG}
${IMG_REPO}/fluid-csi:${IMAGE_TAG}
${IMG_REPO}/fluid-webhook:${IMAGE_TAG}
${IMG_REPO}/fluid-crd-upgrader:${IMAGE_TAG}
Expand Down
6 changes: 6 additions & 0 deletions .github/scripts/gha-e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,13 @@
bash test/gha-e2e/juicefs/test.sh
}

function curvine_e2e() {

Check warning on line 103 in .github/scripts/gha-e2e.sh

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Add an explicit return statement at the end of the function.

See more on https://sonarcloud.io/project/issues?id=fluid-cloudnative_fluid&issues=AZ2RBgjXGiS5llmBeGia&open=AZ2RBgjXGiS5llmBeGia&pullRequest=5762
set -e
bash test/gha-e2e/curvine/test.sh
}

check_control_plane_status
alluxio_e2e
jindo_e2e
juicefs_e2e
curvine_e2e
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ DOCKER_PUSH += docker-push-webhook
DOCKER_PUSH += docker-push-goosefsruntime-controller
DOCKER_PUSH += docker-push-juicefsruntime-controller
DOCKER_PUSH += docker-push-thinruntime-controller
#DOCKER_PUSH += docker-push-cacheruntime-controller
DOCKER_PUSH += docker-push-cacheruntime-controller
DOCKER_PUSH += docker-push-efcruntime-controller
DOCKER_PUSH += docker-push-vineyardruntime-controller
# Not need to push init-users image by default
Expand All @@ -143,7 +143,7 @@ DOCKER_BUILDX_PUSH += docker-buildx-push-csi
DOCKER_BUILDX_PUSH += docker-buildx-push-webhook
DOCKER_BUILDX_PUSH += docker-buildx-push-juicefsruntime-controller
DOCKER_BUILDX_PUSH += docker-buildx-push-thinruntime-controller
#DOCKER_BUILDX_PUSH += docker-buildx-push-cacheruntime-controller
DOCKER_BUILDX_PUSH += docker-buildx-push-cacheruntime-controller
DOCKER_BUILDX_PUSH += docker-buildx-push-efcruntime-controller
DOCKER_BUILDX_PUSH += docker-buildx-push-vineyardruntime-controller
# Not need to push init-users image by default
Expand Down
19 changes: 19 additions & 0 deletions api/v1alpha1/cacheruntimeclass_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,25 @@ type RuntimeComponentDefinition struct {
// Dependencies specifies the dependencies required by the component
// +optional
Dependencies RuntimeComponentDependencies `json:"dependencies,omitempty"`

// ExecutionEntries entries to support out-of-tree integration.
// +optional
ExecutionEntries *ExecutionEntries `json:"executionEntries,omitempty"`
}

type ExecutionEntries struct {
// MountUFS defines the operations for mounting UFS
MountUFS *ExecutionCommonEntry `json:"mountUFS,omitempty"`

// ReportSummary it defines the operation how to get cache status like capacity, hit ratio etc.
ReportSummary *ExecutionCommonEntry `json:"reportSummary,omitempty"`
}

type ExecutionCommonEntry struct {
Command []string `json:"command"`

// TimeoutSeconds is the timeout(seconds) for the execution entry, at least(default) 20 seconds.
TimeoutSeconds int32 `json:"timeout,omitempty"`
}

// EncryptOptionComponentDependency defines the configuration for encrypt option dependency
Expand Down
70 changes: 69 additions & 1 deletion api/v1alpha1/openapi_generated.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

50 changes: 50 additions & 0 deletions api/v1alpha1/zz_generated.deepcopy.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

81 changes: 81 additions & 0 deletions charts/fluid/fluid/crds/data.fluid.io_cacheruntimeclasses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,33 @@ spec:
type: array
type: object
type: object
executionEntries:
properties:
mountUFS:
properties:
command:
items:
type: string
type: array
timeout:
format: int32
type: integer
required:
- command
type: object
reportSummary:
properties:
command:
items:
type: string
type: array
timeout:
format: int32
type: integer
required:
- command
type: object
type: object
options:
additionalProperties:
type: string
Expand Down Expand Up @@ -3453,6 +3480,33 @@ spec:
type: array
type: object
type: object
executionEntries:
properties:
mountUFS:
properties:
command:
items:
type: string
type: array
timeout:
format: int32
type: integer
required:
- command
type: object
reportSummary:
properties:
command:
items:
type: string
type: array
timeout:
format: int32
type: integer
required:
- command
type: object
type: object
options:
additionalProperties:
type: string
Expand Down Expand Up @@ -6843,6 +6897,33 @@ spec:
type: array
type: object
type: object
executionEntries:
properties:
mountUFS:
properties:
command:
items:
type: string
type: array
timeout:
format: int32
type: integer
required:
- command
type: object
reportSummary:
properties:
command:
items:
type: string
type: array
timeout:
format: int32
type: integer
required:
- command
type: object
type: object
options:
additionalProperties:
type: string
Expand Down
Loading
Loading