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>
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>
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>
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>
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>
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>