[Qa-jenkins-scm] [Git][qa/jenkins.debian.net][master] reproducible: refactoring

Holger Levsen gitlab at salsa.debian.org
Fri Apr 3 18:27:16 BST 2020



Holger Levsen pushed to branch master at Debian QA / jenkins.debian.net


Commits:
8402220e by Holger Levsen at 2020-04-03T19:26:37+02:00
reproducible: refactoring

(to prevent typos like the one fixed in the previous commit)

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- bin/reproducible_html_nodes_info.sh


Changes:

=====================================
bin/reproducible_html_nodes_info.sh
=====================================
@@ -251,24 +251,24 @@ build_job_health_page() {
 	ARCH=amd64
 	SUITE=unstable
 	# these are or-filters used with egrep
-	FILTER[0]="(builds|spec|lfs)"
-	FILTER[1]="html_(all|break|dash|dd|index|live|node|pkg|repo)"
-	FILTER[2]="(reproducible_compare|pool)"
-	FILTER[3]="reproducible_diffoscope"
-	FILTER[4]="(reprotest|strip-nonderminism|disorderfs)"
-	FILTER[5]="(json|le_scheduler|meta|le_nodes|rsync|notes)"
-	FILTER[6]="archlinux"
-	FILTER[7]="coreboot"
-	FILTER[8]="(openwrt)"
-	FILTER[9]="(le_netbsd|le_freebsd)"
-	FILTER[10]="fdroid"
-	FILTER[11]="fedora"
-	FILTER[12]="alpine"
+	FILTER=("(builds|spec|lfs)"
+		"html_(all|break|dash|dd|index|live|node|pkg|repo)"
+		"(reproducible_compare|pool)"
+		"reproducible_diffoscope"
+		"(reprotest|strip-nonderminism|disorderfs)"
+		"(json|le_scheduler|meta|le_nodes|rsync|notes)"
+		"archlinux"
+		"coreboot"
+		"(openwrt)"
+		"(le_netbsd|le_freebsd)"
+		"fdroid"
+		"fedora"
+		"alpine")
 	echo "$(date -u) - starting to write $PAGE page."
 	write_page_header $VIEW "Job health overview"
 	write_page "<p style=\"clear:both;\">"
 	write_page "<table>"
-	for CATEGORY in $(seq 0 10) ; do
+	for CATEGORY in $(seq 1 ${#FILTER[@]}) ; do
 		write_page "<tr>"
 		for JOB in $(cd ~/jobs ; ls -1d reproducible_* | egrep "${FILTER[$CATEGORY]}" | cut -d '_' -f2- | sort ) ; do
 			SHORTNAME="$(echo $JOB \



View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/8402220e881f962ef404fb48713b811e95ceb9d3

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/8402220e881f962ef404fb48713b811e95ceb9d3
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/qa-jenkins-scm/attachments/20200403/5e29c250/attachment-0001.html>


More information about the Qa-jenkins-scm mailing list