diff --git a/scripts/pipeline.py b/scripts/pipeline.py index 8067deb7..7d2da2fe 100644 --- a/scripts/pipeline.py +++ b/scripts/pipeline.py @@ -143,6 +143,8 @@ def main(): parser.add_argument("--include-extras", action="store_true", help="(no-op) Core requirements are always included") parser.add_argument("--target", "-t", help="Hardware target (e.g., switch, rpi4)") + parser.add_argument("--check-buildbot", action="store_true", + help="Check buildbot system directory for changes") args = parser.parse_args() results = {} @@ -171,6 +173,16 @@ def main(): print("\n--- 2/9 refresh data directories: SKIPPED (--offline) ---") results["refresh_data"] = True + # Step 2b: Check buildbot system directory (non-blocking) + if args.check_buildbot and not args.offline: + ok, _ = run( + [sys.executable, "scripts/check_buildbot_system.py"], + "2b check buildbot system", + ) + results["check_buildbot"] = ok + elif args.check_buildbot: + print("\n--- 2b check buildbot system: SKIPPED (--offline) ---") + # Step 3: Verify verify_cmd = [sys.executable, "scripts/verify.py", "--all"] if args.include_archived: