[Git][qa/jenkins.debian.net][master] rdn pull-184: fix API calls

Holger Levsen (@holger) gitlab at salsa.debian.org
Thu Sep 18 10:59:54 BST 2025



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


Commits:
b78c6702 by Jochen Sprickerhof at 2025-09-18T11:59:41+02:00
rdn pull-184: fix API calls

(cherry picked from commit ccce38a0a6dcae5d59f46c6edb8803fd46e41d18)
Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


9 changed files:

- hosts/osuosl5-amd64/var/www/html/all-pull184/experimental.html
- hosts/osuosl5-amd64/var/www/html/all-pull184/forky.html
- hosts/osuosl5-amd64/var/www/html/all-pull184/index.html
- hosts/osuosl5-amd64/var/www/html/all-pull184/trixie-backports.html
- hosts/osuosl5-amd64/var/www/html/all-pull184/trixie-proposed-updates.html
- hosts/osuosl5-amd64/var/www/html/all-pull184/trixie-security.html
- hosts/osuosl5-amd64/var/www/html/all-pull184/trixie-updates.html
- hosts/osuosl5-amd64/var/www/html/all-pull184/trixie.html
- hosts/osuosl5-amd64/var/www/html/all-pull184/unstable.html


Changes:

=====================================
hosts/osuosl5-amd64/var/www/html/all-pull184/experimental.html
=====================================
@@ -43,6 +43,10 @@
             color: green;
         }
 
+        .fail {
+            color: yellow;
+        }
+
         .bad {
             color: red;
         }
