diff --git a/Makefile b/Makefile index 5eb988a2..91cf263e 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,6 @@ OS_TYPE ?= $(shell uname) MODULE_REGISTRY_PORT ?= 8888 MODULE_REGISTRY ?= op-kcp-registry.localhost:$(MODULE_REGISTRY_PORT)/unsigned # Desired Channel of the Generated Module Template -MODULE_CHANNEL ?= fast # Image URL to use all building/pushing image targets IMG_REGISTRY_PORT ?= $(MODULE_REGISTRY_PORT) @@ -189,25 +188,6 @@ $(LOCALBIN): module-image: docker-build docker-push ## Build the Module Image and push it to a registry defined in IMG_REGISTRY echo "built and pushed module image $(IMG)" -DEFAULT_CR ?= $(shell pwd)/config/samples/default.yaml -.PHONY: module-build -module-build: kyma render-manifest module-config-template configure-git-origin ## Build the Module and push it to a registry defined in MODULE_REGISTRY - ################################################################# - ## Building module with: - # - image: ${IMG} - # - channel: ${MODULE_CHANNEL} - # - name: kyma-project.io/module/$(MODULE_NAME) - # - version: $(MODULE_VERSION) - @$(KYMA) alpha create module --path . --output=module-template.yaml --module-config-file=module-config.yaml $(MODULE_CREATION_FLAGS) - -.PHONY: module-config-template -module-config-template: - @cat module-config-template.yaml \ - | sed -e 's/{{.Channel}}/${MODULE_CHANNEL}/g' \ - -e 's/{{.Version}}/$(MODULE_VERSION)/g' \ - -e 's/{{.Name}}/kyma-project.io\/module\/$(MODULE_NAME)/g' \ - > module-config.yaml - .PHONY: configure-git-origin configure-git-origin: # test-infra does not include origin remote in the .git directory. diff --git a/scripts/release.sh b/scripts/release.sh index 291c35a3..1c2b9b02 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -63,5 +63,4 @@ fi UPLOAD_URL="https://uploads.github.com/repos/kyma-project/eventing-manager/releases/${RELEASE_ID}/assets" uploadFile "eventing-manager.yaml" "${UPLOAD_URL}?name=eventing-manager.yaml" -uploadFile "module-template.yaml" "${UPLOAD_URL}?name=module-template.yaml" uploadFile "config/samples/default.yaml" "${UPLOAD_URL}?name=eventing_default_cr.yaml"