commit | b83f66a66f9e576be5871f8d3e0107a6e64c193a | [log] [tgz] |
---|---|---|
author | Akash Mukherjee <akashmukherjee@google.com> | Wed Dec 09 22:53:07 2020 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Dec 09 22:53:07 2020 |
tree | 0db4a03271cdcd0c92bdb3e380bd0f6cdbb9d2a5 | |
parent | 4c77edb2fa400fb1c4f1f52a951f7a9a9caad135 [diff] |
[provenance] Publish provenance package to cipd. Although provenance binaries will be embedded into bot OS images, pushing it to CIPD is still a good idea to aid developers into using and testing with this tool to attach and verify (in future) provenance metadata to built artifacts. This will provide developers a CLI to play with attestation and understand what is required to on-board with BCID Verified Builds for Software initiative. R=jclinton@google.com Bug: 1093088 Change-Id: I44fd27198c4344b5024c6d6065af2fed5c23710c Reviewed-on: https://chromium-review.googlesource.com/c/infra/infra/+/2582490 Auto-Submit: Akash Mukherjee <akashmukherjee@google.com> Reviewed-by: Jason Clinton <jclinton@chromium.org> Reviewed-by: Vadim Shtayura <vadimsh@chromium.org> Commit-Queue: Vadim Shtayura <vadimsh@chromium.org> Cr-Commit-Position: refs/heads/master@{#36999}
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.