• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..16-Feb-2021-

android_ndk_darwin/H16-Feb-2021-14467

android_ndk_linux/H16-Feb-2021-14467

android_ndk_windows/H16-Feb-2021-14467

android_sdk_linux/H16-Feb-2021-14970

armhf_sysroot/H16-Feb-2021-195102

bloaty/H16-Feb-2021-14767

cast_toolchain/H16-Feb-2021-6220

ccache_linux/H16-Feb-2021-14969

ccache_mac/H16-Feb-2021-14969

chromebook_arm_gles/H16-Feb-2021-189101

chromebook_x86_64_gles/H16-Feb-2021-189101

clang_linux/H16-Feb-2021-17591

clang_win/H16-Feb-2021-15471

cmake_linux/H16-Feb-2021-14466

cmake_mac/H16-Feb-2021-14466

cockroachdb/H16-Feb-2021-14365

gcloud_linux/H16-Feb-2021-17590

go/H16-Feb-2021-14161

go_win/H16-Feb-2021-14565

ios-dev-image-11.4/H16-Feb-2021-6925

ios-dev-image-12.4/H16-Feb-2021-6925

ios-dev-image-13.3/H16-Feb-2021-7025

ios-dev-image-13.4/H16-Feb-2021-7025

ios-dev-image-13.5/H16-Feb-2021-7025

ios-dev-image-13.6/H16-Feb-2021-7025

linux_vulkan_sdk/H16-Feb-2021-15375

lottie-samples/H16-Feb-2021-13356

mesa_intel_driver_linux/H16-Feb-2021-282150

mskp/H16-Feb-2021-6119

node/H16-Feb-2021-14467

opencl_headers/H16-Feb-2021-15369

opencl_intel_neo_linux/H16-Feb-2021-17792

opencl_ocl_icd_linux/H16-Feb-2021-15271

procdump_win/H16-Feb-2021-14362

protoc/H16-Feb-2021-14061

provisioning_profile_ios/H16-Feb-2021-6119

scripts/H16-Feb-2021-13356

skimage/H16-Feb-2021-14362

skp/H16-Feb-2021-206115

skparagraph/H16-Feb-2021-6119

svg/H16-Feb-2021-17688

text_blob_traces/H16-Feb-2021-4226

valgrind/H16-Feb-2021-209118

win_ninja/H16-Feb-2021-13761

win_toolchain/H16-Feb-2021-17696

xcode-11.4.1/H16-Feb-2021-6119

README.mdH A D16-Feb-20211.4 KiB4836

__init__.pyH A D16-Feb-2021157 70

asset_utils.pyH A D16-Feb-202112.3 KiB369300

asset_utils_test.pyH A D16-Feb-20217 KiB243141

assets.pyH A D16-Feb-20212.6 KiB9963

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* download.py:  Convenience script for downloading the current version of the asset.
17* upload.py:  Convenience script for uploading a new version of the asset.
18* [optional] create.py:  Script which creates the asset, implemented by the user.
19* [optional] create\_and\_upload.py:  Convenience script which combines create.py with upload.py.
20
21
22Examples
23-------
24
25Add a new asset and upload an initial version.
26
27```
28$ infra/bots/assets/assets.py add myasset
29Creating asset in infra/bots/assets/myasset
30Creating infra/bots/assets/myasset/download.py
31Creating infra/bots/assets/myasset/upload.py
32Creating infra/bots/assets/myasset/common.py
33Add script to automate creation of this asset? (y/n) n
34$ infra/bots/assets/myasset/upload.py -t ${MY_ASSET_LOCATION}
35$ git commit
36```
37
38Add an asset whose creation can be automated.
39
40```
41$ infra/bots/assets/assets.py add myasset
42Add script to automate creation of this asset? (y/n) y
43$ vi infra/bots/assets/myasset/create.py
44(implement the create_asset function)
45$ infra/bots/assets/myasset/create_and_upload.py
46$ git commit
47```
48