Skip to content

Commit 4540dba

Browse files
authored
get eessi_version from work dir
1 parent 6000ed3 commit 4540dba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bot/build.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,6 @@ host_arch=$(uname -m)
8181
eessi_arch=${cpu_target_arch:-${host_arch}}
8282
eessi_os=linux
8383
job_version=$(cfg_get_value "repository" "repo_version")
84-
#eessi_version=${job_version:-2023.06}
85-
eessi_version=2025.01
8684
job_repo=$(cfg_get_value "repository" "repo_name")
8785
eessi_repo=${job_repo:-software.eessi.io}
8886
tar_topdir=/cvmfs/${eessi_repo}/versions
@@ -96,7 +94,9 @@ fi
9694
# store output in local file such that the temporary directory ${STORAGE}/eessi.XXXXXXXXXX
9795
# can be determined
9896
script_out="install_stdout.log"
99-
./install_compatibility_layer.sh -a ${eessi_arch} -v ${eessi_version} -r ${eessi_repo} -g ${STORAGE} -k 2>&1 | tee -a ${script_out}
97+
./install_compatibility_layer.sh -a ${eessi_arch} -r ${eessi_repo} -g ${STORAGE} -k 2>&1 | tee -a ${script_out}
98+
99+
eessi_version=$(ls -1 ${eessi_tmp}${tar_topdir})
100100

101101
# TODO handle errors (no outfile, no tmp directory found)
102102
eessi_tmp=$(cat ${script_out} | grep 'To resume work add' | cut -f 2 -d \' | cut -f 2 -d ' ')

0 commit comments

Comments
 (0)