1d228bab28
Introduce automatic downgrade of StarlingX applications to the multiple application version feature. Auto downgrades are triggered by default in scenarios which the applied application bundle is not available anymore under the applications folder but an older version of the same app is. For instance, when platform patches are removed and a previously available ostree is deployed, thus restoring the old set of available apps under the /usr/local/share/applications/helm/ directory. A new section called 'downgrades' can be added to the metadata.yaml file to disable the default behavior. For example: downgrades: auto_downgrade: false When auto downgrades are disabled the current applied version remains unchanged. Test plan: PASS: build-pkgs -a && build-image PASS: AIO-SX fresh install. PASS: Apply platform-integ-apps. Update platform-integ-apps using a tarball that is not available under /usr/local/share/applications/helm/ and that does not contain the downgrade section. Confirm that platform-integ-apps is downgraded. PASS: Apply platform-integ-apps. Update platform-integ-apps using a tarball that is not available under /usr/local/share/applications/helm/ and that has the auto_downgrade metadata option set to 'true'. Confirm that platform-integ-apps is downgraded. PASS: Apply platform-integ-apps. Update platform-integ-apps using a tarball that is not available under /usr/local/share/applications/helm/ and that has the auto_downgrade metadata option set to 'false'. Confirm that the originally applied platform-integ-apps version remains unchanged. PASS: Run a kubernetes upgrade with apps to be pre and post updated. Confirm that apps are successfully updated and not downgraded after the Kubernetes upgrade has finished. Story: 2010929 Task: 49847 Change-Id: I33f0e0a5b8db128aef76fb93ba322364881097cf Signed-off-by: Igor Soares <Igor.PiresSoares@windriver.com> |
||
---|---|---|
api-ref/source | ||
config-gate | ||
controllerconfig | ||
devstack | ||
doc | ||
releasenotes | ||
storageconfig | ||
sysinv | ||
tmp/patch-scripts/EXAMPLE_SYSINV/scripts | ||
tools/docker/images | ||
tsconfig | ||
workerconfig | ||
.gitignore | ||
.gitreview | ||
.yamllint | ||
.zuul.yaml | ||
CONTRIBUTORS.wrs | ||
LICENSE | ||
README.rst | ||
bindep.txt | ||
centos_build_layer.cfg | ||
centos_dev_wheels.inc | ||
centos_iso_image.inc | ||
centos_pkg_dirs | ||
centos_pkg_dirs_containers | ||
centos_stable_wheels.inc | ||
debian_build_layer.cfg | ||
debian_iso_image.inc | ||
debian_pkg_dirs | ||
debian_stable_wheels.inc | ||
test-requirements.txt | ||
tox.ini |
README.rst
config
The starlingx/config repository handles the StarlingX configuration management services.
Its key component is the System Inventory Service (Sysinv), which provides the system command-line interface (CLI)1.
This repository is not intended to be developed standalone, but rather as part of the StarlingX Source System, which is defined by the StarlingX manifest2.