From 3986c76dbb6c1be5988db2d48d1f46a8824e185d Mon Sep 17 00:00:00 2001 From: Packet Please Date: Fri, 8 Nov 2024 10:02:07 +0100 Subject: [PATCH] buildbot: run ath79/generic & ramips/mt7621 first to save time (#138) --- roles/buildbot/files/targets.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/roles/buildbot/files/targets.py b/roles/buildbot/files/targets.py index 3167141..927f0ba 100644 --- a/roles/buildbot/files/targets.py +++ b/roles/buildbot/files/targets.py @@ -234,10 +234,14 @@ def targetsFactory(f, wwwPrefix): # # TODO: doesn't fail if targets-*.txt doesn't exist """\ -cat build/targets-%(prop:falterBranch)s.txt \ +targets=$(cat build/targets-%(prop:falterBranch)s.txt \ | grep -v "#" | grep . \ | cut -d" " -f2- \ | xargs -n1 echo | sort \ +) \ +; echo "$targets" | grep -F "ath79/generic" \ +; echo "$targets" | grep -F "ramips/mt7621" \ +; echo "$targets" | grep -v -F "ath79/generic" | grep -v -F "ramips/mt7621" \ """ ), ],