Commit 76275531 authored by Tomas Krizek's avatar Tomas Krizek

Merge branch 'rotate-stats' into 'master'

job_manager/rotate_ref_stats: script to generate reference data

See merge request !26
parents ce14c825 ba1c2e11
Pipeline #39867 passed with stage
in 1 minute and 42 seconds
# Create new statistics from finished ref jobs and submit new ref jobs
set -o errexit -o nounset -o xtrace
NEW_LABEL=$(date +%Y%m%d)
test -d ${JOBDIR}/ref_next
# create statistics for the finished set
${RESPDIFF_SRC}/contrib/job_manager/ ${JOBDIR}/ref_next
# submit new ref jobs to condor
${RESPDIFF_SRC}/contrib/job_manager/ -p 0 -c ${COUNT} $(${RESPDIFF_SRC}/contrib/job_manager/ ${NEW_VERSION} -l ${NEW_LABEL})
# make the finished reference set the current one
mv -T ${JOBDIR}/ref_{next,current}
# make the newly submitted ref set the next one
pushd ${JOBDIR}
ln -sf "${NEW_VERSION}-${NEW_LABEL}" ref_next
echo "Success!"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment