
Builds and installs a FluxCD package with KubeVirt. This builds a deb format package that contains the .tgz file that can be installed on the controller using system application management. Installation Steps for the Controller - Unpack deb package - Find the kubevirt.tgz versioned file in /usr/local/share/applications/helm/ and execute: - 'system application-upload <kubevirt.tgz file>' - 'system application-apply kubevirt-app' - Verify that kubevirt is running by executing 'kubectl get all -n kubevirt' - Verify that cdi is running by executing 'kubectl get all -n cdi' - virtctl is installed to /var/opt/kubevirt Test Plan: Passed: Install KubeVirt using sysinv Passed: Remove KubeVirt using sysinv Passed: Testing creating a Debian VM AIO-SX Passed: Executed virtctl Passed: Verify application-remove removes virtctl Passed: Exercised kubevirt.io lab 2 using CDI to import a VM Story: 2010096 Task: 45651 Change-Id: I9624089a0f9e6a8dcdb7805c6b9091ae33c06cd7 Signed-off-by: Gleb Aronsky <gleb.aronsky@windriver.com>
21 lines
473 B
Makefile
21 lines
473 B
Makefile
#!/usr/bin/make -f
|
|
# export DH_VERBOSE = 1
|
|
|
|
export APP_NAME=kubevirt-app
|
|
export PBR_VERSION=1.0.0
|
|
export PYBUILD_NAME=k8sapp-kubevirt
|
|
export ROOT=$(CURDIR)/debian/tmp
|
|
export SKIP_PIP_INSTALL=1
|
|
|
|
%:
|
|
dh $@ --with=python3 --buildsystem=pybuild
|
|
|
|
override_dh_auto_build:
|
|
python3 setup.py build
|
|
|
|
override_dh_auto_install:
|
|
python3 setup.py install --install-layout=deb --skip-build --root $(ROOT)
|
|
python3 setup.py bdist_wheel \
|
|
--universal \
|
|
-d $(ROOT)/plugins/$(APP_NAME)
|