@@ -87,6 +91,7 @@
 
                         result.map(pkg => {
                             let build_id = pkg.build_id;
+                            let artifact_id = pkg.artifact_id;
                             let r = document.createElement('pre');
 
                             r.appendChild(spanWith('['));
@@ -95,6 +100,8 @@
                             statusSpan.className += ' status';
                             if (status == 'GOOD') {
                                 statusSpan.className += ' good';
+                            } else if (status == 'FAIL') {
+                                statusSpan.className += ' fail';
                             } else if (status == 'BAD') {
                                 statusSpan.className += ' bad';
                             } else {
@@ -109,15 +116,15 @@
                                 r.appendChild(spanWith(']'));
                             }
 
-                            if (pkg.has_attestation) {
+                            if (pkg.attestation_log_id) {
                                 r.appendChild(spanWith(' ['));
-                                r.appendChild(linkTo(`/all-pull184/api/v1/builds/${build_id}/attestation`, 'attestation'));
+                                r.appendChild(linkTo(`/all-pull184/api/v1/builds/${build_id}/artifacts/${artifact_id}/attestation`, 'attestation'));
                                 r.appendChild(spanWith(']'));
                             }
 
-                            if (pkg.has_diffoscope) {
+                            if (pkg.diffoscope_log_id) {
                                 r.appendChild(spanWith(' ['));
-                                r.appendChild(linkTo(`/all-pull184/api/v1/builds/${build_id}/diffoscope`, 'diffoscope'));
+                                r.appendChild(linkTo(`/all-pull184/api/v1/builds/${build_id}/artifacts/${artifact_id}/diffoscope`, 'diffoscope'));
                                 r.appendChild(spanWith(']'));
                             }
 


=====================================
hosts/osuosl5-amd64/var/www/html/all-pull184/forky.html
=====================================
@@ -43,6 +43,10 @@
             color: green;
         }
 
+        .fail {
+            color: yellow;
+        }
+
         .bad {
             color: red;
         }
@@ -87,6 +91,7 @@
 
                         result.map(pkg => {
                             let build_id = pkg.build_id;
+                            let artifact_id = pkg.artifact_id;
                             let r = document.createElement('pre');
 
                             r.appendChild(spanWith('['));
@@ -95,6 +100,8 @@
                             statusSpan.className += ' status';
                             if (status == 'GOOD') {
                                 statusSpan.className += ' good';
+                            } else if (status == 'FAIL') {
+                                statusSpan.className += ' fail';
                             } else if (status == 'BAD') {
                                 statusSpan.className += ' bad';
                             } else {
@@ -109,15 +116,15 @@
                                 r.appendChild(spanWith(']'));
                             }
 
-                            if (pkg.has_attestation) {
+                            if (pkg.attestation_log_id) {
                                 r.appendChild(spanWith(' ['));
-                                r.appendChild(linkTo(`/all-pull184/api/v1/builds/${build_id}/attestation`, 'attestation'));
+                                r.appendChild(linkTo(`/all-pull184/api/v1/builds/${build_id}/artifacts/${artifact_id}/attestation`, 'attestation'));
                                 r.appendChild(spanWith(']'));
                             }
 
-                            if (pkg.has_diffoscope) {
+                            if (pkg.diffoscope_log_id) {
                                 r.appendChild(spanWith(' ['));
-                                r.appendChild(linkTo(`/all-pull184/api/v1/builds/${build_id}/diffoscope`, 'diffoscope'));
+                                r.appendChild(linkTo(`/all-pull184/api/v1/builds/${build_id}/artifacts/${artifact_id}/diffoscope`, 'diffoscope'));
                                 r.appendChild(spanWith(']'));
                             }
 


=====================================
hosts/osuosl5-amd64/var/www/html/all-pull184/index.html
=====================================
@@ -43,6 +43,10 @@
             color: green;
         }
 
+        .fail {
+            color: yellow;
+        }
+
         .bad {
             color: red;
         }
@@ -87,6 +91,7 @@
 
                         result.map(pkg => {
                             let build_id = pkg.build_id;
+                            let artifact_id = pkg.artifact_id;
                             let r = document.createElement('pre');
 
                             r.appendChild(spanWith('['));
@@ -95,6 +100,8 @@
                             statusSpan.className += ' status';
                             if (status == 'GOOD') {
                                 statusSpan.className += ' good';
+                            } else if (status == 'FAIL') {
+                                statusSpan.className += ' fail';
                             } else if (status == 'BAD') {
                                 statusSpan.className += ' bad';
                             } else {
@@ -109,15 +116,15 @@
                                 r.appendChild(spanWith(']'));
                             }
 
-                            if (pkg.has_attestation) {
+                            if (pkg.attestation_log_id) {
                                 r.appendChild(spanWith(' ['));
-                                r.appendChild(linkTo(`/all-pull184/api/v1/builds/${build_id}/attestation`, 'attestation'));
+                                r.appendChild(linkTo(`/all-pull184/api/v1/builds/${build_id}/artifacts/${artifact_id}/attestation`, 'attestation'));
                                 r.appendChild(spanWith(']'));
                             }
 
-                            if (pkg.has_diffoscope) {
+                            if (pkg.diffoscope_log_id) {
                                 r.appendChild(spanWith(' ['));
-                                r.appendChild(linkTo(`/all-pull184/api/v1/builds/${build_id}/diffoscope`, 'diffoscope'));
+                                r.appendChild(linkTo(`/all-pull184/api/v1/builds/${build_id}/artifacts/${artifact_id}/diffoscope`, 'diffoscope'));
                                 r.appendChild(spanWith(']'));
                             }
 


=====================================
hosts/osuosl5-amd64/var/www/html/all-pull184/trixie-backports.html
=====================================
@@ -43,6 +43,10 @@
             color: green;
         }
 
+        .fail {
+            color: yellow;
+        }
+
         .bad {
             color: red;
         }
@@ -87,6 +91,7 @@
 
                         result.map(pkg => {
                             let build_id = pkg.build_id;
+                            let artifact_id = pkg.artifact_id;
                             let r = document.createElement('pre');
 
                             r.appendChild(spanWith('['));
@@ -95,6 +100,8 @@
                             statusSpan.className += ' status';
                             if (status == 'GOOD') {
                                 statusSpan.className += ' good';
+                            } else if (status == 'FAIL') {
+                                statusSpan.className += ' fail';
                             } else if (status == 'BAD') {
                                 statusSpan.className += ' bad';
                             } else {
@@ -109,15 +116,15 @@
                                 r.appendChild(spanWith(']'));
                             }
 
-                            if (pkg.has_attestation) {
+                            if (pkg.attestation_log_id) {
                                 r.appendChild(spanWith(' ['));
-                                r.appendChild(linkTo(`/all-pull184/api/v1/builds/${build_id}/attestation`, 'attestation'));
+                                r.appendChild(linkTo(`/all-pull184/api/v1/builds/${build_id}/artifacts/${artifact_id}/attestation`, 'attestation'));
                                 r.appendChild(spanWith(']'));
                             }
 
-                            if (pkg.has_diffoscope) {
+                            if (pkg.diffoscope_log_id) {
                                 r.appendChild(spanWith(' ['));
-                                r.appendChild(linkTo(`/all-pull184/api/v1/builds/${build_id}/diffoscope`, 'diffoscope'));
+                                r.appendChild(linkTo(`/all-pull184/api/v1/builds/${build_id}/artifacts/${artifact_id}/diffoscope`, 'diffoscope'));
                                 r.appendChild(spanWith(']'));
                             }
 


=====================================
hosts/osuosl5-amd64/var/www/html/all-pull184/trixie-proposed-updates.html
=====================================
@@ -43,6 +43,10 @@
             color: green;
         }
 
+        .fail {
+            color: yellow;
+        }
+
         .bad {
             color: red;
         }
@@ -87,6 +91,7 @@
 
                         result.map(pkg => {
                             let build_id = pkg.build_id;
+                            let artifact_id = pkg.artifact_id;
                             let r = document.createElement('pre');
 
                             r.appendChild(spanWith('['));
@@ -95,6 +100,8 @@
                             statusSpan.className += ' status';
                             if (status == 'GOOD') {
                                 statusSpan.className += ' good';
+                            } else if (status == 'FAIL') {
+                                statusSpan.className += ' fail';
                             } else if (status == 'BAD') {
                                 statusSpan.className += ' bad';
                             } else {
@@ -109,15 +116,15 @@
                                 r.appendChild(spanWith(']'));
                             }
 
-                            if (pkg.has_attestation) {
+                            if (pkg.attestation_log_id) {
                                 r.appendChild(spanWith(' ['));
-                                r.appendChild(linkTo(`/all-pull184/api/v1/builds/${build_id}/attestation`, 'attestation'));
+                                r.appendChild(linkTo(`/all-pull184/api/v1/builds/${build_id}/artifacts/${artifact_id}/attestation`, 'attestation'));
                                 r.appendChild(spanWith(']'));
                             }
 
-                            if (pkg.has_diffoscope) {
+                            if (pkg.diffoscope_log_id) {
                                 r.appendChild(spanWith(' ['));
-                                r.appendChild(linkTo(`/all-pull184/api/v1/builds/${build_id}/diffoscope`, 'diffoscope'));
+                                r.appendChild(linkTo(`/all-pull184/api/v1/builds/${build_id}/artifacts/${artifact_id}/diffoscope`, 'diffoscope'));
                                 r.appendChild(spanWith(']'));
                             }
 


=====================================
hosts/osuosl5-amd64/var/www/html/all-pull184/trixie-security.html
=====================================
@@ -43,6 +43,10 @@
             color: green;
         }
 
+        .fail {
+            color: yellow;
+        }
+
         .bad {
             color: red;
         }
@@ -87,6 +91,7 @@
 
                         result.map(pkg => {
                             let build_id = pkg.build_id;
+                            let artifact_id = pkg.artifact_id;
                             let r = document.createElement('pre');
 
                             r.appendChild(spanWith('['));
@@ -95,6 +100,8 @@
                             statusSpan.className += ' status';
                             if (status == 'GOOD') {
                                 statusSpan.className += ' good';
+                            } else if (status == 'FAIL') {
+                                statusSpan.className += ' fail';
                             } else if (status == 'BAD') {
                                 statusSpan.className += ' bad';
                             } else {
@@ -109,15 +116,15 @@
                                 r.appendChild(spanWith(']'));
                             }
 
-                            if (pkg.has_attestation) {
+                            if (pkg.attestation_log_id) {
                                 r.appendChild(spanWith(' ['));
-                                r.appendChild(linkTo(`/all-pull184/api/v1/builds/${build_id}/attestation`, 'attestation'));
+                                r.appendChild(linkTo(`/all-pull184/api/v1/builds/${build_id}/artifacts/${artifact_id}/attestation`, 'attestation'));
                                 r.appendChild(spanWith(']'));
                             }
 
-                            if (pkg.has_diffoscope) {
+                            if (pkg.diffoscope_log_id) {
                                 r.appendChild(spanWith(' ['));
-                                r.appendChild(linkTo(`/all-pull184/api/v1/builds/${build_id}/diffoscope`, 'diffoscope'));
+                                r.appendChild(linkTo(`/all-pull184/api/v1/builds/${build_id}/artifacts/${artifact_id}/diffoscope`, 'diffoscope'));
                                 r.appendChild(spanWith(']'));
                             }
 


=====================================
hosts/osuosl5-amd64/var/www/html/all-pull184/trixie-updates.html
=====================================
@@ -43,6 +43,10 @@
             color: green;
         }
 
+        .fail {
+            color: yellow;
+        }
+
         .bad {
             color: red;
         }
@@ -87,6 +91,7 @@
 
                         result.map(pkg => {
                             let build_id = pkg.build_id;
+                            let artifact_id = pkg.artifact_id;
                             let r = document.createElement('pre');
 
                             r.appendChild(spanWith('['));
@@ -95,6 +100,8 @@
                             statusSpan.className += ' status';
                             if (status == 'GOOD') {
                                 statusSpan.className += ' good';
+                            } else if (status == 'FAIL') {
+                                statusSpan.className += ' fail';
                             } else if (status == 'BAD') {
                                 statusSpan.className += ' bad';
                             } else {
@@ -109,15 +116,15 @@
                                 r.appendChild(spanWith(']'));
                             }
 
-                            if (pkg.has_attestation) {
+                            if (pkg.attestation_log_id) {
                                 r.appendChild(spanWith(' ['));
-                                r.appendChild(linkTo(`/all-pull184/api/v1/builds/${build_id}/attestation`, 'attestation'));
+                                r.appendChild(linkTo(`/all-pull184/api/v1/builds/${build_id}/artifacts/${artifact_id}/attestation`, 'attestation'));
                                 r.appendChild(spanWith(']'));
                             }
 
-                            if (pkg.has_diffoscope) {
+                            if (pkg.diffoscope_log_id) {
                                 r.appendChild(spanWith(' ['));
-                                r.appendChild(linkTo(`/all-pull184/api/v1/builds/${build_id}/diffoscope`, 'diffoscope'));
+                                r.appendChild(linkTo(`/all-pull184/api/v1/builds/${build_id}/artifacts/${artifact_id}/diffoscope`, 'diffoscope'));
                                 r.appendChild(spanWith(']'));
                             }
 


=====================================
hosts/osuosl5-amd64/var/www/html/all-pull184/trixie.html
=====================================
@@ -43,6 +43,10 @@
             color: green;
         }
 
+        .fail {
+            color: yellow;
+        }
+
         .bad {
             color: red;
         }
@@ -87,6 +91,7 @@
 
                         result.map(pkg => {
                             let build_id = pkg.build_id;
+                            let artifact_id = pkg.artifact_id;
                             let r = document.createElement('pre');
 
                             r.appendChild(spanWith('['));
@@ -95,6 +100,8 @@
                             statusSpan.className += ' status';
                             if (status == 'GOOD') {
                                 statusSpan.className += ' good';
+                            } else if (status == 'FAIL') {
+                                statusSpan.className += ' fail';
                             } else if (status == 'BAD') {
                                 statusSpan.className += ' bad';
                             } else {
@@ -109,15 +116,15 @@
                                 r.appendChild(spanWith(']'));
                             }
 
-                            if (pkg.has_attestation) {
+                            if (pkg.attestation_log_id) {
                                 r.appendChild(spanWith(' ['));
-                                r.appendChild(linkTo(`/all-pull184/api/v1/builds/${build_id}/attestation`, 'attestation'));
+                                r.appendChild(linkTo(`/all-pull184/api/v1/builds/${build_id}/artifacts/${artifact_id}/attestation`, 'attestation'));
                                 r.appendChild(spanWith(']'));
                             }
 
-                            if (pkg.has_diffoscope) {
+                            if (pkg.diffoscope_log_id) {
                                 r.appendChild(spanWith(' ['));
-                                r.appendChild(linkTo(`/all-pull184/api/v1/builds/${build_id}/diffoscope`, 'diffoscope'));
+                                r.appendChild(linkTo(`/all-pull184/api/v1/builds/${build_id}/artifacts/${artifact_id}/diffoscope`, 'diffoscope'));
                                 r.appendChild(spanWith(']'));
                             }
 


=====================================
hosts/osuosl5-amd64/var/www/html/all-pull184/unstable.html
=====================================
@@ -43,6 +43,10 @@
             color: green;
         }
 
+        .fail {
+            color: yellow;
+        }
+
         .bad {
             color: red;
         }
@@ -87,6 +91,7 @@
 
                         result.map(pkg => {
                             let build_id = pkg.build_id;
+                            let artifact_id = pkg.artifact_id;
                             let r = document.createElement('pre');
 
                             r.appendChild(spanWith('['));
@@ -95,6 +100,8 @@
                             statusSpan.className += ' status';
                             if (status == 'GOOD') {
                                 statusSpan.className += ' good';
+                            } else if (status == 'FAIL') {
+                                statusSpan.className += ' fail';
                             } else if (status == 'BAD') {
                                 statusSpan.className += ' bad';
                             } else {
@@ -109,15 +116,15 @@
                                 r.appendChild(spanWith(']'));
                             }
 
-                            if (pkg.has_attestation) {
+                            if (pkg.attestation_log_id) {
                                 r.appendChild(spanWith(' ['));
-                                r.appendChild(linkTo(`/all-pull184/api/v1/builds/${build_id}/attestation`, 'attestation'));
+                                r.appendChild(linkTo(`/all-pull184/api/v1/builds/${build_id}/artifacts/${artifact_id}/attestation`, 'attestation'));
                                 r.appendChild(spanWith(']'));
                             }
 
-                            if (pkg.has_diffoscope) {
+                            if (pkg.diffoscope_log_id) {
                                 r.appendChild(spanWith(' ['));
-                                r.appendChild(linkTo(`/all-pull184/api/v1/builds/${build_id}/diffoscope`, 'diffoscope'));
+                                r.appendChild(linkTo(`/all-pull184/api/v1/builds/${build_id}/artifacts/${artifact_id}/diffoscope`, 'diffoscope'));
                                 r.appendChild(spanWith(']'));
                             }
 



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

-- 
View it on GitLab: https://salsa.debian.org/qa/jenkins.debian.net/-/commit/b78c6702297563e5469c68766505d764f3d47de2
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/20250918/cb81c609/attachment-0001.htm>


More information about the Qa-jenkins-scm mailing list