From c7d28328a521b7fc0f6179003671c4d8b0496b41 Mon Sep 17 00:00:00 2001 From: iamashwin99 <ashwin-kumar.karnad@mpsd.mpg.de> Date: Thu, 3 Aug 2023 11:09:03 +0200 Subject: [PATCH] logg build_log inside apex log --- src/mpsd_software_manager/mpsd_software.py | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/src/mpsd_software_manager/mpsd_software.py b/src/mpsd_software_manager/mpsd_software.py index 0adc997..7cfb3ad 100755 --- a/src/mpsd_software_manager/mpsd_software.py +++ b/src/mpsd_software_manager/mpsd_software.py @@ -1066,20 +1066,10 @@ def install_environment( mpsd_release, "install", root_dir, package_set ) + # Log the build_log_path and the package_set_dir logging.info(f"Installing package_set {package_set} to {package_set_dir}") + logging.info(f"> Logging installation of {package_set} at {build_log_path}") - # log the command - record_script_execution_summary( - root_dir, - msg=f"installing {package_set} and logging at {build_log_path}", - ) - record_script_execution_summary( - root_dir, - msg=( - f"CMD: bash {spack_setup_script} {' '.join(install_flags)} " - f"{package_set}" - ), - ) run( f"bash {spack_setup_script} " f"{' '.join(install_flags)} {package_set} 2>&1 " -- GitLab