[autotest] beaglebone: devserver staging script
Script to stage servo image in all devservers.
This script should be executed in a server running autotest scheduler. It is
used to accomplish following tasks:
1. Get the latest staged build in devserver as the build that's currently used
by servo.
2. Stage the latest or a specific beaglebone-release build from Google Storage
in all devservers.
BUG=chromium:272351
TEST=in local setup of autotest and devserver. Confirm:
1. File chromiumos_base_image.bin and image.zip are staged in all devservers.
e.g., in folder images/beaglebone-release/R33-5045.0.0/
2. Test with trybot build trybot-beaglebone-release/R33-5060.0.0-b17
confirm update.gz is staged.
For a full coverage test, try following cases:
1. run site_utils/stage_servo_image.py, which stages the latest build
2. run |site_utils/stage_servo_image.py -i [some old build]|, confirm error
message about newer build found on devservers is shown.
CQ-DEPEND=CL:178850
Change-Id: I4eba5d5da1f985a14a5ff9a553430c073ffa4c46
Reviewed-on: https://chromium-review.googlesource.com/178534
Tested-by: Dan Shi <dshi@chromium.org>
Reviewed-by: Chris Sosa <sosa@chromium.org>
Reviewed-by: Prashanth B <beeps@chromium.org>
Commit-Queue: Dan Shi <dshi@chromium.org>
2 files changed