From 2bc8d502304be7baa072f84dd3dddeaebdd2366c Mon Sep 17 00:00:00 2001 From: Jose Gracia Date: Fri, 7 Jun 2024 17:43:46 +0200 Subject: [PATCH] Add some logging output --- hlrs-plumbing/scripts/xx_populate_release_directory.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hlrs-plumbing/scripts/xx_populate_release_directory.sh b/hlrs-plumbing/scripts/xx_populate_release_directory.sh index 91d80e7..728ddce 100755 --- a/hlrs-plumbing/scripts/xx_populate_release_directory.sh +++ b/hlrs-plumbing/scripts/xx_populate_release_directory.sh @@ -84,23 +84,31 @@ _HLRS_SPACK_CONFIG_REPO=file://$HOME/spack-test/dummy_repo/software-stack-hlrs-s # bootstrap environment variables # (using [bash process substitution](https://tldp.org/LDP/abs/html/process-sub.html)) +log "### bootstrap environment variables" source <(curl -L $_HLRS_SPACK_PLUMBING_REPO/hlrs-plumbing/envs/00_base_prefix.env) source <(curl -L $_HLRS_SPACK_PLUMBING_REPO/hlrs-plumbing/envs/01_release_root.env) source <(curl -L $_HLRS_SPACK_PLUMBING_REPO/hlrs-plumbing/envs/02_hlrs_spack_root.env) +log "### ... done" # setup plumbing directory +log "### setup plumbing directory" curl -L $_HLRS_SPACK_PLUMBING_REPO/hlrs-plumbing/scripts/xx_checkout_repo.sh | \ bash -s -- $_HLRS_SPACK_PLUMBING_REPO \ $HLRS_SOFTWARE_STACK_RELEASE_VERSION $HLRS_SOFTWARE_STACK_RELEASE_ROOT . _HLRS_PLUMBING_DIR=$HLRS_SOFTWARE_STACK_RELEASE_ROOT/hlrs-plumbing +log "### ... done" # setup hlrs-spack directory +log "### setup hlrs-spack directory" $_HLRS_PLUMBING_DIR/scripts/xx_checkout_repo.sh $_HLRS_SPACK_CONFIG_REPO \ $HLRS_SOFTWARE_STACK_RELEASE_VERSION $HLRS_SOFTWARE_STACK_RELEASE_ROOT hlrs-spack +log "### ... done" # setup $SPACK_ROOT directory +log "### setup $SPACK_ROOT directory" $_HLRS_PLUMBING_DIR/scripts/xx_checkout_repo.sh $_HLRS_SPACK_REPO \ $HLRS_SOFTWARE_STACK_RELEASE_VERSION $HLRS_SOFTWARE_STACK_HLRS_SPACK_ROOT spack +log "### ... done" # setup opt-non-spack # TODO \ No newline at end of file