d3db55103b
This commit implements the software deploy complete, it checks if the deployment is as "activate-done" and all hosts are running the ro-release. If all pass all validations it will delete the current deploy and deploy-host entities from software data storage, removes the config and data under the folders: [armada, config, deploy, fluxcd, helm, keyring, puppet, sysinv, nfv/vim] under /opt/platform/<folders>/<from_release> and also remove the folders: /var/lib/postgres/upgrade /var/lib/postgres/<from_release> /var/lib/rabbitmq/<from_release> /opt/etcd/<from_release> Test Plan: PASS: Folders deleted after software deploy complete PASS: Deployment entities deleted at /opt/software/software.json Story: 2010676 Task: 50022 clean up methods: Depends-On: https://review.opendev.org/c/starlingx/update/+/917073 get_current_deploy method: Depends-On: https://review.opendev.org/c/starlingx/update/+/916933 Change-Id: I35d54a8a9b485e90170d624d62721411ca2ca3df Signed-off-by: Luis Eduardo Bonatti <LuizEduardo.Bonatti@windriver.com> |
||
---|---|---|
api-ref/source | ||
apt-ostree/debian | ||
cgcs-patch | ||
devstack | ||
doc | ||
enable-dev-patch | ||
extras/scripts | ||
patch-alarm | ||
patch-boot-args | ||
patch-scripts | ||
releasenotes | ||
software | ||
software-client | ||
sw-patch | ||
.gitignore | ||
.gitreview | ||
.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_stable_wheels.inc | ||
debian_build_layer.cfg | ||
debian_iso_image.inc | ||
debian_pkg_dirs | ||
debian_stable_wheels.inc | ||
pylint.rc | ||
requirements.txt | ||
test-requirements.txt | ||
tox.ini |
README.rst
stx-update
StarlingX Software Management