integ/gpu/gpu-operator/debian/deb_folder/rules
Fabiano Mercer 575ba42515 Debian: Do not install gpu-operator into ISO
This change removes the gpu-operator helm chart from Debian ISO. The
NVIDIA GPU Operator uses the operator framework within Kubernetes to
automate the management of all NVIDIA software components needed to
provision GPU.
But if NVIDIA is not present in the nodes/controller this helm will
never be used and should not be in the ISO image.
The GPU Operator will continue to be built but not installed
into the image.

Test plan (Debian only)
PASS  build ISO and confirm that package was not installed

Story: 2009968
Task: 46344

Signed-off-by: Fabiano Mercer <fabiano.correamercer@windriver.com>
Change-Id: I1068eebd694cc9395dbe197257707abe2ff36e0e
2022-09-21 14:25:50 +00:00

20 lines
737 B
Makefile

#!/usr/bin/make -f
export HELM_VER = v3
export PKG_VERSION = 1.8.1
export DEBIAN_DESTDIR := $(CURDIR)/debian/tmp
%:
dh $@
override_dh_auto_build:
mkdir -p deployments/gpu-operator/assets/state-driver/
mkdir -p deployments/gpu-operator/assets/state-operator-validation/
cp assets/state-driver/0500_daemonset.yaml deployments/gpu-operator/assets/state-driver/0500_daemonset.yaml
cp assets/state-operator-validation/0500_daemonset.yaml deployments/gpu-operator/assets/state-operator-validation/0500_daemonset.yaml
helm lint deployments/gpu-operator
mkdir build_results
helm package --version ${HELM_VER}-${PKG_VERSION} --app-version v${PKG_VERSION} -d build_results deployments/gpu-operator
override_dh_auto_install:
dh_install