You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
7 months ago | |
---|---|---|
.. | ||
README.md | 7 months ago | |
control | 7 months ago | |
provision_CheetsUpdate.py | 7 months ago |
README.md
provision_CheetsUpdate
Running the autotest locally
In order to test your changes, run the autotest locally with:
(chroot) $ test_that IP provision_CheetsUpdate --args='value=git_nyc-mr1-arc/cheets_arm-user/4885137' -b kevin
Running push_to_device manually
Go to Android Build Status Dashboard, select the target build, download push_to_device.zip and the prebuilt image (e.g. cheets_arm-img-4885137.zip) from the Artifacts tab.
$ unzip push_to_device.zip -d ./ptd
$ python3 ./ptd/push_to_device.py --use-prebuilt-file ./cheets_arm-img-4885137.zip \
--simg2img /usr/bin/simg2img --mksquashfs-path ./ptd/bin/mksquashfs \
--unsquashfs-path ./ptd/bin/unsquashfs --shift-uid-py-path ./ptd/shift_uid.py IP --loglevel DEBUG
Warning: If the command fails, check run_push_to_device method in provision_CheetsUpdate.py for required params.
Updating the autotest
After you submit your changes, Chrome OS lab deputy will push it to prod. Send a heads up to Chrome OS lab deputy that this change is there.
Make sure that it is possible to pass presubmit after the change is pushed to prod.