Skip to content
Draft
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
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ PREFETCHER_DOCKERFILE ?= docker/Dockerfile.fileprefetch
CSI_BINARY ?= bin/fluid-csi
DATASET_BINARY ?= bin/dataset-controller
APPLICATION_BINARY ?= bin/fluidapp-controller
WORKLOAD_BINARY ?= bin/workload-controller
ALLUXIORUNTIME_BINARY ?= bin/alluxioruntime-controller
JINDORUNTIME_BINARY ?= bin/jindoruntime-controller
GOOSEFSRUNTIME_BINARY ?= bin/goosefsruntime-controller
Expand Down Expand Up @@ -254,6 +255,15 @@ webhook-build:
application-controller-build:
CGO_ENABLED=${CGO_ENABLED} GOOS=${GOOS} GOARCH=${ARCH} GO111MODULE=${GO_MODULE} go build ${GC_FLAGS} -a -o ${APPLICATION_BINARY} -ldflags '${LDFLAGS}' cmd/fluidapp/main.go

.PHONY: workload-controller-build
workload-controller-build:
CGO_ENABLED=${CGO_ENABLED} GOOS=${GOOS} GOARCH=${ARCH} GO111MODULE=${GO_MODULE} go build ${GC_FLAGS} -a -o ${WORKLOAD_BINARY} -ldflags '${LDFLAGS}' cmd/workload/main.go

# Run workload-controller locally (requires KUBECONFIG and CRD installed)
.PHONY: run-workload
run-workload: manifests
go run cmd/workload/main.go start

# Build the docker image
.PHONY: docker-build-dataset-controller
docker-build-dataset-controller:
Expand Down
Loading
Loading