Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit ee24a30

Browse files
authored
Add script to force build LUCI builders for a specified commit (#15938)
1 parent b849683 commit ee24a30

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

tools/luci/force_luci_build.sh

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
#!/bin/bash
2+
3+
if [[ -z "$1" ]]; then
4+
echo "Usage: $(basename $0) <engine_commit_hash>"
5+
exit 1
6+
fi
7+
8+
ENGINE_COMMIT=$1
9+
BUILDERS=$(curl 'https://ci.chromium.org/p/flutter/g/engine/builders' 2>/dev/null|sed -En 's:.*aria-label="builder buildbucket/luci\.flutter\.prod/([^/]+)".*:\1:p'|sort|uniq)
10+
11+
IFS=$'\n'
12+
for BUILDER in $BUILDERS; do
13+
echo "Building $BUILDER..."
14+
bb add \
15+
-commit "https://chromium.googlesource.com/external/github.com/flutter/engine/+/$ENGINE_COMMIT" \
16+
"flutter/prod/$BUILDER"
17+
sleep 1
18+
done

0 commit comments

Comments
 (0)