aboutsummaryrefslogtreecommitdiffstats
path: root/heat/vFW_CNF_CDS/templates/helm/Makefile
diff options
context:
space:
mode:
authorKonrad Bańka <k.banka@samsung.com>2019-10-21 11:04:31 +0200
committerMarco Platania <platania@research.att.com>2019-11-04 14:01:54 +0000
commit68042495ef1e1e6dff7fed7fc2691b01cf672fe1 (patch)
tree7c84d170b19f3674586d268dda3671378471ec00 /heat/vFW_CNF_CDS/templates/helm/Makefile
parent5e1fea9785cad165c17e1b4bc2b79c671e8cd951 (diff)
Provide vFW CNF use case csar content
Issue-ID: INT-1259 Change-Id: I0bcd85725e7f102bdcdf813db0c0260526b5807d Signed-off-by: Konrad Bańka <k.banka@samsung.com>
Diffstat (limited to 'heat/vFW_CNF_CDS/templates/helm/Makefile')
-rw-r--r--heat/vFW_CNF_CDS/templates/helm/Makefile16
1 files changed, 16 insertions, 0 deletions
diff --git a/heat/vFW_CNF_CDS/templates/helm/Makefile b/heat/vFW_CNF_CDS/templates/helm/Makefile
new file mode 100644
index 00000000..12d2d52f
--- /dev/null
+++ b/heat/vFW_CNF_CDS/templates/helm/Makefile
@@ -0,0 +1,16 @@
+vf-modules = base firewall packetgen sink
+.PHONY: build clean $(vf-modules:=-build) $(vf-modules:-clean) $(vf-modules:=-package)
+
+package: $(vf-modules:=-package)
+build: $(vf-modules:=-build)
+clean: $(vf-modules:=-clean)
+ rm -f *_cloudtech_k8s_charts.tgz
+
+$(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