android13/external/skia/infra/bots/assets
liiir1985 7f62dcda9f initial 2024-06-22 20:45:49 +08:00
..
android_ndk_darwin initial 2024-06-22 20:45:49 +08:00
android_ndk_linux initial 2024-06-22 20:45:49 +08:00
android_ndk_windows initial 2024-06-22 20:45:49 +08:00
android_sdk_linux initial 2024-06-22 20:45:49 +08:00
armhf_sysroot initial 2024-06-22 20:45:49 +08:00
bazel initial 2024-06-22 20:45:49 +08:00
bazelisk initial 2024-06-22 20:45:49 +08:00
bloaty initial 2024-06-22 20:45:49 +08:00
cast_toolchain initial 2024-06-22 20:45:49 +08:00
ccache_linux initial 2024-06-22 20:45:49 +08:00
ccache_mac initial 2024-06-22 20:45:49 +08:00
chromebook_arm_gles initial 2024-06-22 20:45:49 +08:00
chromebook_x86_64_gles initial 2024-06-22 20:45:49 +08:00
clang_linux initial 2024-06-22 20:45:49 +08:00
clang_win initial 2024-06-22 20:45:49 +08:00
cmake_linux initial 2024-06-22 20:45:49 +08:00
cmake_mac initial 2024-06-22 20:45:49 +08:00
cockroachdb initial 2024-06-22 20:45:49 +08:00
gcloud_linux initial 2024-06-22 20:45:49 +08:00
go initial 2024-06-22 20:45:49 +08:00
go_win initial 2024-06-22 20:45:49 +08:00
ios-dev-image-11.4 initial 2024-06-22 20:45:49 +08:00
ios-dev-image-13.3 initial 2024-06-22 20:45:49 +08:00
ios-dev-image-13.4 initial 2024-06-22 20:45:49 +08:00
ios-dev-image-13.5 initial 2024-06-22 20:45:49 +08:00
ios-dev-image-13.6 initial 2024-06-22 20:45:49 +08:00
ios-dev-image-14.4 initial 2024-06-22 20:45:49 +08:00
linux_vulkan_sdk initial 2024-06-22 20:45:49 +08:00
lottie-samples initial 2024-06-22 20:45:49 +08:00
mesa_intel_driver_linux initial 2024-06-22 20:45:49 +08:00
mockery initial 2024-06-22 20:45:49 +08:00
mskp initial 2024-06-22 20:45:49 +08:00
node initial 2024-06-22 20:45:49 +08:00
procdump_win initial 2024-06-22 20:45:49 +08:00
protoc initial 2024-06-22 20:45:49 +08:00
provisioning_profile_ios initial 2024-06-22 20:45:49 +08:00
scripts initial 2024-06-22 20:45:49 +08:00
skimage initial 2024-06-22 20:45:49 +08:00
skp initial 2024-06-22 20:45:49 +08:00
skparagraph initial 2024-06-22 20:45:49 +08:00
svg initial 2024-06-22 20:45:49 +08:00
text_blob_traces initial 2024-06-22 20:45:49 +08:00
valgrind initial 2024-06-22 20:45:49 +08:00
win_ninja initial 2024-06-22 20:45:49 +08:00
win_toolchain initial 2024-06-22 20:45:49 +08:00
xcode-11.4.1 initial 2024-06-22 20:45:49 +08:00
README.md initial 2024-06-22 20:45:49 +08:00

README.md

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