• Home
Name Date Size #Lines LOC

..--

android_ndk_darwin/12-May-2024-4223

android_ndk_linux/12-May-2024-4223

android_ndk_windows/12-May-2024-4223

android_sdk_linux/12-May-2024-10355

armhf_sysroot/12-May-2024-8855

bazel/12-May-2024-4426

bloaty/12-May-2024-5027

cast_toolchain/12-May-2024-11

ccache_linux/12-May-2024-5128

ccache_mac/12-May-2024-5228

chromebook_arm_gles/12-May-2024-14582

chromebook_x86_64_gles/12-May-2024-14582

clang_linux/12-May-2024-7347

clang_win/12-May-2024-5430

cmake_linux/12-May-2024-4626

cmake_mac/12-May-2024-4626

cockroachdb/12-May-2024-4526

gcloud_linux/12-May-2024-7343

go/12-May-2024-4424

go_win/12-May-2024-4524

ios-dev-image-11.4/12-May-2024-86

ios-dev-image-12.4/12-May-2024-86

ios-dev-image-13.3/12-May-2024-96

ios-dev-image-13.4/12-May-2024-96

ios-dev-image-13.5/12-May-2024-96

ios-dev-image-13.6/12-May-2024-96

ios-dev-image-14.4/12-May-2024-96

linux_vulkan_sdk/12-May-2024-5534

lottie-samples/12-May-2024-2912

mesa_intel_driver_linux/12-May-2024-178106

mockery/12-May-2024-3920

mskp/12-May-2024-

node/12-May-2024-4223

procdump_win/12-May-2024-4422

protoc/12-May-2024-3617

provisioning_profile_ios/12-May-2024-

scripts/12-May-2024-13659

skimage/12-May-2024-4524

skp/12-May-2024-277200

skparagraph/12-May-2024-

svg/12-May-2024-8150

text_blob_traces/12-May-2024-4226

valgrind/12-May-2024-10977

win_ninja/12-May-2024-3617

win_toolchain/12-May-2024-13576

xcode-11.4.1/12-May-2024-

README.mdD12-May-20241.2 KiB4331

README.md

1Assets
2======
3
4This directory contains tooling for managing assets used by the bots.  The
5primary entry point is assets.py, which allows a user to add, remove, upload,
6and download assets.
7
8Assets are stored in Google Storage, named for their version number.
9
10
11Individual Assets
12-----------------
13
14Each asset has its own subdirectory with the following contents:
15* VERSION:  The current version number of the asset.
16* [optional] create.py:  Script which creates the asset, implemented by the user and called by `sk asset upload`.
17* [optional] create\_and\_upload.py:  User-implemented convenience script which wraps `sk asset upload` in whatever way makes sense for the asset.
18
19
20Examples
21-------
22
23Add a new asset and upload an initial version.
24
25```
26$ sk asset add myasset
27Do you want to add a creation script for this asset? (y/n): n
28$ sk asset upload --in ${MY_ASSET_LOCATION} myasset
29$ git commit
30```
31
32Add an asset whose creation can be automated.
33
34```
35$ sk asset add myasset
36Do you want to add a creation script for this asset? (y/n): y
37Created infra/bots/assets/myasset/create.py; you will need to add implementation before uploading the asset.
38$ vi infra/bots/assets/myasset/create.py
39(implement the create_asset function)
40$ sk asset upload myasset
41$ git commit
42```
43