0f1469bcda
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 |
||
---|---|---|
.. | ||
assets | ||
tools/luci-go | ||
android_bin.isolate | ||
android_sdk_hash | ||
android_sdk.isolate | ||
bootstrap_win_toolchain_json.py | ||
common.py | ||
compile_skia.isolate | ||
coverage_skia.isolate | ||
download_asset.isolate | ||
download_images.py | ||
download_skps.py | ||
housekeeper_skia.isolate | ||
images.isolate | ||
infrabots.isolate | ||
ios_bin.isolate | ||
isolate_android_sdk.py | ||
isolate_win_toolchain.py | ||
perf_skia.isolate | ||
README.md | ||
resources.isolate | ||
skia_repo.isolate | ||
skps.isolate | ||
test_skia.isolate | ||
test_utils.py | ||
utils.py | ||
win_toolchain_hash.json | ||
win_toolchain_utils.py | ||
win_toolchain.isolate | ||
zip_utils_test.py | ||
zip_utils.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