Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
Signed-off-by: SpiritZhou <[email protected]>
  • Loading branch information
SpiritZhou committed Jan 21, 2025
1 parent 4648708 commit b0b68dc
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ ENVTEST_K8S_VERSION = 1.31
SHELL = /usr/bin/env bash -o pipefail
.SHELLFLAGS = -ec

# Scaler schema generation parameters
SCALERS_BUILDER_FILE ?= "pkg/scaling/scalers_builder.go"
SCALERS_FILES_DIR ?= "pkg/scalers"
OUTPUT_FILE_PATH ?= "schema/"

##################################################
# All #
##################################################
Expand Down Expand Up @@ -385,4 +390,4 @@ validate-changelog: ## Validate changelog

.PHONY: generate-scaler-schemas
generate-scaler-schemas: ## Generate scaler shcemas
GOBIN=$(LOCALBIN) go run ./schema/generate_scaler_schema.go --keda-version $(VERSION) --scalers-builder-file "pkg/scaling/scalers_builder.go" --scalers-files-dir "pkg/scalers" --output-file-path "schema/"
GOBIN=$(LOCALBIN) go run ./schema/generate_scaler_schema.go --keda-version $(VERSION) --scalers-builder-file $(SCALERS_BUILDER_FILE) --scalers-files-dir $(SCALERS_FILES_DIR) --output-file-path $(OUTPUT_FILE_PATH)

0 comments on commit b0b68dc

Please sign in to comment.