Skip to content

Commit

Permalink
buildbot: run ath79/generic & ramips/mt7621 first to save time
Browse files Browse the repository at this point in the history
  • Loading branch information
pktpls committed Nov 8, 2024
1 parent a57b48c commit 77e5b46
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion roles/buildbot/files/targets.py
Original file line number Diff line number Diff line change
Expand Up @@ -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" \
"""
),
],
Expand Down

0 comments on commit 77e5b46

Please sign in to comment.