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

Change-Id: I0336f2d4b6ef5144688329464a9e64246863efe3
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/490419
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-01-02 07:56:20 +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 [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] 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-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 [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] Update iOS provisioning profile. 2021-11-19 20:45:39 +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-01-02 07:56:20 +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