9 Commits

Author SHA1 Message Date
Eduardo Juliano Alberti
050e9d2407 Kubernetes Power Manager upversion
This commit applies the necessary changes to upversion the
Kubernetes Power Manager app, from v2.3.0 to v2.4.0.

The version v2.4.0 incorporates the proposed changes to the
upstream, what allows the removal of the image build script
and patches, as well the use of public docker image.

This change also proposes the removal of the local helm code,
giving preference to the use of the code available on the
upstream (published with v2.4.0). In this new approach, the
helm code is incorporated and adapted by applying patches.

Test Plan:
PASS: AIO-SX: check  if  the  application  can be successfully
      installed.
PASS: check if label "app.starlingx.io/component" was  applied
      in "intel-power" namespace on install.
PASS: check platform cores allocation
PASS: AIO-SX: check  if  the  application  can be successfully
      removed and deleted.
PASS: check if installed CRDs are removed on application
      removal/deletion.
PASS: check if daemonsets (agents) started  by  the controller
      are removed on application removal/deletion.
PASS: check if the namespace was deleted on application
      removal/deletion.
PASS: check if the app is correctly updated from earlier version.

Story: 2011069
Task: 49757
Depends-On: https://review.opendev.org/c/starlingx/config/+/913696

Author: Eduardo Alberti <eduardo.alberti@windriver.com>
Co-author: Guilherme Henrique Pereira dos Santos <guilherme.santos@windriver.com>

Change-Id: Ic701cf29e9d6650f0b832960efa343f09e43adc8
Signed-off-by: Eduardo Juliano Alberti <eduardo.alberti@windriver.com>
2024-04-05 15:06:45 -03:00
Igor Soares
078ac1d7ce Add minimum Kubernetes version supported
Add the supported minimum Kubernetes version into the application
metadata file.

The minimum Kubernetes version is set to 1.24.4 and should be changed
accordingly for future application updates.

The "supported_k8s_version:minimum" field is optional but it will become
mandatory in the near future.

This also contains a fix to properly trigger the Tox metadata checks.

Test Plan
PASS: build-pkgs && build-image
PASS: Apply application

Story: 2010929
Task: 49513

Change-Id: I6ab60ef85e7b84e3a7576325ebfa5d31fb1a60f5
Signed-off-by: Igor Soares <Igor.PiresSoares@windriver.com>
vf/bookworm vr/stx.9.0 9.0.0
2024-02-06 15:33:54 -03:00
Zuul
4701611c6c Merge "Application versioning based on build release" vf/kernel-6.6 2024-01-08 16:49:05 +00:00
Igor Soares
0991d4418d Application versioning based on build release
This change will automatically adjust versioning of the application
tarball and python plugins to reflect the same version reported by
SW_VERION in /etc/build.info.

Test plan:
PASS: build-pkgs -a & build-image
PASS: Confirm that the tarball version matches the platform version
PASS: Apply application

Story: 2010929
Task: 49357

Change-Id: I0c4eb5701c5ec8a2f54396a21dd2b11725d2150a
Signed-off-by: Igor Soares <Igor.PiresSoares@windriver.com>
2023-12-29 12:59:41 -03:00
Reed, Joshua
4fae364bfe Update app Zuul Check Jobs.
Modify code to conform to flake8 and pylint.

Jobs are now flake8, pylint, py39 and metadata.

Test Plan
PASS - All zuul jobs pass as expected.

Story: 2010929
Task: 49253

Change-Id: I1239b1c2a952d822bf5ba7348acc2ff1ce80dd97
Signed-off-by: Reed, Joshua <Joshua.Reed@windriver.com>
2023-12-13 13:23:46 -07:00
Eduardo Alberti
586dc7ab10 Fixing setup_requires
The presence of PyYaml in setup_requires causes a problem
during the compilation process. Due to this issue and the
fact that the requirement is not needed for the installation
process, this commit removes the requirement from the setup file.

TEST PLAN:
PASS: successfully package clean build

Story: 2010773
Task: 48680

Change-Id: I89e5464c52f8f5fe416dae3e67d14a915870a199
Signed-off-by: Eduardo Alberti <eduardo.alberti@windriver.com>
2023-08-28 13:35:47 +00:00
Reynaldo P Gomes
02fca75f5c Kubernetes Power Manager as StarlingX application
This commit is responsible for create the StarlingX application for
Kubernetes Power Manager.

TEST PLAN:
PASS: AIO-SX, STD: check  if  the  application  can be successfully
      installed.
PASS: ALL: check if label "app.starlingx.io/component" was  applied
      in "intel-power" namespace on install.
PASS: AIO-SX, STD: check  if  the  application  can be successfully
      uninstalled.
PASS: ALL: check if installed CRDs are removed on uninstall.
PASS: ALL: check if daemonsets (agents) started  by  the controller
      are removed on uninstall.
PASS: ALL: check if the namespace was deleted on uninstall.

Author: Thiago Antonio Miranda <tmarques@windriver.com>
Co-author: Reynaldo P Gomes <reynaldo.patronegomes@windriver.com>
Co-author: Eduardo Alberti <eduardo.alberti@windriver.com>

Depends-on: https://review.opendev.org/c/starlingx/config/+/887958

Story: 2010773
Task: 48320

Change-Id: I340b4960d429ee38ea86a2e919a95484e5bef70a
Signed-off-by: Reynaldo P Gomes <reynaldo.patronegomes@windriver.com>
2023-08-25 08:37:51 -03:00
Eduardo Juliano Alberti
789f333dec Kubernetes Power Manager App setup
Story: 2010773
Task: 48113

Change-Id: Ifb48071bd81a6940b7fb2007c9e4984b8ef91ada
Signed-off-by: Eduardo Juliano Alberti <eduardo.alberti@windriver.com>
vf/antelope
2023-05-30 11:23:38 -03:00
OpenDev Project Creator
a8128edc31 Added .gitreview 2023-05-25 19:34:32 +00:00