skia2/infra/bots
borenet 0f1469bcda Add asset management scripts
These provide an easy way to create assets to be used by bots,
eg. Android SDK.

To create an asset:
$ infra/bots/assets/assets.py add android_sdk
(adds scripts in infra/bots/assets/android_sdk)

To upload a new version of an asset:
$ infra/bots/assets/android_sdk/upload.py -t $ANDROID_SDK_ROOT
(uploads Android SDK to GS, writes a version file)
$ git commit
$ git cl upload

To download the current version of the asset:
$ infra/bots/assets/android_sdk/download.py -t ../tmp

BUG=skia:5427
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2069543002

Review-Url: https://codereview.chromium.org/2069543002
2016-06-15 12:07:42 -07:00
..
assets Add asset management scripts 2016-06-15 12:07:42 -07:00
tools/luci-go Add luci-go isolate.sha1 files 2016-02-18 10:13:14 -08:00
android_bin.isolate Support for Android Swarming bots 2016-04-01 07:18:28 -07:00
android_sdk_hash Update Android SDK 2016-05-27 08:08:34 -07:00
android_sdk.isolate Add isolate_android_sdk.py script and android_sdk_hash 2016-05-13 08:41:04 -07:00
bootstrap_win_toolchain_json.py Fixes for Win toolchain isolate 2016-03-11 04:54:42 -08:00
common.py Fixes for Swarming recipes 2016-03-30 07:41:32 -07:00
compile_skia.isolate Don't isolate the Skia repo for Swarming compiles 2016-04-27 06:06:25 -07:00
coverage_skia.isolate Add new coverage_skia.isolate 2016-04-18 04:13:48 -07:00
download_asset.isolate Add asset management scripts 2016-06-15 12:07:42 -07: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
housekeeper_skia.isolate Add housekeeper_skia.isolate 2016-06-09 12:58:11 -07:00
images.isolate Fixes for Swarming recipes 2016-03-30 07:41:32 -07:00
infrabots.isolate Add XSAN suppression files to infrabots.isolate. Only compile 'dm' and 'nanobench' for XSAN flavors. 2016-05-04 06:35:50 -07:00
ios_bin.isolate More iOS swarming bot fixes 2016-04-06 11:38:55 -07:00
isolate_android_sdk.py isolate_android_sdk: Find or download isolate binary, fix infra path 2016-05-27 11:11:22 -07:00
isolate_win_toolchain.py Fixes for Win toolchain isolate 2016-03-11 04:54:42 -08:00
perf_skia.isolate More iOS swarming bot fixes 2016-04-06 11:38:55 -07: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 Fix compile on Windows swarming bot 2016-03-16 07:27:05 -07:00
skps.isolate Fixes for Swarming recipes 2016-03-30 07:41:32 -07:00
test_skia.isolate More iOS swarming bot fixes 2016-04-06 11:38:55 -07:00
test_utils.py Add asset management scripts 2016-06-15 12:07:42 -07:00
utils.py Add isolate_win_toolchain.py 2016-03-10 07:01:39 -08:00
win_toolchain_hash.json Update Win toolchain 2016-04-28 11:02:36 -07:00
win_toolchain_utils.py Some fixes for Swarming bots 2016-03-17 09:01:33 -07:00
win_toolchain.isolate Fixes for Win toolchain isolate 2016-03-11 04:54:42 -08:00
zip_utils_test.py Add asset management scripts 2016-06-15 12:07:42 -07:00
zip_utils.py Add asset management scripts 2016-06-15 12:07:42 -07: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