Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
android_ndk_darwin/ | 23-Nov-2023 | - | 144 | 67 | ||
android_ndk_linux/ | 23-Nov-2023 | - | 144 | 67 | ||
android_ndk_windows/ | 23-Nov-2023 | - | 144 | 67 | ||
android_sdk_linux/ | 23-Nov-2023 | - | 149 | 70 | ||
armhf_sysroot/ | 23-Nov-2023 | - | 196 | 103 | ||
bazel/ | 23-Nov-2023 | - | 145 | 67 | ||
bloaty/ | 23-Nov-2023 | - | 147 | 67 | ||
cast_toolchain/ | 23-Nov-2023 | - | 62 | 20 | ||
ccache_linux/ | 23-Nov-2023 | - | 149 | 69 | ||
ccache_mac/ | 23-Nov-2023 | - | 149 | 69 | ||
chromebook_arm_gles/ | 23-Nov-2023 | - | 190 | 102 | ||
chromebook_x86_64_gles/ | 23-Nov-2023 | - | 190 | 102 | ||
clang_linux/ | 23-Nov-2023 | - | 175 | 91 | ||
clang_win/ | 23-Nov-2023 | - | 154 | 71 | ||
cmake_linux/ | 23-Nov-2023 | - | 144 | 66 | ||
cmake_mac/ | 23-Nov-2023 | - | 144 | 66 | ||
cockroachdb/ | 23-Nov-2023 | - | 143 | 66 | ||
gcloud_linux/ | 23-Nov-2023 | - | 175 | 90 | ||
go/ | 23-Nov-2023 | - | 144 | 65 | ||
go_win/ | 23-Nov-2023 | - | 145 | 65 | ||
ios-dev-image-11.4/ | 23-Nov-2023 | - | 69 | 25 | ||
ios-dev-image-12.4/ | 23-Nov-2023 | - | 69 | 25 | ||
ios-dev-image-13.3/ | 23-Nov-2023 | - | 70 | 25 | ||
ios-dev-image-13.4/ | 23-Nov-2023 | - | 70 | 25 | ||
ios-dev-image-13.5/ | 23-Nov-2023 | - | 70 | 25 | ||
ios-dev-image-13.6/ | 23-Nov-2023 | - | 70 | 25 | ||
ios-dev-image-14.4/ | 23-Nov-2023 | - | 70 | 25 | ||
linux_vulkan_sdk/ | 23-Nov-2023 | - | 153 | 75 | ||
lottie-samples/ | 23-Nov-2023 | - | 133 | 56 | ||
mesa_intel_driver_linux/ | 23-Nov-2023 | - | 282 | 150 | ||
mockery/ | 23-Nov-2023 | - | 141 | 64 | ||
mskp/ | 23-Nov-2023 | - | 61 | 19 | ||
node/ | 23-Nov-2023 | - | 144 | 67 | ||
opencl_headers/ | 23-Nov-2023 | - | 153 | 69 | ||
opencl_intel_neo_linux/ | 23-Nov-2023 | - | 179 | 93 | ||
opencl_ocl_icd_linux/ | 23-Nov-2023 | - | 152 | 71 | ||
procdump_win/ | 23-Nov-2023 | - | 143 | 62 | ||
protoc/ | 23-Nov-2023 | - | 140 | 61 | ||
provisioning_profile_ios/ | 23-Nov-2023 | - | 61 | 19 | ||
scripts/ | 23-Nov-2023 | - | 133 | 57 | ||
skimage/ | 23-Nov-2023 | - | 143 | 62 | ||
skp/ | 23-Nov-2023 | - | 238 | 139 | ||
skparagraph/ | 23-Nov-2023 | - | 61 | 19 | ||
svg/ | 23-Nov-2023 | - | 190 | 99 | ||
text_blob_traces/ | 23-Nov-2023 | - | 42 | 26 | ||
valgrind/ | 23-Nov-2023 | - | 210 | 119 | ||
win_ninja/ | 23-Nov-2023 | - | 137 | 61 | ||
win_toolchain/ | 23-Nov-2023 | - | 178 | 97 | ||
xcode-11.4.1/ | 23-Nov-2023 | - | 61 | 19 | ||
README.md | D | 23-Nov-2023 | 1.4 KiB | 48 | 36 | |
__init__.py | D | 23-Nov-2023 | 157 | 7 | 0 | |
asset_utils.py | D | 23-Nov-2023 | 12.3 KiB | 370 | 301 | |
asset_utils_test.py | D | 23-Nov-2023 | 7 KiB | 243 | 141 | |
assets.py | D | 23-Nov-2023 | 2.6 KiB | 99 | 63 |
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