Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 16-Feb-2021 | - | ||||
android_ndk_darwin/ | H | 16-Feb-2021 | - | 144 | 67 | |
android_ndk_linux/ | H | 16-Feb-2021 | - | 144 | 67 | |
android_ndk_windows/ | H | 16-Feb-2021 | - | 144 | 67 | |
android_sdk_linux/ | H | 16-Feb-2021 | - | 149 | 70 | |
armhf_sysroot/ | H | 16-Feb-2021 | - | 195 | 102 | |
bloaty/ | H | 16-Feb-2021 | - | 147 | 67 | |
cast_toolchain/ | H | 16-Feb-2021 | - | 62 | 20 | |
ccache_linux/ | H | 16-Feb-2021 | - | 149 | 69 | |
ccache_mac/ | H | 16-Feb-2021 | - | 149 | 69 | |
chromebook_arm_gles/ | H | 16-Feb-2021 | - | 189 | 101 | |
chromebook_x86_64_gles/ | H | 16-Feb-2021 | - | 189 | 101 | |
clang_linux/ | H | 16-Feb-2021 | - | 175 | 91 | |
clang_win/ | H | 16-Feb-2021 | - | 154 | 71 | |
cmake_linux/ | H | 16-Feb-2021 | - | 144 | 66 | |
cmake_mac/ | H | 16-Feb-2021 | - | 144 | 66 | |
cockroachdb/ | H | 16-Feb-2021 | - | 143 | 65 | |
gcloud_linux/ | H | 16-Feb-2021 | - | 175 | 90 | |
go/ | H | 16-Feb-2021 | - | 141 | 61 | |
go_win/ | H | 16-Feb-2021 | - | 145 | 65 | |
ios-dev-image-11.4/ | H | 16-Feb-2021 | - | 69 | 25 | |
ios-dev-image-12.4/ | H | 16-Feb-2021 | - | 69 | 25 | |
ios-dev-image-13.3/ | H | 16-Feb-2021 | - | 70 | 25 | |
ios-dev-image-13.4/ | H | 16-Feb-2021 | - | 70 | 25 | |
ios-dev-image-13.5/ | H | 16-Feb-2021 | - | 70 | 25 | |
ios-dev-image-13.6/ | H | 16-Feb-2021 | - | 70 | 25 | |
linux_vulkan_sdk/ | H | 16-Feb-2021 | - | 153 | 75 | |
lottie-samples/ | H | 16-Feb-2021 | - | 133 | 56 | |
mesa_intel_driver_linux/ | H | 16-Feb-2021 | - | 282 | 150 | |
mskp/ | H | 16-Feb-2021 | - | 61 | 19 | |
node/ | H | 16-Feb-2021 | - | 144 | 67 | |
opencl_headers/ | H | 16-Feb-2021 | - | 153 | 69 | |
opencl_intel_neo_linux/ | H | 16-Feb-2021 | - | 177 | 92 | |
opencl_ocl_icd_linux/ | H | 16-Feb-2021 | - | 152 | 71 | |
procdump_win/ | H | 16-Feb-2021 | - | 143 | 62 | |
protoc/ | H | 16-Feb-2021 | - | 140 | 61 | |
provisioning_profile_ios/ | H | 16-Feb-2021 | - | 61 | 19 | |
scripts/ | H | 16-Feb-2021 | - | 133 | 56 | |
skimage/ | H | 16-Feb-2021 | - | 143 | 62 | |
skp/ | H | 16-Feb-2021 | - | 206 | 115 | |
skparagraph/ | H | 16-Feb-2021 | - | 61 | 19 | |
svg/ | H | 16-Feb-2021 | - | 176 | 88 | |
text_blob_traces/ | H | 16-Feb-2021 | - | 42 | 26 | |
valgrind/ | H | 16-Feb-2021 | - | 209 | 118 | |
win_ninja/ | H | 16-Feb-2021 | - | 137 | 61 | |
win_toolchain/ | H | 16-Feb-2021 | - | 176 | 96 | |
xcode-11.4.1/ | H | 16-Feb-2021 | - | 61 | 19 | |
README.md | H A D | 16-Feb-2021 | 1.4 KiB | 48 | 36 | |
__init__.py | H A D | 16-Feb-2021 | 157 | 7 | 0 | |
asset_utils.py | H A D | 16-Feb-2021 | 12.3 KiB | 369 | 300 | |
asset_utils_test.py | H A D | 16-Feb-2021 | 7 KiB | 243 | 141 | |
assets.py | H A D | 16-Feb-2021 | 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