[Qa-jenkins-scm] [jenkins.debian.net] 01/02: reproducible Arch Linux: dont even consider blacklisted packages when rescheduling
Holger Levsen
holger at layer-acht.org
Tue Dec 12 14:53:52 UTC 2017
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit ba219e735395debec159c0c13e40708c42420cb2
Author: Holger Levsen <holger at layer-acht.org>
Date: Tue Dec 12 14:46:29 2017 +0000
reproducible Arch Linux: dont even consider blacklisted packages when rescheduling
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
bin/reproducible_archlinux_scheduler.sh | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/reproducible_archlinux_scheduler.sh b/bin/reproducible_archlinux_scheduler.sh
index 4fa2cb7..10598e5 100755
--- a/bin/reproducible_archlinux_scheduler.sh
+++ b/bin/reproducible_archlinux_scheduler.sh
@@ -83,9 +83,9 @@ update_archlinux_repositories() {
if [ $(find $BASE/archlinux/ -name pkg.needs_build | wc -l ) -le 300 ] ; then
local BLACKLIST="/($(echo $ARCHLINUX_BLACKLISTED | sed "s# #|#g"))/"
# reschedule
- find $BASE/archlinux/ -name build1.log -type f -printf '%T+ %p\n' | sort | head -n 250|cut -d " " -f2 | egrep -v "$BLACKLIST" | sed -s 's#build1.log$#pkg.needs_build#g' | xargs -r touch
+ find $BASE/archlinux/ -name build1.log -type f -printf '%T+ %p\n' | sort | egrep -v "$BLACKLIST" | head -n 250| cut -d " " -f2 | sed -s 's#build1.log$#pkg.needs_build#g' | xargs -r touch
# explain, for debugging…
- find $BASE/archlinux/ -name build1.log -type f -printf '%T+ %p\n' | sort | head -n 250|egrep -v "$BLACKLIST" |cut -d "/" -f8-9 | sort > $OLDER
+ find $BASE/archlinux/ -name build1.log -type f -printf '%T+ %p\n' | sort | egrep -v "$BLACKLIST" | head -n 250| cut -d "/" -f8-9 | sort > $OLDER
old=" $(cat $OLD | wc -l) old ones"
echo "$(date -u) - Old, previously tested packages rescheduled: "
for REPO in $ARCHLINUX_REPOS ; do
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list