skia2/infra
Leandro Lovisolo b7eaeadf3f [codesize] Add CodeSize-dm-Debian10-Clang-x86_64-Release task.
This CL adds the task driver and plumbing necessary to run CI tasks that upload build statistics to https://codesize.skia.org.

For now, a single CodeSize-dm-Debian10-Clang-x86_64-Release task is defined, which as the name suggests:

- Depends on Build-Debian10-Clang-x86_64-Release.
- Takes the "dm" binary built by the aforementioned job.
- Runs Bloaty against said binary.
- Uploads the Bloaty output, along with a JSON file with metadata, to the GCS bucket where https://codesize.skia.org gets its data from.

If one wishes to upload codesize statistics for another binary, the steps are as follows:

- Identify the target binary, for example "fm".
- Identify a compile task that builds said binary with the desired settings, for example "Build-Debian10-Clang-x86_64-Debug".
- Add a new job in //infra/bots/jobs.json named "CodeSize-<binary>-<compile task>", where <compile task> is the name of the compile task without the "Build-" prefix, for example "CodeSize-fm-Debian10-Clang-x86_64-Debug".
- Run "make train" from the //infra/bots directory.

Eventually the codesize.skia.org webserver will automatically pick up the output of any such CodeSize-* task and show it in the UI, with no additional steps needed.

One caveat is that the binary file name, and therefore the "<binary>" part of the task name, cannot contain dashes. This is due to how //infra/bots/gen_tasks_logic.go works. See comments in said Go file for ideas on how to work around this if we ever need to.

Bug: skia:12151
Change-Id: If406944ca7660c4dd15c8e6b8f34e48c65cbbe2f
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/502788
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Reviewed-by: Eric Boren <borenet@google.com>
Commit-Queue: Leandro Lovisolo <lovisolo@google.com>
2022-02-11 22:05:19 +00:00
..
bots [codesize] Add CodeSize-dm-Debian10-Clang-x86_64-Release task. 2022-02-11 22:05:19 +00:00
canvaskit [canvaskit] Disable dynamic execution 2022-02-01 13:15:22 +00:00
cmake [infra] Change CMake build to use a temporary directory 2020-01-14 11:41:55 +00:00
config Roll recipe dependencies (trivial). 2021-11-29 12:50:06 +00:00
cross-compile/docker/cross-linux-arm64 Add dockerfile to cross-compile for arm64 linux 2019-02-20 19:04:11 +00:00
docker Fix Flutter bot by using vpython3 from cipd and setting env vars for it 2021-08-24 20:20:49 +00:00
gcc remove support for mips64el/loongson3a 2020-05-19 19:22:49 +00:00
lottiecap Reland "[infra] Roll Infra dep to update CIPD packages" with fix 2021-06-22 17:31:55 +00:00
pathkit [infra] Cleanup permissions in our docker build tasks 2021-08-05 12:33:10 +00:00
project-config Delete swarm_trigger recipe 2016-12-13 12:53:00 +00:00
wasm-common [canvaskit] Disable dynamic execution 2022-02-01 13:15:22 +00:00
README.md Update references to master branch 2021-05-21 15:18:16 +00:00
skcq.json Use AUTHORS verification from SkCQ 2021-09-30 12:57:44 +00:00

This directory contains infra-specific files. The branch-config/ directory contains configs that are specific to the main branch (e.g. config for the CQ committing to the main branch), while project-config/ directory contains project-wide configuration (e.g. list of buckets for cr-buildbucket service and list of refs known to the infra services).