commit | e49ffc420f166a090f0f2a16dd3fe750c3a72a3d | [log] [tgz] |
---|---|---|
author | Scott Lee <ddoman@chromium.org> | Wed Aug 12 16:36:57 2020 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Aug 12 16:36:57 2020 |
tree | 3fe2385f893a1ed67ff6a3b5932cab8442df7b68 | |
parent | ea40334f4f03f793d6f43debe97da3ede55d52fa [diff] |
[resultdb] Add param to enable ResultDB integration in Swarming tests In order to enable ResultDB integration in a Swarming Task, the Swarming Task request must be set with with_resultdb(). This CL adds a param to chromium_swarm.task() to enable/disable ResultDB integration in a given task, and update the test classes to propagate the param value from build properities. To enable ResultDB integration in a given test task, the test needs to have a dict of {'enable': True} in properties with 'resultdb'. Change-Id: I125098650140b24de641d174471fa5fed487ebf3 Bug: 1017288 R=dpranke@google.com,nodir@chromium.org CC=chanli@chromium.org,iannucci@chromium.org Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/build/+/2309180 Commit-Queue: Scott Lee <ddoman@chromium.org> Reviewed-by: Dirk Pranke <dpranke@google.com>
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.