diff mbox series

[yocto-autobuilder-helper,2/2] config.json: metrics: Add new metrics-charts builder

Message ID 20240315232505.2251266-2-yoann.congal@smile.fr
State New
Headers show
Series [yocto-autobuilder-helper,1/2] run-cvecheck: Split out the chart generation code | expand

Commit Message

Yoann Congal March 15, 2024, 11:25 p.m. UTC
This builder generates global chart data from individual branch metrics.
By splitting it out of metrics we can simplify metrics and schedule it
more freely.

This builder should be scheduled after metrics has been run for every
branch.

Signed-off-by: Yoann Congal <yoann.congal@smile.fr>
---
 config.json | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
diff mbox series

Patch

diff --git a/config.json b/config.json
index 763121a..5b63313 100644
--- a/config.json
+++ b/config.json
@@ -1332,6 +1332,23 @@ 
                 "EXTRACMDS": [ "${SCRIPTSDIR}/run-abint ${HELPERRESULTSDIR}/../../abint/"]
             }
         },
+        "metrics-charts" : {
+            "NEEDREPOS" : ["poky", "meta-openembedded"],
+            "step1" : {
+                "shortname" : "Fetching metrics repositories",
+                "EXTRAPLAINCMDS" : [
+                    "git clone ssh://git@push.yoctoproject.org/yocto-metrics && git clone ssh://git@push.yoctoproject.org/yocto-metrics-meta-oe"
+                ]
+            },
+            "step2" : {
+                "shortname" : "CVE charts for meta",
+                "EXTRACMDS" : ["${SCRIPTSDIR}/run-cvecharts --metrics ../yocto-metrics --results ${HELPERRESULTSDIR}/../../patchmetrics --push"]
+            },
+            "step3" : {
+                "shortname" : "CVE charts for meta-oe",
+                "EXTRACMDS" : ["${SCRIPTSDIR}/run-cvecharts --metrics ../yocto-metrics-meta-oe --results ${HELPERRESULTSDIR}/../../patchmetrics-meta-oe --push"]
+            }
+        },
         "meta-mingw" : {
             "NEEDREPOS" : ["poky", "meta-mingw"],
             "MACHINE" : "qemux86-64",