From 77e5b466d5019ad93495e116f631ff3a78bd17e9 Mon Sep 17 00:00:00 2001 From: Packet Please Date: Fri, 8 Nov 2024 01:14:51 +0100 Subject: [PATCH] buildbot: run ath79/generic & ramips/mt7621 first to save time --- 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" \ """ ), ],