Add CentOS to MM propagation scan
Signed-off-by: Adrian Reber <adrian@lisas.de>
This commit is contained in:
parent
7512abc21b
commit
b7f0305f1b
2 changed files with 9 additions and 0 deletions
|
@ -32,7 +32,13 @@ for version in 7 8 9; do
|
|||
${PROPAGATION} --outdir ${OUTPUT} --logfiles "${LOGBASE}/epel${version}*" --prefix epel${version}
|
||||
done
|
||||
|
||||
# CentOS
|
||||
for version in 9; do
|
||||
${PROPAGATION} --outdir ${OUTPUT} --logfiles "${LOGBASE}/centos${version}*" --prefix centos${version}
|
||||
done
|
||||
|
||||
for f in ${FRONTENDS}; do
|
||||
rsync -aq ${OUTPUT}/*[st]-repomd-propagation.svg ${f}:/var/www/mirrormanager-statistics/data/propagation
|
||||
rsync -aq ${OUTPUT}/epel[789]-repomd-propagation.svg ${f}:/var/www/mirrormanager-statistics/data/propagation
|
||||
rsync -aq ${OUTPUT}/centos[9]-repomd-propagation.svg ${f}:/var/www/mirrormanager-statistics/data/propagation
|
||||
done
|
||||
|
|
|
@ -37,5 +37,8 @@ for version in 7 8 9; do
|
|||
fi
|
||||
done
|
||||
|
||||
# check propagation for CentOS
|
||||
${CRAWLER} --category "CentOS" --propagation --proppath 9-stream/BaseOS/x86_64/os/repodata --threads 50 --timeout 1 2>&1 | grep SHA256 > ${LOGBASE}/centos9-propagation.log.$( date +%s )
|
||||
|
||||
# clean up log files older than 14 days
|
||||
/usr/sbin/tmpwatch --mtime 14d ${LOGBASE}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue