Merge pull request #6141 from fidencio/topic/upcall-follow-up

Add kernel-dragonball-experimental to kata-deploy, kata-deploy-test, and the release
This commit is contained in:
Bin Liu
2023-01-30 19:48:18 +08:00
committed by GitHub
5 changed files with 17 additions and 0 deletions

View File

@@ -18,6 +18,7 @@ jobs:
matrix:
asset:
- kernel
- kernel-dragonball-experimental
- shim-v2
- qemu
- cloud-hypervisor

View File

@@ -50,6 +50,7 @@ jobs:
- cloud-hypervisor
- firecracker
- kernel
- kernel-dragonball-experimental
- nydus
- qemu
- rootfs-image

View File

@@ -13,6 +13,7 @@ jobs:
- cloud-hypervisor
- firecracker
- kernel
- kernel-dragonball-experimental
- nydus
- qemu
- rootfs-image

View File

@@ -24,6 +24,7 @@ all-parallel: $(MK_DIR)/dockerbuild/install_yq.sh
all: serial-targets \
firecracker-tarball \
kernel-tarball \
kernel-dragonball-experimental-tarball \
nydus-tarball \
qemu-tarball \
shim-v2-tarball \
@@ -47,6 +48,9 @@ firecracker-tarball:
kernel-tarball:
${MAKE} $@-build
kernel-dragonball-experimental-tarball:
${MAKE} $@-build
kernel-experimental-tarball:
${MAKE} $@-build

View File

@@ -73,6 +73,7 @@ options:
cloud-hypervisor
firecracker
kernel
kernel-dragonball-experimental
kernel-experimental
nydus
qemu
@@ -103,6 +104,13 @@ install_kernel() {
DESTDIR="${destdir}" PREFIX="${prefix}" "${kernel_builder}" -f -v "${kernel_version}"
}
#Install dragonball experimental kernel asset
install_dragonball_experimental_kernel() {
info "build dragonball experimental kernel"
export kernel_version="$(yq r $versions_yaml assets.dragonball-kernel-experimental.version)"
info "kernel version ${kernel_version}"
DESTDIR="${destdir}" PREFIX="${prefix}" "${kernel_builder}" -e -t dragonball -v ${kernel_version}
}
#Install experimental kernel asset
install_experimental_kernel() {
@@ -204,6 +212,8 @@ handle_build() {
nydus) install_nydus ;;
kernel-dragonball-experimental) install_dragonball_experimental_kernel;;
kernel-experimental) install_experimental_kernel;;
qemu) install_qemu ;;