commit | d0f2f6abcc56e1dde5a50f97caab15b0a2f35e82 | [log] [tgz] |
---|---|---|
author | Robert Iannucci <iannucci@chromium.org> | Sat Apr 03 00:50:10 2021 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sat Apr 03 00:50:10 2021 |
tree | f28015e67e6b4453ae2eef72bdbf5dee3dc9da8c | |
parent | 9bc02d75b3cf1b4e4b80bf46e2baa2a29b4351ce [diff] |
[buildbucket-py] Always set well-known experiments. Also, set the configuration hashes deterministically. Hopefully they weren't actually being used for something needing deterministic keys, like cache invalidation... Probably we'll need to redesign the config ingestion a bit at some point. R=smut Bug: 1093970,1134774 Change-Id: I039ac6ad43b7312db7b300bf2d308942389aaaec Reviewed-on: https://chromium-review.googlesource.com/c/infra/infra/+/2799819 Commit-Queue: Robbie Iannucci <iannucci@chromium.org> Auto-Submit: Robbie Iannucci <iannucci@chromium.org> Reviewed-by: smut <smut@google.com> Reviewed-by: Yuanjun Huang <yuanjunh@google.com> Cr-Commit-Position: refs/heads/master@{#39882}
Testing Welcome to the Chrome Infra repository!
Wondering where to start? Check out General Chrome Infrastructure documentation. In particular, to check out this repo and the rest of the infrastructure code, follow the instructions here. The rest of this page is specific to this repo.
sys.path
modifications.from infra.path_hacks.common import <stg>
is actually getting <stg>
from build/scripts/common.git push origin <updated hash>:deployed
git push
commandIf you've added a new module, run your tests with test.py:
*_test.py
files to this directory.Double-check that your tests are getting picked up when you want them to be: ./test.py test <path-to-package>
.
Tests still not getting picked up by test.py? Double-check to make sure you have __init__.py
files in each directory of your module so Python recognizes it as a package.
The preferred style is PEP8 with two-space indent; that is, the Chromium Python style, except functions use lowercase_with_underscores
. Use yapf (git cl format
) to autoformat new code.