mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-12-22 13:45:20 +00:00
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:
parent
fa0f1c8ab8
commit
52ce042125
@ -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
|
||||
|
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user