skia2/infra/bots
borenet f1215a537f Swarming bots: setup for skipping download of build products
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
2016-03-04 04:55:26 -08:00
..
flavor Add test_skia.py, isolates for test_skia, images, skps 2016-02-29 05:57:31 -08:00
tools/luci-go Add luci-go isolate.sha1 files 2016-02-18 10:13:14 -08:00
add_isolated_input.py Swarming bots: setup for skipping download of build products 2016-03-04 04:55:26 -08:00
common.py Swarming bots: setup for skipping download of build products 2016-03-04 04:55:26 -08:00
compile_skia.isolate Swarming bots: setup for skipping download of build products 2016-03-04 04:55:26 -08:00
compile_skia.py Add test_skia.py, isolates for test_skia, images, skps 2016-02-29 05:57:31 -08:00
download_images.py Add test_skia.py, isolates for test_skia, images, skps 2016-02-29 05:57:31 -08:00
download_skps.py Add test_skia.py, isolates for test_skia, images, skps 2016-02-29 05:57:31 -08:00
images.isolate Add test_skia.py, isolates for test_skia, images, skps 2016-02-29 05:57:31 -08:00
infrabots.isolate Swarming bots: setup for skipping download of build products 2016-03-04 04:55:26 -08:00
perf_skia.isolate Swarming bots: setup for skipping download of build products 2016-03-04 04:55:26 -08:00
perf_skia.py Swarming bots: Add support for perf steps 2016-03-02 08:06:27 -08:00
README.md Port Skia recipe to normal Python scripts, move to Skia repo 2016-02-18 08:05:48 -08:00
resources.isolate Swarming bots: setup for skipping download of build products 2016-03-04 04:55:26 -08:00
skia_repo.isolate Port Skia recipe to normal Python scripts, move to Skia repo 2016-02-18 08:05:48 -08:00
skps.isolate Add test_skia.py, isolates for test_skia, images, skps 2016-02-29 05:57:31 -08:00
test_skia.isolate Swarming bots: setup for skipping download of build products 2016-03-04 04:55:26 -08:00
test_skia.py Add test_skia.py, isolates for test_skia, images, skps 2016-02-29 05:57:31 -08:00

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