commit | 06a1aa821f3eff82773a70409979d94284743330 | [log] [tgz] |
---|---|---|
author | Congbin Guo <guocb@google.com> | Mon Jul 15 17:59:08 2019 -0700 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jul 24 02:41:44 2019 +0000 |
tree | 0bf653a677b10ef4ed705a7488b9d51983a7da3e | |
parent | 61a8a27e3f7aa72421f73f7ef19e7f494fe9a0f8 [diff] |
quick_provision: accepting a list of file servers This CL enable quick_provision script to accept a series of file servers to downloading images, e.g. quick_provision board-release/R12-34567.0.0 \ http://server1:8082/static http://server2:8082/static http://server3:8888/download/chromeos-image-archive This can increase the reliability of quick_provision that in case one server failed, we can fail over to the next one. NOTE: If use devservers, it still required to stage 'stateful' and 'quick_provision' artifacts in previous. But if we use gs_cache servers, the staging is not needed anymore. BUG=chromium:982093,chromium:824580 TEST=Copied the script to a DUT and ran below two command lines: 1) backward compatibility test localhost ~ $ bash -x /tmp/quick-provision octopus-release/R76-12109.0.0 \ http://chromeos6-devserver4:8888/download/chromeos-image-archive 2) failing over test localhost ~ $ bash -x /tmp/quick-provision octopus-release/R76-12109.0.0 \ http://chromeos2-devserver3:8082/static http://chromeos6-devserver4:8082/static http://chromeos6-devserver4:8888/download/chromeos-image-archive Change-Id: I0867975898074b54f8fb3ca71ca932540f100738 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/dev-util/+/1703167 Tested-by: Congbin Guo <guocb@chromium.org> Reviewed-by: David Riley <davidriley@chromium.org> Commit-Queue: Congbin Guo <guocb@chromium.org> Auto-Submit: Congbin Guo <guocb@chromium.org>