Don't debcheck cl-pgloader in *-pgdg
authorChristoph Berg <myon@debian.org>
Wed, 20 Jan 2016 10:36:06 +0000 (11:36 +0100)
committerChristoph Berg <myon@debian.org>
Wed, 20 Jan 2016 13:46:24 +0000 (14:46 +0100)
jenkins/debcheck-pgapt

index 3f3abe0ca40c85aea694f72280d33bad892a9088..4387f097b3dc96a5e97e4c9d99248c4a4f9dda55 100755 (executable)
@@ -43,6 +43,14 @@ for pkg in $(cat $PGAPTDIR/packages.backports); do
   mv $MAINPKG.tmp $MAINPKG
 done
 
+# packages not tested in production
+if [ "$stage" = "production" ]; then
+  for pkg in cl-pgloader; do
+    grep-dctrl --not -P $pkg $MAINPKG > $MAINPKG.tmp
+    mv $MAINPKG.tmp $MAINPKG
+  done
+fi
+
 # packages depending on backports
 BPOPKG=$(mktemp bpo_binary-${architecture}_Packages.XXXXXX)
 for pkg in $(cat $PGAPTDIR/packages.backports); do
@@ -53,6 +61,7 @@ set -x
 
 # run debcheck on main
 $DEBCHECK ${EXTRAFG:-} --fg $MAINPKG || EXIT=$?
+test -s $BPOPKG && \
 $DEBCHECK ${EXTRAFG:-} --bg $DISTSDIR/$DIST/main/binary-${architecture}/Packages --fg $BPOPKG || : # we need to pull the bpo packages file from somewhere ... || EXIT=$?
 
 # run debcheck on N.N components