From 10642098f31d9aebb7e6f3c171ac6ea987c78b5f Mon Sep 17 00:00:00 2001 From: Gage Hugo Date: Fri, 4 Dec 2020 17:33:57 -0600 Subject: [PATCH] Update makefile for chart packaging This change adds a new makefile target to be utilized by the chart publishing job, specifically one that is compatible with helm 3. This should fix the publish job not posting tarballs. Depends-On: https://review.opendev.org/765634 Change-Id: I3551f691e6c3221b8afb201d8030be538424161b --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 1fbb481c1c..f576929479 100644 --- a/Makefile +++ b/Makefile @@ -38,6 +38,10 @@ lint-%: init-% build-%: lint-% if [ -d $* ]; then helm package $*; fi +# This is used exclusively with helm3 building in the gate to publish +package-%: init-% + if [ -d $* ]; then helm package $*; fi + clean: @echo "Clean all build artifacts" rm -f */templates/_partials.tpl */templates/_globals.tpl