[Git][qa/jenkins.debian.net][master] r.d.n: also include queue length and active workers in overview

Holger Levsen (@holger) gitlab at salsa.debian.org
Sun Feb 16 15:54:33 GMT 2025



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


Commits:
d3059016 by Holger Levsen at 2025-02-16T16:54:12+01:00
r.d.n: also include queue length and active workers in overview

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

- - - - -


6 changed files:

- hosts/osuosl5-amd64/var/www/html/index_all.html
- hosts/osuosl5-amd64/var/www/html/index_amd64.html
- hosts/osuosl5-amd64/var/www/html/index_arm64.html
- hosts/osuosl5-amd64/var/www/html/index_armhf.html
- hosts/osuosl5-amd64/var/www/html/index_i386.html
- hosts/osuosl5-amd64/var/www/html/index_riscv64.html


Changes:

=====================================
hosts/osuosl5-amd64/var/www/html/index_all.html
=====================================
@@ -155,12 +155,17 @@
                         let bad = main['bad'];
                         let unknown = main['unknown'];
 
+                        let queue = data['queue_length'];
+                        let workers = data['active_builds'].length;
+
                         updateStats([
+                            ['reproduced', (100 / (good + bad) * good).toFixed(2) + '%'],
                             ['good', good],
                             ['bad', bad],
                             ['unknown', unknown],
                             ['build progress', (100 / (good + unknown + bad) * (good + bad)).toFixed(2) + '%'],
-                            ['repro', (100 / (good + bad) * good).toFixed(2) + '%'],
+                            ['queue length', queue],
+                            ['active workers', workers],
                         ]);
                     });
             }


=====================================
hosts/osuosl5-amd64/var/www/html/index_amd64.html
=====================================
@@ -155,12 +155,17 @@
                         let bad = main['bad'];
                         let unknown = main['unknown'];
 
+                        let queue = data['queue_length'];
+                        let workers = data['active_builds'].length;
+
                         updateStats([
+                            ['reproduced', (100 / (good + bad) * good).toFixed(2) + '%'],
                             ['good', good],
                             ['bad', bad],
                             ['unknown', unknown],
                             ['build progress', (100 / (good + unknown + bad) * (good + bad)).toFixed(2) + '%'],
-                            ['repro', (100 / (good + bad) * good).toFixed(2) + '%'],
+                            ['queue length', queue],
+                            ['active workers', workers],
                         ]);
                     });
             }


=====================================
hosts/osuosl5-amd64/var/www/html/index_arm64.html
=====================================
@@ -155,12 +155,17 @@
                         let bad = main['bad'];
                         let unknown = main['unknown'];
 
+                        let queue = data['queue_length'];
+                        let workers = data['active_builds'].length;
+
                         updateStats([
+                            ['reproduced', (100 / (good + bad) * good).toFixed(2) + '%'],
                             ['good', good],
                             ['bad', bad],
                             ['unknown', unknown],
                             ['build progress', (100 / (good + unknown + bad) * (good + bad)).toFixed(2) + '%'],
-                            ['repro', (100 / (good + bad) * good).toFixed(2) + '%'],
+                            ['queue length', queue],
+                            ['active workers', workers],
                         ]);
                     });
             }


=====================================
hosts/osuosl5-amd64/var/www/html/index_armhf.html
=====================================
@@ -155,12 +155,17 @@
                         let bad = main['bad'];
                         let unknown = main['unknown'];
 
+                        let queue = data['queue_length'];
+                        let workers = data['active_builds'].length;
+
                         updateStats([
+                            ['reproduced', (100 / (good + bad) * good).toFixed(2) + '%'],
                             ['good', good],
                             ['bad', bad],
                             ['unknown', unknown],
                             ['build progress', (100 / (good + unknown + bad) * (good + bad)).toFixed(2) + '%'],
-                            ['repro', (100 / (good + bad) * good).toFixed(2) + '%'],
+                            ['queue length', queue],
+                            ['active workers', workers],
                         ]);
                     });
             }


=====================================
hosts/osuosl5-amd64/var/www/html/index_i386.html
=====================================
@@ -155,12 +155,17 @@
                         let bad = main['bad'];
                         let unknown = main['unknown'];
 
+                        let queue = data['queue_length'];
+                        let workers = data['active_builds'].length;
+
                         updateStats([
+                            ['reproduced', (100 / (good + bad) * good).toFixed(2) + '%'],
                             ['good', good],
                             ['bad', bad],
                             ['unknown', unknown],
                             ['build progress', (100 / (good + unknown + bad) * (good + bad)).toFixed(2) + '%'],
-                            ['repro', (100 / (good + bad) * good).toFixed(2) + '%'],
+                            ['queue length', queue],
+                            ['active workers', workers],
                         ]);
                     });
             }


=====================================
hosts/osuosl5-amd64/var/www/html/index_riscv64.html
=====================================
@@ -155,12 +155,17 @@
                         let bad = main['bad'];
                         let unknown = main['unknown'];
 
+                        let queue = data['queue_length'];
+                        let workers = data['active_builds'].length;
+
                         updateStats([
+                            ['reproduced', (100 / (good + bad) * good).toFixed(2) + '%'],
                             ['good', good],
                             ['bad', bad],
                             ['unknown', unknown],
                             ['build progress', (100 / (good + unknown + bad) * (good + bad)).toFixed(2) + '%'],
-                            ['repro', (100 / (good + bad) * good).toFixed(2) + '%'],
+                            ['queue length', queue],
+                            ['active workers', workers],
                         ]);
                     });
             }



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/d3059016920e7322f87f48d6bdd0056e584b4ab0
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/20250216/34dc864d/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list