commit | 56a82bde522e883f826c66fdd51cab08271045b9 | [log] [tgz] |
---|---|---|
author | Jared Bennett <jaredbennett@google.com> | Wed Apr 24 21:15:26 2024 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Apr 24 21:15:26 2024 |
tree | d80b101dbdee3e3d8b118a92efa29a65306da74d | |
parent | 917d98adbd8349161ffb9e6e0780e12afed145e6 [diff] |
recovery: Download gz/xz image through cache server Updates the image download step of the btpeer provision execs to use the connectivity artifacts GCS bucket as the source location for images, with downloads going through the cache server. Also updates related timeouts to give ample time for download, decompression, and flashing. BUG=b:331245029 TEST=cd ~/cr/infra/go/src/infra/cros/recovery && make build TEST=successfully downloaded and flashed btpeer gz-based image in local mallet run of btpeer provision plan Change-Id: I309f3a1a42196a6f8409c93157e31dbc1aaaa6ea Reviewed-on: https://chromium-review.googlesource.com/c/infra/infra/+/5472585 Reviewed-by: Otabek Kasimov <otabek@google.com> Reviewed-by: Jason Stanko <jstanko@google.com> Commit-Queue: Jared Bennett <jaredbennett@google.com> Cr-Commit-Position: refs/heads/main@{#64775}
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.