commit | d8408753a7aaf81586113e8e45ebe7248633cbb4 | [log] [tgz] |
---|---|---|
author | Jae Hoon Kim <kimjae@chromium.org> | Tue Mar 23 01:31:06 2021 |
committer | LUCI CQ <infra-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Mar 23 01:31:06 2021 |
tree | 58588c70e05712e8aae085e3572706bea0e22251 | |
parent | d2983c473b64af3ec62a2199d5192e19861ba2cd [diff] |
tls: Provision Lacros squashfs This implements the Lacros provisioning from TLS and setup work required before mounting the Lacros squashfs onto a mount point. Test ran: - Start TLW + TLS - Run ProvisionLacros with gs:// path: - gs://chrome-unsigned/desktop-5c0tCh/91.0.4435.3/lacros64 - Check the generated components structure: $> tree /var/lib/imageloader . `-- lacros |-- 91.0.4435.3 | |-- hashtree | |-- image.squash | |-- imageloader.json | |-- lacros.squash | `-- table `-- latest-version - Mount the lacros image onto a temp mount point $> imageloader --mount --mount_component=lacros \ --mount_point=/tmp/lacros - Check successful mount + mount point BUG=b:177259613 TEST=# comment above Change-Id: I4e4472de4405843c34017653347ef8d51f0fd89e Reviewed-on: https://chromium-review.googlesource.com/c/infra/infra/+/2737386 Commit-Queue: Jae Hoon Kim <kimjae@chromium.org> Auto-Submit: Jae Hoon Kim <kimjae@chromium.org> Reviewed-by: Amin Hassani <ahassani@chromium.org> Reviewed-by: Allen Li <ayatane@chromium.org> Cr-Commit-Position: refs/heads/master@{#39621}
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.