
The ORAN O2 app provides O-RAN spec compliant O2 interfaces. This commit packages the existing O2 helm charts into a fluxCD application Test Plan: Pass: oran-o2 present in /usr/local/share/applications/helm/ after CentOS ISO installation Pass: oran-o2 present in /usr/local/share/applications/helm/ after Debian ISO installation Pass: oran-o2 is applied on AIO-SX CentOS Pass: oran-o2 is applied on AIO-SX Debian Pass: oran-o2 is applied on DC AIO-DX CentOS Pass: oran-o2 is applied with overrides on AIO-SX CentOS Pass: oran-o2 is applied with overrides on AIO-SX Debian Pass: oran-o2 is applied with overrides on DC Central AIO-DX CentOS Story: 2010278 Task: 46684 Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Change-Id: I290c12f8d0f5c02588920ef3cd3e23b1ad80b0d2
25 lines
552 B
Makefile
Executable File
25 lines
552 B
Makefile
Executable File
#!/usr/bin/make -f
|
|
# export DH_VERBOSE = 1
|
|
|
|
export APP_NAME=oran-o2
|
|
export PBR_VERSION=1.0.0
|
|
export PYBUILD_NAME=k8sapp_oran_o2
|
|
export ROOT=debian/tmp
|
|
|
|
%:
|
|
dh $@ --with=python3 --buildsystem=pybuild
|
|
|
|
override_dh_auto_install:
|
|
python3 setup.py install --install-layout=deb --root $(ROOT)
|
|
python3 setup.py bdist_wheel \
|
|
--universal \
|
|
-d $(ROOT)/plugins/$(APP_NAME)
|
|
|
|
override_dh_python3:
|
|
dh_python3 --shebang=/usr/bin/python3
|
|
|
|
ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
|
|
override_dh_auto_test:
|
|
PYTHONDIR=$(CURDIR) stestr run || true
|
|
endif
|