scripts: Pin OVMF EDK2 version

By pinning the OVMF version, we will be able to update the EDK2 fork
with a new version without potentially breaking our Cloud Hypervisor CI.

Once the new version is ready on the EDK2 fork, we'll be able to update
Cloud Hypervisor codebase, replacing the fixed version with the latest,
as well as replacing OVMF.fd with CLOUDHV.fd. This is because we'll
start building from the new target CloudHvX64.

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
This commit is contained in:
Sebastien Boeuf 2022-01-17 17:31:04 +01:00
parent a61302f73f
commit 482e1ca435
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ fi
WIN_IMAGE_FILE="/root/workloads/windows-server-2019.raw"
WORKLOADS_DIR="/root/workloads"
OVMF_FW_URL=$(curl --silent https://api.github.com/repos/cloud-hypervisor/edk2/releases/latest | grep "browser_download_url" | grep -o 'https://.*[^ "]')
OVMF_FW_URL="https://github.com/cloud-hypervisor/edk2/releases/download/ch-e6d6251eb6/OVMF.fd"
OVMF_FW="$WORKLOADS_DIR/OVMF.fd"
if [ ! -f "$OVMF_FW" ]; then
pushd $WORKLOADS_DIR

View File

@ -28,7 +28,7 @@ if [ ! -f "$FW" ]; then
popd
fi
OVMF_FW_URL=$(curl --silent https://api.github.com/repos/cloud-hypervisor/edk2/releases/latest | grep "browser_download_url" | grep -o 'https://.*[^ "]')
OVMF_FW_URL="https://github.com/cloud-hypervisor/edk2/releases/download/ch-e6d6251eb6/OVMF.fd"
OVMF_FW="$WORKLOADS_DIR/OVMF.fd"
if [ ! -f "$OVMF_FW" ]; then
pushd $WORKLOADS_DIR