mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-10-21 03:48:45 +00:00
tests: Build Mariner rootfs initrd
* Adds a new `rootfs-initrd-mariner` build target. * Sets the custom initrd path via annotation in `setup.sh` at test time. * Adapts versions.yaml to specify a `cbl-mariner` initrd variant. * Introduces env variable `HOST_OS` at deploy time to enable using a custom initrd. * Refactors the image builder so that its caller specifies the desired guest OS. Signed-off-by: Aurélien Bombo <abombo@microsoft.com>
This commit is contained in:
@@ -122,17 +122,20 @@ assets:
|
||||
url: "https://github.com/kata-containers/kata-containers/tools/osbuilder"
|
||||
architecture:
|
||||
aarch64:
|
||||
name: "ubuntu"
|
||||
version: "latest"
|
||||
ppc64le:
|
||||
name: "ubuntu"
|
||||
version: "latest"
|
||||
s390x:
|
||||
name: "ubuntu"
|
||||
version: "latest"
|
||||
x86_64:
|
||||
name: &default-image-name "ubuntu"
|
||||
version: "latest"
|
||||
version: &default-image-version "latest"
|
||||
ppc64le:
|
||||
name: *default-image-name
|
||||
version: *default-image-version
|
||||
s390x:
|
||||
name: *default-image-name
|
||||
version: *default-image-version
|
||||
x86_64:
|
||||
name: *default-image-name
|
||||
version: *default-image-version
|
||||
tdx:
|
||||
name: *default-image-name
|
||||
version: *default-image-version
|
||||
meta:
|
||||
image-type: *default-image-name
|
||||
|
||||
@@ -156,6 +159,9 @@ assets:
|
||||
x86_64:
|
||||
name: *default-initrd-name
|
||||
version: *default-initrd-version
|
||||
cbl-mariner:
|
||||
name: "cbl-mariner"
|
||||
version: "2.0"
|
||||
sev:
|
||||
name: *glibc-initrd-name
|
||||
version: *glibc-initrd-version
|
||||
|
Reference in New Issue
Block a user