aboutsummaryrefslogtreecommitdiff
path: root/guix-qa-frontpage/server.scm
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2023-10-29 09:45:27 +0000
committerChristopher Baines <mail@cbaines.net>2023-10-29 09:45:27 +0000
commit21d81034da0861f70c94e33dae221eb3d210c5b1 (patch)
tree25225ced15a5fb86009e22214f0163f6907388c2 /guix-qa-frontpage/server.scm
parentac9d7b550edf48afdd9011d1bc0517c1c81b8008 (diff)
downloadqa-frontpage-21d81034da0861f70c94e33dae221eb3d210c5b1.tar
qa-frontpage-21d81034da0861f70c94e33dae221eb3d210c5b1.tar.gz
Make "large-number-of-builds" an issue status
Rather than these falling within the unknown status.
Diffstat (limited to 'guix-qa-frontpage/server.scm')
-rw-r--r--guix-qa-frontpage/server.scm21
1 files changed, 21 insertions, 0 deletions
diff --git a/guix-qa-frontpage/server.scm b/guix-qa-frontpage/server.scm
index 5c7023e..9ae9bb1 100644
--- a/guix-qa-frontpage/server.scm
+++ b/guix-qa-frontpage/server.scm
@@ -437,6 +437,27 @@
<text x=\"90\" y=\"22\" fill=\"#000\">Investigate</text>
</g>
</svg>")
+ ((eq? overall-status 'large-number-of-builds)
+ "
+<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"272\" height=\"36\">
+ <clipPath id=\"clip\">
+ <rect width=\"140\" height=\"36\" rx=\"4\"/>
+ </clipPath>
+ <linearGradient id=\"job\" x1=\"0\" x2=\"0\" y1=\"0\" y2=\"1\">
+ <stop offset=\"0\" stop-color=\"#666\" />
+ <stop offset=\"1\" stop-color=\"#333\" />
+ </linearGradient>
+ <linearGradient id=\"status\" x1=\"0\" x2=\"0\" y1=\"0\" y2=\"1\">
+ <stop offset=\"0\" stop-color=\"purple\" />
+ <stop offset=\"1\" stop-color=\"purple\" />
+ </linearGradient>
+ <g clip-path=\"url(#clip)\" font-family=\"DejaVu Sans,Verdana,sans-serif\" font-size=\"14\" text-anchor=\"middle\">
+ <rect width=\"40\" height=\"36\" fill=\"url(#job)\"/>
+ <text x=\"20\" y=\"22\" fill=\"#fff\">QA</text>
+ <rect x=\"40\" width=\"100\" height=\"36\" fill=\"url(#status)\"/>
+ <text x=\"90\" y=\"22\" fill=\"#fff\">Investigate</text>
+ </g>
+</svg>")
((eq? overall-status 'guix-data-service-failed)
"
<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"272\" height=\"36\">