From 1efe95228f31c6d906ffe0c321bb95100e0fe219 Mon Sep 17 00:00:00 2001 From: Abdessamad Derraz <3028866+Abdess@users.noreply.github.com> Date: Wed, 1 Apr 2026 14:52:39 +0200 Subject: [PATCH] feat: propagate source flags to pipeline --- scripts/pipeline.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/scripts/pipeline.py b/scripts/pipeline.py index 814bc25d..e16e32d4 100644 --- a/scripts/pipeline.py +++ b/scripts/pipeline.py @@ -166,6 +166,8 @@ def main(): help="(no-op) Core requirements are always included", ) parser.add_argument("--target", "-t", help="Hardware target (e.g., switch, rpi4)") + parser.add_argument("--source", choices=["platform", "truth", "full"], default="full") + parser.add_argument("--all-variants", action="store_true") parser.add_argument( "--check-buildbot", action="store_true", @@ -326,6 +328,10 @@ def main(): pack_cmd.append("--include-extras") if args.target: pack_cmd.extend(["--target", args.target]) + if args.source != "full": + pack_cmd.extend(["--source", args.source]) + if args.all_variants: + pack_cmd.append("--all-variants") ok, pack_output = run(pack_cmd, "4/8 generate packs") results["generate_packs"] = ok all_ok = all_ok and ok