blob: 66dbb298ccf7027db9458ffbc6f410b2ca1ad186 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
.PHONY: all clean helm base cba clean_all
ONBOARDING_PACKAGE_NAME ?= vfw_k8s_demo
CBA_NAME ?= CBA
clean_all:
$(MAKE) clean
$(MAKE) all
#Can't use .csar extension or SDC will panic
all: package/ helm base cba
cd package/ && zip -r $(ONBOARDING_PACKAGE_NAME).zip .
mv package/$(ONBOARDING_PACKAGE_NAME).zip .
helm: package/
make -C helm
mv helm/*.tgz package/
base: package/
cp base/* package/
cba: package/
cd cba/ && zip -r $(CBA_NAME).zip .
mv cba/$(CBA_NAME).zip package/
package/:
mkdir package/
clean:
rm -rf package/
rm -f $(ONBOARDING_PACKAGE_NAME).zip
|