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 20, 2025
1 parent 1c30fed commit c432c0b
Show file tree
Hide file tree
Showing 3 changed files with 362 additions and 362 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,6 @@ docker-build-dev-containers: ## Build dev-containers image
validate-changelog: ## Validate changelog
./hack/validate-changelog.sh

.PHONY: generate-trigger-schemas
generate-trigger-schemas: ## Generate trigger shcemas
GOBIN=$(LOCALBIN) go run ./schema/trigger_schema.go --keda-version $(VERSION) --scalers-builder-file "pkg/scaling/scalers_builder.go" --scalers-files-dir "pkg/scalers" --output-file-path "schema/"
.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/"
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ func aggregateSchemaStruct(scalerSelectors map[string]string, kedaScalerStructs
return err
}

fileName := outputFilePath + "triggerMetadata.yaml"
fileName := outputFilePath + "scaler-metadata-schemas.yaml"
err = os.WriteFile(fileName, yamlData, 0644)
if err != nil {
return err
Expand Down
Loading

0 comments on commit c432c0b

Please sign in to comment.