Allow to package charts in specified directory

Use make PACKAGE_DIR=/foo/bar/

Change-Id: I0dadeb86cf643e07cea5fc603972d5c3bab4a039
This commit is contained in:
Vasyl Saienko 2024-09-24 11:08:53 +00:00
parent 1ef8cf43a9
commit b82ed1e973

View File

@ -20,6 +20,9 @@ ifdef VERSION
PKG_ARGS += --version $(VERSION) PKG_ARGS += --version $(VERSION)
endif endif
ifdef PACKAGE_DIR
PKG_ARGS += --destination $(PACKAGE_DIR)
endif
EXCLUDES := helm-toolkit doc tests tools logs tmp zuul.d releasenotes roles EXCLUDES := helm-toolkit doc tests tools logs tmp zuul.d releasenotes roles
CHARTS := helm-toolkit $(filter-out $(EXCLUDES), $(patsubst %/.,%,$(wildcard */.))) CHARTS := helm-toolkit $(filter-out $(EXCLUDES), $(patsubst %/.,%,$(wildcard */.)))