Merge "chore(make): updates Makefile"

This commit is contained in:
Zuul 2021-01-22 09:03:08 +00:00 committed by Gerrit Code Review
commit dff7745844

View File

@ -12,6 +12,7 @@
# It's necessary to set this because some environments don't link sh -> bash.
SHELL := /bin/bash
HELM := helm
TASK := build
EXCLUDES := helm-toolkit doc tests tools logs tmp zuul.d releasenotes
@ -30,13 +31,13 @@ $(CHARTS):
init-%:
if [ -f $*/Makefile ]; then make -C $*; fi
if [ -f $*/requirements.yaml ]; then helm dep up $*; fi
if [ -f $*/requirements.yaml ]; then $(HELM) dep up $*; fi
lint-%: init-%
if [ -d $* ]; then helm lint $*; fi
if [ -d $* ]; then $(HELM) lint $*; fi
build-%: lint-%
if [ -d $* ]; then helm package $*; fi
if [ -d $* ]; then $(HELM) package $*; fi
# This is used exclusively with helm3 building in the gate to publish
package-%: init-%