diff mbox series

[yocto-autobuilder-helper,10/11] config.json/utils: Disable buildtools and poky repo for indexing

Message ID 20250305102506.2043524-10-richard.purdie@linuxfoundation.org
State New
Headers show
Series [yocto-autobuilder-helper,01/11] scripts/run-dashboard-index: Add basic index page for new dashboard site | expand

Commit Message

Richard Purdie March 5, 2025, 10:25 a.m. UTC
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 config.json        | 1 +
 scripts/run-config | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/config.json b/config.json
index adb85d1..cdcb2f8 100644
--- a/config.json
+++ b/config.json
@@ -1367,6 +1367,7 @@ 
             }
         },
         "indexing" : {
+            "NEEDEDREPOS" : [],
             "step1" : {
                 "shortname" : "Generate non-release index",
                 "EXTRACMDS" : ["${SCRIPTSDIR}/generate-testresult-index.py ${BASE_SHAREDDIR}/pub/non-release/"]
diff --git a/scripts/run-config b/scripts/run-config
index fb71721..bf2855f 100755
--- a/scripts/run-config
+++ b/scripts/run-config
@@ -136,7 +136,9 @@  def addstepentry(name, taskdesc, shortname, description, detail, phase, usepty=F
         bbdesc = bbdesc + ": " + detail
     jsonconfig.append({"name" : name, "bbname" : bbname[:46], "phase" : phase, "description" : bbdesc, "usepty" : usepty})
 
-if jcfg:
+if args.target == "indexing":
+    pass
+elif jcfg:
     buildtools = utils.setup_buildtools_tarball(ourconfig, args.workername, None, checkonly=True)
     if buildtools:
         addentry("buildtools", "Setup buildtools tarball", "init")