skia2/infra/bots/assets
Leon Scroggins 957ed75731 Revert "Update bots' NDK to r23"
This reverts commit 3bce5d1397.

Reason for revert: Speculative fix for ASAN failures on waterfall

Original change's description:
> Update bots' NDK to r23
>
> Bug: skia:12273
> Bug: skia:10754
>
> The latest version (r23) includes APIs from Android 12. It also allows
> referencing enums and structs even if __ANDROID_API__ is not set to the
> level that included them. This allows code to reference them and use
> dlsym to access the methods. This will ultimately allow Skia (or client
> - in this case Flutter) to use a single build to use the NDK APIs if
> present and fail gracefully if not.
>
> With r23, the Mac version of the NDK is now in a DMG, so rewrite its
> script to properly download, mount, and eject it.
>
> Also update the path to asan_device_setup. (See
> Iae6515b7e78c7660b4fb9fe32fd969ba563c4517.)
>
> Change-Id: I4b2eb4f49a1d45a3c18d2399f6b8006668c310ea
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/439336
> Reviewed-by: Eric Boren <borenet@google.com>
> Reviewed-by: Derek Sollenberger <djsollen@google.com>
> Commit-Queue: Leon Scroggins <scroggo@google.com>

TBR=borenet@google.com,djsollen@google.com,scroggo@google.com,skcq-be@skia-corp.google.com.iam.gserviceaccount.com

Change-Id: I77f803c51cba6672958210b5270b8b4301e12301
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: skia:12273
Bug: skia:10754
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/440176
Reviewed-by: Leon Scroggins <scroggo@google.com>
Commit-Queue: Leon Scroggins <scroggo@google.com>
2021-08-17 17:40:47 +00:00
..
android_ndk_darwin Revert "Update bots' NDK to r23" 2021-08-17 17:40:47 +00:00
android_ndk_linux Revert "Update bots' NDK to r23" 2021-08-17 17:40:47 +00:00
android_ndk_windows Revert "Update bots' NDK to r23" 2021-08-17 17:40:47 +00:00
android_sdk_linux [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
armhf_sysroot [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
bazel [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
bloaty [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
cast_toolchain [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
ccache_linux [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
ccache_mac [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
chromebook_arm_gles [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
chromebook_x86_64_gles [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
clang_linux [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
clang_win [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
cmake_linux [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
cmake_mac [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
cockroachdb [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
gcloud_linux Reland "[infra] Roll Infra dep to update CIPD packages" with fix 2021-06-22 17:31:55 +00:00
go [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
go_win [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
ios-dev-image-11.4 [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
ios-dev-image-12.4 [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
ios-dev-image-13.3 [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
ios-dev-image-13.4 [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
ios-dev-image-13.5 [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
ios-dev-image-13.6 [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
ios-dev-image-14.4 [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
linux_vulkan_sdk [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
lottie-samples [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
mesa_intel_driver_linux [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
mockery [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
mskp [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
node [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
procdump_win [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
protoc [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
provisioning_profile_ios [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
scripts [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
skimage SkWuffsCodec: ignore too much pixel data 2021-06-04 14:41:13 +00:00
skp Update SKP version 2021-08-15 07:52:14 +00:00
skparagraph [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
svg [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
text_blob_traces Upload text blob traces as assets for the bots 2019-10-25 14:04:50 +00:00
valgrind [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
win_ninja [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
win_toolchain [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
xcode-11.4.1 [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00
README.md [infra] Remove most asset scripts, update create_and_upload 2021-06-03 13:14:17 +00:00

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