commit | 7425eff1d33cbbdc51fe26a6c895e2d50a19273c | [log] [tgz] |
---|---|---|
author | Anushruth <anushruth@chromium.org> | Thu Dec 17 02:38:34 2020 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Dec 17 02:38:34 2020 |
tree | 15ee19ee071f746f6c6e6aeee4ff51934c967759 | |
parent | f055fe4ca165c9ca993672375613c52900f8f3f3 [diff] |
[Shivas] Add support for skipping deploy actions and fixes Bug: 1140570 Adds support to skip a few deploy actions. Also adds the following fixes 1. Removed the deploy flag and replaces the ufs flag with ignore-ufs. 2. Added Validation for servo serial. 3. Added support for servo setup. 4. Added rpm validation support. 5. Added support for deployment ticket. 6. Added support for tags. 7. Added support for description. 8. Added support for state. 9. Fixed swarming pools and critical pools issue. 10. Support for deploy tasks using only hostname. Change-Id: Ic0510a9fb2d362775ee617fcccd8f5cca595b8ba Reviewed-on: https://chromium-review.googlesource.com/c/infra/infra/+/2571085 Reviewed-by: Xixuan Wu <xixuan@chromium.org> Reviewed-by: Otabek Kasimov <otabek@google.com> Reviewed-by: Eshwar Narayan <eshwarn@chromium.org> Commit-Queue: Anushruth <anushruth@chromium.org> Cr-Commit-Position: refs/heads/master@{#37148}
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.