Skip to content
Snippets Groups Projects

[LOS-1031] change the ELIGIBLE_RPMS in bsauto

Merged Marta Vila Fernandes requested to merge los1031 into master
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -265,7 +265,7 @@ function do_production {
@@ -265,7 +265,7 @@ function do_production {
REPOLIST=`/mnt/data2/home/build/bin/generaterepolist | /usr/bin/cut -d= -f2 | /bin/sed 's/\"//g'`
REPOLIST=`/mnt/data2/home/build/bin/generaterepolist | /usr/bin/cut -d= -f2 | /bin/sed 's/\"//g'`
for REPO in $REPOLIST
for REPO in $REPOLIST
do
do
ELIGIBLE_RPMS=$(find /mnt/data1/dist/cern/centos/7/${REPO}-testing/ -mmin +$((60*24*7)) -type f -name '*.rpm' -not -name '*debuginfo*' -not -name "*src.rpm" -not -path "*/.~tmp~/*" 2>/dev/null | xargs -n1 basename -s .rpm 2>/dev/null)
ELIGIBLE_RPMS=$(find /mnt/data1/dist/cern/centos/7/${REPO}-testing/ -daystart -mtime +6 -type f -name '*.rpm' -not -name '*debuginfo*' -not -name "*src.rpm" -not -path "*/.~tmp~/*" 2>/dev/null | xargs -n1 basename -s .rpm 2>/dev/null)
for ELIGIBLE_RPM in $ELIGIBLE_RPMS
for ELIGIBLE_RPM in $ELIGIBLE_RPMS
do
do
do_execute "/mnt/data2/home/build/bin/bstest2prod -d $DIST -r $REPO $ELIGIBLE_RPM"
do_execute "/mnt/data2/home/build/bin/bstest2prod -d $DIST -r $REPO $ELIGIBLE_RPM"
Loading