($INBOX_DIR/description missing)
 help / color / mirror / Atom feed
From: Yoann Congal <yoann.congal@smile.fr>
To: yocto@lists.yoctoproject.org
Cc: Yoann Congal <yoann.congal@smile.fr>
Subject: [yocto-autobuilder-helper][PATCH 2/2] config.json: metrics: Add new metrics-charts builder
Date: Sat, 16 Mar 2024 00:25:05 +0100	[thread overview]
Message-ID: <20240315232505.2251266-2-yoann.congal@smile.fr> (raw)
In-Reply-To: <20240315232505.2251266-1-yoann.congal@smile.fr>

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 --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",
-- 
2.39.2



      reply	other threads:[~2024-03-15 23:25 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-15 23:25 [yocto-autobuilder-helper][PATCH 1/2] run-cvecheck: Split out the chart generation code Yoann Congal
2024-03-15 23:25 ` Yoann Congal [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240315232505.2251266-2-yoann.congal@smile.fr \
    --to=yoann.congal@smile.fr \
    --cc=yocto@lists.yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).