commit | 09b0778eeacbaa794e8c8cd308ec3d12ab143dd4 | [log] [tgz] |
---|---|---|
author | Junji Watanabe <jwata@google.com> | Fri Apr 23 17:03:02 2021 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Apr 23 17:03:02 2021 |
tree | 456b44d77a0954734b4f4d4fa703476990187390 | |
parent | 06669d6eb687e5129e43e8027a7666025ad5c246 [diff] |
migrate all CrOS docker bots to use Python3 The bot build32-a1--build10-a1 has been running in Python3. https://chromium-swarm.appspot.com/bot?id=build32-a1--build10-a1 This CL migrates all CrOS docker bots to use Python3 to run Swarming process. https://chromium-swarm.appspot.com/botlist?c=id&c=task&c=bot_config&c=os&c=status&d=asc&f=os%3AChromeOS&f=inside_docker%3A1&k=inside_docker&s=id Bug: 1111688 Change-Id: I71b68ecaee269133e2582128d4381d109b03453c Reviewed-on: https://chromium-review.googlesource.com/c/infra/infra/+/2847902 Auto-Submit: Junji Watanabe <jwata@google.com> Reviewed-by: Takuto Ikuta <tikuta@chromium.org> Reviewed-by: Ben Pastene <bpastene@chromium.org> Commit-Queue: Ben Pastene <bpastene@chromium.org> Cr-Commit-Position: refs/heads/master@{#40361}
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.