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

Change-Id: I9194d9b363ff7296181dbf602c4a59f43aa24b6f
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/533180
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>
2022-04-24 08:14:03 +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] Update chromebook toolchain to support c++17 2022-01-31 15:46:31 +00:00
bazel [recipes] Port to Python 3 2021-11-10 20:17:28 +00:00
bazelisk Add bazelisk CIPD package. 2021-12-06 14:02:26 +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 [recipes] Port to Python 3 2021-11-10 20:17:28 +00:00
chromebook_x86_64_gles [recipes] Port to Python 3 2021-11-10 20:17:28 +00:00
clang_linux [python3] Reland recipes -> python3 changes 2021-12-01 13:04:03 +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] Make Go asset use "copy" install mode 2022-04-04 14:00:04 +00:00
go_win Update Go CIPD packages to v1.18. 2022-03-22 02:22:04 +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-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 [recipes] Port to Python 3 2021-11-10 20:17:28 +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 Mockery CIPD package: Build from source to support Go 1.18. 2022-03-22 00:50:34 +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
protoc [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
provisioning_profile_ios Reland "[infra] Update iOS device provisioning profile." 2022-04-22 04:34:33 +00:00
scripts [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
skimage Be more lenient with RLE BMPs 2021-12-23 20:32:52 +00:00
skp Update SKP version 2022-04-24 08:14:03 +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
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