blob: feb92082a6f23deb15559fafea3a3c6585ba0968 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
vf-modules = base_template vpkg vfw vsn
.PHONY: build clean $(vf-modules:=-build) $(vf-modules:-clean) $(vf-modules:=-package)
package: $(vf-modules:=-package)
build: $(vf-modules:=-build)
clean: $(vf-modules:=-clean)
$(vf-modules:=-package): %-package: %-build
mv $(@:package=)*.tgz $(@:-package=)_cloudtech_k8s_charts.tgz
$(vf-modules:=-build): %-build: %-clean
helm package $(@:-build=)
$(vf-modules:=-clean):
rm -f $(@:-clean=)-*.tgz
rm -f $(@:-clean=)_cloudtech_k8s_charts.tgz
|