
Containing the initial package for Openbao application. Contains a working package of openbao-helm, openbao-manager-helm, python3-k8sapp-openbao, and stx-openbao-helm. Test Plan: PASS Packages are successfully built, and the application tarball is created. PASS Application is uploaded and applied with no errors PASS Application is configured for sanity testing PASS Application passes aware/unaware test for sanity PASS Application functions when network access is restricted to internal registry Story: 2011244 Task: 51378 Change-Id: I10910b3cc00c3e45ebce0df20bbee53af3d8543b Signed-off-by: Tae Park <tae.park@windriver.com>
27 lines
787 B
Makefile
Executable File
27 lines
787 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
export DH_VERBOSE = 1
|
|
|
|
export DEB_VERSION = $(shell dpkg-parsechangelog | egrep '^Version:' | cut -f 2 -d ' ')
|
|
export PATCH_VERSION = $(shell echo $(DEB_VERSION) | cut -f 4 -d '.')
|
|
export CHART_BASE_VERSION = $(shell echo $(DEB_VERSION) | sed 's/-/./' | cut -d '.' -f 1-3)
|
|
export CHART_VERSION = $(CHART_BASE_VERSION)+STX.$(PATCH_VERSION)
|
|
|
|
export ROOT = debian/tmp
|
|
export APP_FOLDER = $(ROOT)/usr/lib/helm
|
|
|
|
%:
|
|
dh $@
|
|
|
|
override_dh_auto_build:
|
|
mkdir -p openbao-manager
|
|
cp Chart.yaml values.yaml openbao-manager
|
|
cp -r templates/ openbao-manager
|
|
make CHART_VERSION=$(CHART_VERSION) openbao-manager
|
|
|
|
override_dh_auto_install:
|
|
# Install the app tar file.
|
|
install -d -m 755 $(APP_FOLDER)
|
|
install -p -D -m 755 openbao-manager*.tgz $(APP_FOLDER)
|
|
|
|
override_dh_auto_test:
|