
This change removes the unnecessary helm-toolkit build dependency for sdo-helm application build, taking this build cleanup opportunity to also remove old CentOS and Armada related build instructions. Test Plan: PASS: build-pkgs -c -p stx-sdo-helm Closes-Bug: 1980772 Change-Id: I4d3cbd0417d77258861369145a3f0cc44d5d845e Signed-off-by: Rafael Falcao <rafael.vieirafalcao@windriver.com> Signed-off-by: Thales Elero Cervi <thaleselero.cervi@windriver.com>
30 lines
764 B
Makefile
Executable File
30 lines
764 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
#export DH_VERBOSE = 1
|
|
|
|
|
|
export ROOT = debian/tmp
|
|
export APP_FOLDER = $(ROOT)/usr/lib/application
|
|
export HELM_FOLDER = $(ROOT)/usr/lib/helm
|
|
|
|
|
|
%:
|
|
dh $@
|
|
|
|
override_dh_auto_build:
|
|
# Host a server for the charts
|
|
chartmuseum --debug --port=8879 --context-path='/charts' --storage="local" --storage-local-rootdir="./helm-charts" &
|
|
sleep 2
|
|
helm repo add local http://localhost:8879/charts
|
|
# Create the TGZ file.
|
|
cd helm-charts && make
|
|
# Terminate the helm chart server.
|
|
pkill chartmuseum
|
|
|
|
override_dh_auto_install:
|
|
# helm_folder is created by openstack-helm-infra
|
|
install -d -m 755 $(APP_FOLDER)
|
|
install -p -D -m 755 files/metadata.yaml $(APP_FOLDER)
|
|
install -d -m 755 $(HELM_FOLDER)
|
|
install -p -D -m 755 helm-charts/*.tgz $(HELM_FOLDER)
|
|
|