f1215a537f
Turns out it's pretty easy to pass the compile outputs to the test task by just adding the hash to the "includes" list in the .isolated file. So the flow is: 1. Isolate skia repo 2. Run compile task, record hash of results 3. Isolate test inputs for DM. This writes a .isolated file 4. Edit the .isolated file from #3 to include the hash from #2 5. Upload the modified .isolated file to the isolate server 6. Trigger the swarming task for DM 7. Wait for DM task to finish, download results from isolate server 8. Upload results to GS as normal I expect the swarming bots to break when this is committed due to the moved out directory. The associated recipe change will fix them. NOTRY=true BUG=skia:4763 GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1759553003 Review URL: https://codereview.chromium.org/1759553003 |
||
---|---|---|
.. | ||
flavor | ||
tools/luci-go | ||
add_isolated_input.py | ||
common.py | ||
compile_skia.isolate | ||
compile_skia.py | ||
download_images.py | ||
download_skps.py | ||
images.isolate | ||
infrabots.isolate | ||
perf_skia.isolate | ||
perf_skia.py | ||
README.md | ||
resources.isolate | ||
skia_repo.isolate | ||
skps.isolate | ||
test_skia.isolate | ||
test_skia.py |
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