tests: Bump the Clear Linux version

Switch the Clear Linux version to a newer release and cache that in an
azure bucket in the same region to improve the CI speed.

Signed-off-by: Rob Bradford <robert.bradford@intel.com>
This commit is contained in:
Rob Bradford 2019-06-10 14:59:04 +01:00
parent fa0f1c8ab8
commit 52ce042125
2 changed files with 4 additions and 4 deletions

View File

@ -14,14 +14,14 @@ if [ ! -f "$FW" ]; then
popd
fi
OS_IMAGE_NAME="clear-29620-cloud.img"
OS_IMAGE_URL="https://download.clearlinux.org/releases/29620/clear/clear-29620-cloud.img.xz"
OS_IMAGE_NAME="clear-29810-cloud.img"
OS_IMAGE_URL="https://cloudhypervisorstorage.blob.core.windows.net/images/$OS_IMAGE_NAME.xz"
OS_IMAGE="$WORKLOADS_DIR/$OS_IMAGE_NAME"
if [ ! -f "$OS_IMAGE" ]; then
pushd $WORKLOADS_DIR
wget --quiet $OS_IMAGE_URL
unxz $OS_IMAGE_NAME.xz
popd
popd
fi
rm /tmp/cloudinit.img

View File

@ -183,7 +183,7 @@ mod tests {
fw_path.push("hypervisor-fw");
let mut osdisk_base_path = workload_path.clone();
osdisk_base_path.push("clear-29620-cloud.img");
osdisk_base_path.push("clear-29810-cloud.img");
let osdisk_path = "/tmp/osdisk.img";
let cloudinit_path = "/tmp/cloudinit.img";