update/software
Heitor Matsui af0a86e357 Improve logging for deploy start shell scripts
This commit improves logging during deploy start by:
1. Creating a common module to be sourced by shell scripts to
   load general-use functions, thus reducing code duplication
   between the scripts
2. Replacing plain "echo" commands on the scripts by logging
   functions present on the common module
3. Adding timestamps to the log messages
4. Centralizing all scripts logs into software.log, favouring
   the troubleshooting, now that log lines contain timestamps
   and the process/script that generated them

This commit also deletes the ostree_mounts.yaml file since
it would be used by apt-ostree integration, which was dropped.

Test Plan
PASS: run deploy start successfully and verify that deploy start
      log messages are logged with the expected format

Story: 2010676
Task: 49607

Change-Id: I0bdebde8147faa5b29a642e35bfaf26e9862ed0a
Signed-off-by: Heitor Matsui <heitorvieira.matsui@windriver.com>
2024-02-28 11:07:03 -03:00
..
debian Improve logging for deploy start shell scripts 2024-02-28 11:07:03 -03:00
scripts Improve logging for deploy start shell scripts 2024-02-28 11:07:03 -03:00
service-files Create message class to sync deploy state between controllers 2024-02-16 15:51:49 +00:00
software Merge "deploy state changed update" 2024-02-26 21:41:45 +00:00
.coveragerc Upload skeleton for unified software management 2023-04-03 14:03:04 +00:00
Hacking.rst Upload skeleton for unified software management 2023-04-03 14:03:04 +00:00
LICENSE Upload skeleton for unified software management 2023-04-03 14:03:04 +00:00
README.rst Upload skeleton for unified software management 2023-04-03 14:03:04 +00:00
pylint.rc Add version to software-api and software client 2024-02-08 04:23:29 -05:00
requirements.txt Add version to software-api and software client 2024-02-08 04:23:29 -05:00
setup.cfg deploy state changed update 2024-02-23 13:43:09 +00:00
setup.py Bash completion for USM 2023-08-03 16:21:00 +00:00
test-requirements.txt Upload skeleton for unified software management 2023-04-03 14:03:04 +00:00
tox.ini update tox ignore list to skip H904 2023-10-18 17:14:49 +00:00

README.rst

software

StarlingX Unified Software Delivery and Management