commit | 7a69095bf219cde19c609fe8a62bdcb054e504a5 | [log] [tgz] |
---|---|---|
author | Bryan Ni <bniche@google.com> | Thu Jun 13 22:47:53 2024 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jun 13 22:47:53 2024 |
tree | 63a9faacee4fdd35c310c25e187ab34ce51874d2 | |
parent | bd9e7cacaabc020cdf0369f0edcaca0708ca6c9f [diff] |
[cloudbots] [provision] Add connection check when reboot through cloudbots BUG=b:345306272 TEST=mallet local-repair on cloudbots vm Change-Id: Ib393c4f38c1d315dcc6414b0e62d4af4f595834c Reviewed-on: https://chromium-review.googlesource.com/c/infra/infra/+/5617030 Auto-Submit: Bryan Ni <bniche@google.com> Reviewed-by: Jae Hoon Kim <kimjae@chromium.org> Commit-Queue: Bryan Ni <bniche@google.com> Cr-Commit-Position: refs/heads/main@{#66206}
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.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.