skia2/infra/bots/assets
skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com af2f73c1bb Update SKP version
Automatic commit by the RecreateSKPs bot.

Change-Id: I2cd7e0de8202df2020539140f1c700e9a029d844
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/457620
Commit-Queue: skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com <skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com>
Bot-Commit: skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com <skia-recreate-skps@skia-swarming-bots.iam.gserviceaccount.com>
2021-10-10 08:25:53 +00:00
..
android_ndk_darwin Revert "Update bots' NDK to r23" 2021-08-17 17:40:47 +00:00
android_ndk_linux Revert "Update bots' NDK to r23" 2021-08-17 17:40:47 +00:00
android_ndk_windows Revert "Update bots' NDK to r23" 2021-08-17 17:40:47 +00:00
android_sdk_linux [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
armhf_sysroot [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
bazel [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
bloaty [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
cast_toolchain [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
ccache_linux [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
ccache_mac [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
chromebook_arm_gles [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
chromebook_x86_64_gles [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
clang_linux [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
clang_win [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
cmake_linux [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
cmake_mac [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
cockroachdb [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
gcloud_linux Reland "[infra] Roll Infra dep to update CIPD packages" with fix 2021-06-22 17:31:55 +00:00
go [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
go_win [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
ios-dev-image-11.4 [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
ios-dev-image-12.4 [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
ios-dev-image-13.3 [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
ios-dev-image-13.4 [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
ios-dev-image-13.5 [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
ios-dev-image-13.6 [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
ios-dev-image-14.4 [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
linux_vulkan_sdk [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
lottie-samples [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
mesa_intel_driver_linux [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
mockery [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
mskp [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
node [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
procdump_win [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
protoc [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
provisioning_profile_ios [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
scripts [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
skimage SkWuffsCodec: ignore too much pixel data 2021-06-04 14:41:13 +00:00
skp Update SKP version 2021-10-10 08:25:53 +00:00
skparagraph [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
svg [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
text_blob_traces Upload text blob traces as assets for the bots 2019-10-25 14:04:50 +00:00
valgrind [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
win_ninja [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
win_toolchain [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
xcode-11.4.1 [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
README.md [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00

Assets

This directory contains tooling for managing assets used by the bots. The primary entry point is assets.py, which allows a user to add, remove, upload, and download assets.

Assets are stored in Google Storage, named for their version number.

Individual Assets

Each asset has its own subdirectory with the following contents:

  • VERSION: The current version number of the asset.
  • [optional] create.py: Script which creates the asset, implemented by the user and called by sk asset upload.
  • [optional] create_and_upload.py: User-implemented convenience script which wraps sk asset upload in whatever way makes sense for the asset.

Examples

Add a new asset and upload an initial version.

$ sk asset add myasset
Do you want to add a creation script for this asset? (y/n): n
$ sk asset upload --in ${MY_ASSET_LOCATION} myasset
$ git commit

Add an asset whose creation can be automated.

$ sk asset add myasset
Do you want to add a creation script for this asset? (y/n): y
Created infra/bots/assets/myasset/create.py; you will need to add implementation before uploading the asset.
$ vi infra/bots/assets/myasset/create.py
(implement the create_asset function)
$ sk asset upload myasset
$ git commit