Commit 81c9cc0b authored by Holger Levsen's avatar Holger Levsen
Browse files

reproducible Debian: marb cb3a-armhf as temporarily offline

parent 37bb8c04
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -50,9 +50,9 @@ bdn_url="https://buildinfo.debian.net/api/v1/buildinfos/checksums/sha1"
log=$(mktemp --tmpdir=$TMPDIR sha1-log-XXXXXXX)
echo "$(date -u) - logfile used is $log"

FORCE_DATE=$(date -u -d "14 days ago" '+%Y-%m-%d')
FORCE_DATE=$(date -u -d "14 days ago" '+%Y-%m-%d %H:%M')
DUMMY_FILE=$(mktemp --tmpdir=$TMPDIR sha1-date-XXXXXXX)
touch -d "$(date '+%Y-%m-%d') 00:00 UTC" $DUMMY_FILE
touch -d "$FORCE_DATE" $DUMMY_FILE

SHA1DIR=/srv/reproducible-results/debian-sha1
mkdir -p $SHA1DIR
@@ -160,7 +160,7 @@ for package in $packages ; do
		touch $LOCK
	fi
	version=$(grep-dctrl -X -P ${package} -s Version -n $PACKAGES | head -1)
	arch=$(grep-dctrl -X -P ${package} -s Architecture -n $PACKAGES | head -1)
	arch=$(grep-dctrl -X -P ${package} -F -s Architecture -n $PACKAGES | head -1)
	package_file="${package}_$(echo $version | sed 's#:#%3a#')_${arch}.deb"
	pool_dir="$SHA1DIR/$(dirname $(grep-dctrl -X -P ${package} -s Filename -n $PACKAGES | head -1))"
	mkdir -p $pool_dir
+9 −0
Original line number Diff line number Diff line
@@ -181,6 +181,15 @@ if [ "$HOSTNAME" = "$MAINNODE" ] ; then
				echo "Skipping ${NODE}..."
				continue
				;;
		case $NODE in
			jenkins)	echo 'Skipping jenkins...' ; continue ;;
			profitbricks-build9-amd64) 
				echo "Skipping $NODE..." # not used for r-b and sometimes too busy to run healthcheck / maintenance jobs
				continue ;;
			profitbricks-build10-amd64) 
				echo "Skipping $NODE..." # not used for r-b and sometimes too busy to run healthcheck / maintenance jobs
				continue ;;
			*)	;;
		esac
		cd $i/builds
		LAST=$(ls -rt1 | tail -1)
+1 −0
Original line number Diff line number Diff line
@@ -18,6 +18,7 @@
# Also see https://pad.sfconservancy.org/p/rb-build-nodes-keep

## temporary problems
cb3a-armhf-rb

# Down here nodes are automtically added by the maintenance job when they have
# been failing their health check for too long.