From cebfa6b2713dec89a14ffa07e055ba87e19a597d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Jos=C3=A9=20Pereira?= Date: Wed, 20 Mar 2024 12:53:15 -0300 Subject: [PATCH 1/2] bootstrap: Add message with version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Patrick José Pereira --- bootstrap/main.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bootstrap/main.py b/bootstrap/main.py index 951bf6d53..43c4bf3f9 100755 --- a/bootstrap/main.py +++ b/bootstrap/main.py @@ -9,7 +9,9 @@ if __name__ == "__main__": + version = os.environ.get("GIT_DESCRIBE_TAGS", None) logger.add("/var/logs/blueos/services/bootstrap/bootstrap_{time}.log", enqueue=True, rotation="30 minutes") + logger.info(f"Running BlueOS Bootstrap {version}") if os.environ.get("BLUEOS_CONFIG_PATH", None) is None: logger.info("Please supply the host path for the config files as the BLUEOS_CONFIG_PATH environment variable.") logger.info("Example docker command line:") From 6855e2d1d35e6aaa5be665c83c102ce4b877f11b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20Jos=C3=A9=20Pereira?= Date: Wed, 20 Mar 2024 12:53:26 -0300 Subject: [PATCH 2/2] core: start-blueos-core: Add message with version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Patrick José Pereira --- core/start-blueos-core | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/start-blueos-core b/core/start-blueos-core index 33391da1c..c65f47751 100755 --- a/core/start-blueos-core +++ b/core/start-blueos-core @@ -3,6 +3,8 @@ # Immediately exit on errors set -e +echo "BlueOS ${GIT_DESCRIBE_TAGS}" + BLUEOS_PATH=/home/pi SERVICES_PATH=$BLUEOS_PATH/services TOOLS_PATH=$BLUEOS_PATH/tools