Skip to content
Snippets Groups Projects
Merged Domenico Giordano requested to merge BMK-1294 into qa-build-mg5amc-madgraph4gpu-2022
4 files
+ 38
36
Compare changes
  • Side-by-side
  • Inline
Files
4
+ 4
2
@@ -624,12 +624,14 @@ function execute_procedure(){
check_tag_version || fail "[execute_procedure] $1: check_tag_version"
if [ "$HEPWL_CVMFSREPOS" != "NONE" ];
then
echo "[execute_procedure] Running procedure to snapshot cmvfs via the following functions: run_docker_wl, run_shrinkwrap, copy_cvmfs, copy_build."
run_docker_wl || fail "[execute_procedure] $1: run_docker_wl"
run_shrinkwrap || fail "[execute_procedure] $1: run_shrinkwrap"
copy_cvmfs || fail "[execute_procedure] $1: copy_cvmfs"
copy_build || fail "[execute_procedure] $1: copy_build"
else
# Needed for the cases without cvmfs, to make available an empty dir
echo "[execute_procedure] No cvmfs snapshotting needed. Skipping this step. Just run create_functional_dirs."
create_functional_dirs
fi
build_standalone_image || fail "[execute_procedure] $1: build_standalone_image"
@@ -767,7 +769,7 @@ if ! load_and_validate_specfile "$CIENV_HEPWL_SPECFILE"; then fail "invalid SPEC
if [ "$CIENV_MOUNTCVMFS" -gt 0 ] && [ "$HEPWL_CVMFSREPOS" != "NONE" ]; then
mount_cvmfs || fail '[main.sh] mount_cvmfs'
else
echo -e "\n[main.sh] WARNING: cvmfs will not be mounted\n"
echo -e "\n[main.sh] INFO: there is not cvmfs repo to be mounted\n"
fi
execute_procedure "$CIENV_BUILDEVENT"
@@ -775,7 +777,7 @@ execute_procedure "$CIENV_BUILDEVENT"
if [ "$CIENV_MOUNTCVMFS" -gt 0 ] && [ "$HEPWL_CVMFSREPOS" != "NONE" ]; then
unmount_cvmfs || fail '[main.sh] unmount_cvmfs'
else
echo -e "\n[main.sh] WARNING: cvmfs will not be unmounted\n"
echo -e "\n[main.sh] INFO: there is not cvmfs repo to be unmounted\n"
fi
echo -e "\n@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@"
Loading