未验证 提交 ee24a305 编写于 作者: T Todd Volkert 提交者: GitHub

Add script to force build LUCI builders for a specified commit (#15938)

上级 b8496830
#!/bin/bash
if [[ -z "$1" ]]; then
echo "Usage: $(basename $0) <engine_commit_hash>"
exit 1
fi
ENGINE_COMMIT=$1
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)
IFS=$'\n'
for BUILDER in $BUILDERS; do
echo "Building $BUILDER..."
bb add \
-commit "https://chromium.googlesource.com/external/github.com/flutter/engine/+/$ENGINE_COMMIT" \
"flutter/prod/$BUILDER"
sleep 1
done
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册