feat: add --check-buildbot pipeline step

This commit is contained in:
Abdessamad Derraz
2026-03-29 11:04:04 +02:00
parent b9be8b9783
commit 500e33d1ff

View File

@@ -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: