423ba24cac
Turns out we were "lucky" for our Linux bots which already have depot_tools in PATH. The Mac bot does have depot_tools, but it's not in PATH. Add it in the script to ensure we can always get to it. NOTRY=true BUG=skia:4763 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1823653002 Review URL: https://codereview.chromium.org/1823653002 |
||
---|---|---|
.. | ||
flavor | ||
tools/luci-go | ||
add_isolated_input.py | ||
bootstrap_win_toolchain_json.py | ||
common.py | ||
compile_skia.isolate | ||
compile_skia.py | ||
download_images.py | ||
download_skps.py | ||
images.isolate | ||
infrabots.isolate | ||
isolate_win_toolchain.py | ||
perf_skia.isolate | ||
perf_skia.py | ||
README.md | ||
resources.isolate | ||
skia_repo.isolate | ||
skps.isolate | ||
test_skia.isolate | ||
test_skia.py | ||
utils.py | ||
win_toolchain_hash.json | ||
win_toolchain_utils.py | ||
win_toolchain.isolate |
Skia Buildbot Scripts
The scripts in this directory are ported from Skia's buildbot recipes and are intended to run as standalone Python scripts either locally or via Swarming.
How to Run
The scripts can be run by hand, eg:
$ cd infra/bots $ python compile_skia.py Build-Ubuntu-GCC-x86_64-Debug ../../out
Or, you can run the scripts via Swarming:
$ isolate archive --isolate-server https://isolateserver.appspot.com/ -i infra/bots/compile_skia.isolate -s ../compile-skia.isolated --verbose --config-variable BUILDER_NAME=Build-Ubuntu-GCC-x86_64-Debug $ swarming.py run --swarming https://chromium-swarm.appspot.com --isolate-server https://isolateserver.appspot.com --dimension os Ubuntu --dimension pool Skia --task-name compile-skia --io-timeout=3600 --hard-timeout=3600 ../compile-skia.isolated