| commit | 8b376ae88f2d8dd2376cccdfa9b00073a31bec42 | [log] [tgz] |
|---|---|---|
| author | Anushruth <anushruth@google.com> | Thu Dec 11 17:37:23 2025 |
| committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Dec 11 17:37:23 2025 |
| tree | d02c9ade98f4f6c8f0e267ea69f5eb14aebdc937 | |
| parent | 578f8bf546e10c1d9095eea82c26b4eed21e4873 [diff] |
[shivas] Create a local build that only targets local instances This used to be the case. But seems to have been removed at somepoint. This patch adds back a local build that will build shivas that will only hit local endpoints irrespective of what command line options is used. This is needed as it makes things really easy when debugging locally. The existing solution of setting the namespace correctly adds an extra step to set your env correctly every time you start a new session. Which is not hard to forget. Change-Id: I5d03c4482524b54ef88dc07b2f5ac3e48c07297b Reviewed-on: https://chromium-review.googlesource.com/c/infra/infra/+/7248660 Reviewed-by: Gowri Denduluri <gowriden@google.com> Commit-Queue: Anushruth Sasivehalli <anushruth@chromium.org> Cr-Commit-Position: refs/heads/main@{#77999}
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>:deployedgit 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.