mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-18 07:18:27 +00:00
cache_components: Adding caching capability for SEV ovmf
These changed will be consumed by SEV firmware caching job in the CI. This will help in reducing the CI runtime. Fixes: #6119 Signed-off-by: Unmesh Deodhar <udeodhar@amd.com>
This commit is contained in:
@@ -59,8 +59,13 @@ cache_firmware_artifacts() {
|
||||
current_firmware_image="$(get_ovmf_image_name)"
|
||||
current_firmware_version="$(get_from_kata_deps "externals.ovmf.tdx.version")"
|
||||
;;
|
||||
"ovmf")
|
||||
firmware_tarball_name="kata-static-cc-sev-ovmf.tar.xz"
|
||||
current_firmware_image="$(get_ovmf_image_name)"
|
||||
current_firmware_version="$(get_from_kata_deps "externals.ovmf.sev.version")"
|
||||
;;
|
||||
*)
|
||||
die "Not a valid firmware (td-shim, tdvf) wass set as the FIRMWARE environment variable."
|
||||
die "Not a valid firmware (td-shim, tdvf, ovmf) wass set as the FIRMWARE environment variable."
|
||||
|
||||
;;
|
||||
esac
|
||||
@@ -163,6 +168,7 @@ Usage: $0 "[options]"
|
||||
* Requires FIRMWARE environment variable set, valid values are:
|
||||
* tdvf
|
||||
* td-shim
|
||||
* ovmf
|
||||
-s Shim v2 cache
|
||||
-v Virtiofsd cache
|
||||
-r Rootfs Cache
|
||||
|
Reference in New Issue
Block a user