commit | 802bc07a0b4a18c3d604a36f389ca708a43b5bad | [log] [tgz] |
---|---|---|
author | Robert Iannucci <iannucci@chromium.org> | Tue Dec 08 18:31:36 2020 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Dec 08 18:31:36 2020 |
tree | 460d1f3d44ef116d71ff2d9b87b180efe6310849 | |
parent | 59225100189b0449213a10d421085ebb3f1c29cb [diff] |
[engine] Rewrite incoming properties to int-ify numbers which may have been intended as ints. This should have the effect where whole numbers coming in whose magnitude is smaller than 2**53 will be cast to int. Note that users who rely on int values greater than 2**53 are already broken, as these are not preserved by Buildbucket (those users must already use stringified ints or some other encoding). R=tandrii, yiwzhang Bug: 1150511 Recipe-Nontrivial-Roll: build Recipe-Nontrivial-Roll: chromiumos Recipe-Nontrivial-Roll: chrome_release Recipe-Nontrivial-Roll: fuchsia Change-Id: I2db0c4575afc2cccff7de8c60fcbb8e1013eba39 Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/recipes-py/+/2578183 Commit-Queue: Robbie Iannucci <iannucci@chromium.org> Reviewed-by: Yiwei Zhang <yiwzhang@google.com> Reviewed-by: Andrii Shyshkalov <tandrii@google.com>
Recipes are a domain-specific language (embedded in Python) for specifying sequences of subprocess calls in a cross-platform and testable way.
They allow writing build flows which integrate with the rest of LUCI.
Documentation for the recipe engine (including this file!). Take a look at the user guide for some hints on how to get started. See the implementation details doc for more detailed implementation information about the recipe engine.
user.email
and user.name
are configured in git config
.Run the following to setup the code review tool and create your first review:
# Get `depot_tools` in $PATH if you don't have it git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git $HOME/src/depot_tools export PATH="$PATH:$HOME/src/depot_tools" # Check out the recipe engine repo git clone https://chromium.googlesource.com/infra/luci/recipes-py $HOME/src/recipes-py # make your change cd $HOME/src/recipes-py git new-branch cool_feature # hack hack git commit -a -m "This is awesome" # This will ask for your Google Account credentials. git cl upload -s -r joe@example.com # Wait for approval over email. # Click "Submit to CQ" button or ask reviewer to do it for you. # Wait for the change to be tested and landed automatically.
Use git cl help
and git cl help <cmd>
for more details.