Leonardo Fagundes Luz Serrano 58a9425f0c Fix pkg downversion due to revision calculation change
A bugfix is being introduced to revision calculation logic.
More specifically, it will ignore commits that affect only
the .gitreview file, so that creating new branches doesn't cause pkgs
to increase version.

This fix does cause the versions of some pkgs to go down,
so an increment (defined by "stx_patch") is used to offset
this side-effect.

A couple notes:
- The offset was calculated considering all branches,
  so the version may go up on some, but not down.
- The commit itself bumps the version by 1, so when the offset
  required is also 1, stx_patch was set to 0. If stx_patch was
  already present, then a dummy change was introduced just to
  create the commit and cause the version bump.

Test Plan:
pass: build pkg(s)
pass: target pkg(s) version(s) do not decrease

Partial-Bug: 2138682

Depends-On: https://review.opendev.org/c/starlingx/root/+/973628

Change-Id: Iaf3f67a2f5c874d8190af773b4c35adcaa36cb59
Signed-off-by: Leonardo Fagundes Luz Serrano <Leonardo.FagundesLuzSerrano@windriver.com>
2026-01-26 20:36:15 -03:00
2023-12-13 11:40:49 -07:00
2023-08-16 14:35:50 +00:00
2024-06-26 06:39:32 -04:00
2023-12-13 11:40:49 -07:00

## Application app-intel-device-plugins
This application provides the intel device plugins to the StarlingX

Top Level Directory Structure

app-intel-device-plugins
├── bindep.txt
├── debian_build_layer.cfg
├── debian_iso_image.inc
├── debian_pkg_dirs
├── helm-charts
│   ├── custom # contains customized helm package
│   │   └── intel-device-plugins-secret-observer-helm # contains secret-observer helm package
│   └── upstream # contains upstream hlem package
│       ├── intel-device-plugins-dsa-helm # contains DSA plugin helm package
│       ├── intel-device-plugins-gpu-helm # contains GPU plugin helm package
│       ├── intel-device-plugins-operator-helm # contains oeprator helm package
│       └── intel-device-plugins-qat-helm # contains QAT plugin helm package
├── python3-k8sapp-intel-device-plugins-operator # contains python plugins of application life cycle management
├── README
├── requirements.txt
├── stx-intel-device-plugins-operator-helm # helm package manager for the application
├── test-requirements.txt
└── tox.ini

## Source
Charts are based on
<https://github.com/intel/helm-charts/releases>.

## Installation step:
1. Build a package
    "build -c -p
    intel-device-plugins-operator-helm,
    intel-device-plugins-dsa-helm,
    intel-device-plugins-gpu-helm,
    intel-device-plugins-qat-helm,
    intel-device-plugins-secret-observer-helm,
    python3-k8sapp-intel-device-plugins-operator,
    stx-intel-device-plugins-operator-helm"

2. Extract the content of stx-intel-device-plugins-helm_*amd64.deb and check
   if the helm tar file is present in the location temp/usr/local/share/application/helm

   Extract using command.
   dpkg -x stx-intel-device-plugins-helm_*amd64.deb temp

3. In the QAT hardware lab, if tar file file does not exist at the location "/usr/local/share/application/helm", then copy the tar file.

4. Upload the tar using command.
    "system application-upload tar_file"

5. Check the helm chart status using command.
   "system helm-override-list intel-device-plugins-operator --long"

6. If you want to install any of the helm chart, then make it enable using command.
   "system helm-chart-attribute-modify [--enabled <true/false>] <app name> <chart name> <namespace>"

   For example, run following command to enable QAT helm chart.
   "system helm-chart-attribute-modify  --enabled true intel-device-plugins-operator intel-device-plugins-qat intel-device-plugins-operator"

7. Apply the application using command. (Note: Make sure node-feature-discovery application should be applied first before applying intel-device-plugins-operator application.)
   "system application-apply intel-device-plugins-operator"

8. After applying the application, Operator and QAT pods will be running and status can be checked using command.
   "kubectl get pods -n intel-device-plugins-operator"
Description
StarlingX Intel Device Plugins app
Readme 1.4 MiB
Languages
Python 71.6%
Makefile 28.2%
Pascal 0.2%