commit | 97592e493ebfbc122f354270df666745ddd40729 | [log] [tgz] |
---|---|---|
author | Sven Zheng <svenzheng@chromium.org> | Fri Aug 07 16:52:44 2020 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Aug 07 16:52:44 2020 |
tree | 5c0b6ce89cf4346c08e92bbe77e7527fc7cd5fed | |
parent | d21a35b7ddbcd389fc14dcb581eda8c130403945 [diff] |
Adds functionalities to update latest file to generic archive In this way, we can get the latest uploads from the latest file content. Without this, we need 'gsutil ls' to figure out the latest file. With 8300 folders, 'gsutil ls' takes about 20 seconds, which is too long. This will be used in https://source.chromium.org/chromium/chromium/src/+/master:infra/config/subprojects/chromium/master-only/ci.star;l=1511;drc=1939ce11f5267976dd5c797031f6f8532b4678bd Bug: 1109287 Change-Id: I43b4deb8bcca24187040ee610de85bd0f2f14435 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/build/+/2334865 Commit-Queue: Sven Zheng <svenzheng@chromium.org> Reviewed-by: Ben Pastene <bpastene@chromium.org>
If you're here to make a change to ‘recipes’ (the code located in scripts/slave/recipes*
), please take a look at the README for more information pertaining to recipes.
The preferred style is PEP8 with two-space indent; that is, the Chromium Python style. Functions use lowercase_with_underscores
, with the exception of the special functions RunSteps
and RunTests
in recipes. Use yapf (git cl format
) to autoformat new code.