[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible Arch Linux: don't schedule blacklisted packages
Holger Levsen
holger at layer-acht.org
Sat Dec 9 16:07:37 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 5a74b82295b3eb9608042791a468937d18cfe0f7
Author: Holger Levsen <holger at layer-acht.org>
Date: Sat Dec 9 16:07:33 2017 +0000
reproducible Arch Linux: don't schedule blacklisted packages
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
bin/reproducible_archlinux_scheduler.sh | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/bin/reproducible_archlinux_scheduler.sh b/bin/reproducible_archlinux_scheduler.sh
index f03915d..62235cd 100755
--- a/bin/reproducible_archlinux_scheduler.sh
+++ b/bin/reproducible_archlinux_scheduler.sh
@@ -76,6 +76,15 @@ update_archlinux_repositories() {
find $BASE/archlinux/ -name build1.log -type f -printf '%T+ %p\n' | sort | head -n 250|cut -d "/" -f8-9 | sort | xargs echo "Old packages rescheduled: "
old="250 old ones"
fi
+ # de-schedule blacklisted packages
+ # (so sometimes '250 old ones' is slightly inaccurate…)
+ for REPO in $ARCHLINUX_REPOS ; do
+ for i in $ARCHLINUX_BLACKLISTED ; do
+ if [ -f $BASE/archlinux/$REPO/$i/pkg.needs_build ] ; then
+ rm $BASE/archlinux/$REPO/$i/pkg.needs_build
+ fi
+ done
+ done
total=$(find $BASE/archlinux/ -name pkg.needs_build | wc -l )
rm "$ARCHLINUX_PKGS"_full_pkgbase_list
schroot --end-session -c $SESSION
--
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