Create instances with fetch_cvd.
This is a drop-in replacement for the original cvd_compute_client.py.
Using the multi-stage launch can be controlled both by the config and
flags. Flags take precedence over the config file.
Sample execution:
$ out/host/linux-x86/bin/acloud-dev create --multi-stage-launch
Creating remote AVD instance with the following details:
Image:
aosp-master - aosp_cf_x86_phone-userdebug [5756894]
hw config:
cpu - 2
ram - 4GB
display - 720x1280 (320 DPI)
Creating GCE instance ...OK! (43s)
Waiting for SSH server ...OK! (19s)
Uploading build fetcher to instance ...OK! (2s)
Downloading build on instance ...OK! (68s)
Waiting for AVD(s) to boot up ...OK! (84s)
Total time: (223s)
--
After this, the device appeared on VNC and adb.
It uses a new config variable to control the version of fetch_cvd.
I've also validated that --local-image still works.
Test: acloud_dev create
Bug: 137650998
Change-Id: I1651f437f98ec391ee3f8edf8bf65d46d03ea1e8
12 files changed