commit | 4517eb25f38fa4a1d887673604ff852c67c15ec1 | [log] [tgz] |
---|---|---|
author | Sven Zheng <svenzheng@chromium.org> | Thu Oct 15 21:43:35 2020 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Oct 15 21:43:35 2020 |
tree | 27e6ad0215e227a1cab69876ef21f3faa2f5ebc9 | |
parent | cdf4f745d234fb6ed5aded4f5474df18f33c57ca [diff] |
Archive api support {%chrome_version%} In order to support gcs_path:'gcs/87.0.1.0/path', we need archive api to know how to replace placeholders. This cl makes the archive api knows how to substitute general placeholders. E.g. If custom_vars = {'chrome_version':'87.0.1.0'}, then the API knows how to substitute {%chrome_version%} in gcs_path. Ran the following scripts but nothing need to update: chrome_release/recipes/recipes.py -O build=/path/to/local/build test train build_limited_scripts_slave/recipes.py -O build=/path/to/local/build test train Recipe-Manual-Change: chrome_release, build_limited_scripts_slave Bug: 1133499 Change-Id: Ifbb4acf3c1ef1a9d38fc596af86645227bad4d6e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/build/+/2465070 Commit-Queue: Sven Zheng <svenzheng@chromium.org> Reviewed-by: Michael Moss <mmoss@chromium.org> Reviewed-by: Erik Chen <erikchen@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 --no-clang-format
) to autoformat new code.