skia2/infra/bots/assets
Eric Boren e76e96adf8 Reland "[infra] Roll Infra dep to update CIPD packages" with fix
This reverts commit 8cb7c3be75.

Just leave Win7 Golo tasks on python 2.

Change-Id: Idf1d6cc6d303107afd8e74cdec94e7a9ec91399e
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/416316
Reviewed-by: Ravi Mistry <rmistry@google.com>
Commit-Queue: Eric Boren <borenet@google.com>
2021-06-22 17:31:55 +00:00
..
android_ndk_darwin [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
android_ndk_linux [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
android_ndk_windows [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +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 [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +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