BASE_DIRECTORY:=$(shell git rev-parse --show-toplevel) GIT_TAG=$(shell cat ./$(RELEASE_BRANCH)/GIT_TAG) GOLANG_VERSION:=$(shell cat ./$(RELEASE_BRANCH)/GOLANG_VERSION) REPO=autoscaler REPO_OWNER=kubernetes BASE_IMAGE_NAME?=eks-distro-minimal-base BINARY_TARGET_FILES=cluster-autoscaler SOURCE_PATTERNS=. GO_MOD_PATHS=cluster-autoscaler FIX_LICENSES=$(REPO)/cluster-autoscaler/LICENSE HAS_RELEASE_BRANCHES=true EXCLUDE_FROM_STAGING_BUILDSPEC=true HAS_HELM_CHART=true HELM_GIT_TAG=$(shell cat ./$(RELEASE_BRANCH)/HELM_GIT_TAG) HELM_TAG=$(subst cluster-autoscaler-chart-,,$(HELM_GIT_TAG))-$(subst -,.,$(RELEASE_BRANCH))-$(GIT_HASH) HELM_SOURCE_OWNER=kubernetes HELM_SOURCE_REPOSITORY=autoscaler HELM_DIRECTORY=charts/cluster-autoscaler HELM_DESTINATION_REPOSITORY=cluster-autoscaler/charts/cluster-autoscaler HELM_IMAGE_LIST=kubernetes/autoscaler BUILDSPEC_VARS_KEYS=RELEASE_BRANCH BUILDSPEC_VARS_VALUES=SUPPORTED_K8S_VERSIONS BUILDSPEC_COMPUTE_TYPE=BUILD_GENERAL1_LARGE include $(BASE_DIRECTORY)/Common.mk $(GO_MOD_DOWNLOAD_TARGETS): remove-cloud-providers attributions: remove-cloud-providers .PHONY: remove-cloud-providers remove-cloud-providers: $(GIT_PATCH_TARGET) cd ./autoscaler/cluster-autoscaler/cloudprovider && ls . | grep -v -e builder -e clusterapi -e mocks -e test -e .go | xargs rm -rf $(GATHER_LICENSES_TARGETS): | $(FIX_LICENSES) $(FIX_LICENSES): | $(GO_MOD_DOWNLOAD_TARGETS) #go-licenses requires a LICENSE file in each folder with the go.mod cp $(REPO)/LICENSE $@ ########### DO NOT EDIT ############################# # To update call: make add-generated-help-block # This is added to help document dynamic targets and support shell autocompletion # Run make help for a formatted help block with all targets include Help.mk ########### END GENERATED ###########################