openstack-armada-app/openstack-helm-infra/debian/deb_folder/rules
Lucas Cavalcante b06eb5f63a Debian reenable opentack-helm/openstack-helm-infra
Change Ifb7946e9a289234047934b52d200b951a59c1a3f was rebased wrong
and intends to use an old method of building openstack-armada-app
openstack-helm and openstack-helm-infrafor debian.

This patch correctly applies the new patch changes.

Test Plan:

PASS: Centos Build (build-pkgs openstack-helm-infra openstack-helm)
PASS: Debian Build (build-pkgs -p openstack-helm-infra
                    build-pkgs -p openstack-helm)

Closes-bug: 1960968
Signed-off-by: Lucas Cavalcante <lucasmedeiros.cavalcante@windriver.com>
Change-Id: Ica08158dbba5a10ec7b6266b6808d22d53244095
2022-02-15 20:18:04 -03:00

36 lines
756 B
Makefile
Executable File

#!/usr/bin/make -f
export DH_VERBOSE = 1
export ROOT = debian/tmp
export HELM_FOLDER = $(ROOT)/usr/lib/helm
%:
dh $@
override_dh_auto_build:
# Host a server for the helm charts.
chartmuseum --debug --port=8879 --context-path='/charts' --storage="local" --storage-local-rootdir="." &
sleep 2
helm repo add local http://localhost:8879/charts
# Create the chart TGZ files.
make helm-toolkit
make gnocchi
make ingress
make libvirt
make mariadb
make memcached
make openvswitch
make rabbitmq
make ceph-rgw
# Terminate the helm chart server.
pkill chartmuseum
override_dh_auto_install:
# Install the chart tar files.
install -d -m 755 $(HELM_FOLDER)
install -p -D -m 755 *.tgz $(HELM_FOLDER)
override_dh_auto_test:
override_dh_usrlocal: