ci: Update reference kernel to 'v6.12.8-20250613'
This bump also includes another release 'ch-release-v6.12.8-20250422' that changed the naming convention of the released kernel binaries [1]. As a result, few changes are made to our integration tests and test scripts. [1] https://github.com/cloud-hypervisor/linux/releases/tag/ch-release-v6.12.8-20250422 Signed-off-by: Bo Chen <bchen@crusoe.ai>
This commit is contained in:
parent
80f4bfac00
commit
2b05753716
6 changed files with 15 additions and 13 deletions
|
|
@ -137,7 +137,7 @@ update_workloads() {
|
|||
mkdir -p "$FOCAL_OS_RAW_IMAGE_UPDATE_KERNEL_ROOT_DIR"
|
||||
# Mount the 'raw' image, replace the compressed kernel file and umount the working folder
|
||||
guestmount -a "$WORKLOADS_DIR/$FOCAL_OS_RAW_IMAGE_UPDATE_KERNEL_NAME" -m /dev/sda1 "$FOCAL_OS_RAW_IMAGE_UPDATE_KERNEL_ROOT_DIR" || exit 1
|
||||
cp "$WORKLOADS_DIR"/Image.gz "$FOCAL_OS_RAW_IMAGE_UPDATE_KERNEL_ROOT_DIR"/boot/vmlinuz
|
||||
cp "$WORKLOADS_DIR"/Image-arm64.gz "$FOCAL_OS_RAW_IMAGE_UPDATE_KERNEL_ROOT_DIR"/boot/vmlinuz
|
||||
guestunmount "$FOCAL_OS_RAW_IMAGE_UPDATE_KERNEL_ROOT_DIR"
|
||||
|
||||
# Build virtiofsd
|
||||
|
|
|
|||
|
|
@ -54,7 +54,7 @@ chmod +x $CH_RELEASE_NAME
|
|||
popd || exit
|
||||
|
||||
# Build custom kernel based on virtio-pmem and virtio-fs upstream patches
|
||||
VMLINUX_IMAGE="$WORKLOADS_DIR/vmlinux"
|
||||
VMLINUX_IMAGE="$WORKLOADS_DIR/vmlinux-x86_64"
|
||||
if [ ! -f "$VMLINUX_IMAGE" ]; then
|
||||
# Prepare linux image (build from source or download pre-built)
|
||||
prepare_linux
|
||||
|
|
|
|||
|
|
@ -100,7 +100,7 @@ fi
|
|||
popd || exit
|
||||
|
||||
# Build custom kernel based on virtio-pmem and virtio-fs upstream patches
|
||||
VMLINUX_IMAGE="$WORKLOADS_DIR/vmlinux"
|
||||
VMLINUX_IMAGE="$WORKLOADS_DIR/vmlinux-x86_64"
|
||||
if [ ! -f "$VMLINUX_IMAGE" ]; then
|
||||
# Prepare linux image (build from source or download pre-built)
|
||||
prepare_linux
|
||||
|
|
|
|||
|
|
@ -1,4 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
set -x
|
||||
|
||||
hypervisor="kvm"
|
||||
test_filter=""
|
||||
build_kernel=false
|
||||
|
|
@ -56,11 +58,11 @@ build_custom_linux() {
|
|||
make ch_defconfig
|
||||
make -j "$(nproc)"
|
||||
if [ "${ARCH}" == "x86_64" ]; then
|
||||
cp vmlinux "$WORKLOADS_DIR/" || exit 1
|
||||
cp arch/x86/boot/bzImage "$WORKLOADS_DIR/" || exit 1
|
||||
cp vmlinux "$WORKLOADS_DIR/vmlinux-x86_64" || exit 1
|
||||
cp arch/x86/boot/bzImage "$WORKLOADS_DIR/bzImage-x86_64" || exit 1
|
||||
elif [ "${ARCH}" == "aarch64" ]; then
|
||||
cp arch/arm64/boot/Image "$WORKLOADS_DIR/" || exit 1
|
||||
cp arch/arm64/boot/Image.gz "$WORKLOADS_DIR/" || exit 1
|
||||
cp arch/arm64/boot/Image "$WORKLOADS_DIR/Image-arm64" || exit 1
|
||||
cp arch/arm64/boot/Image.gz "$WORKLOADS_DIR/Image-arm64.gz" || exit 1
|
||||
fi
|
||||
popd || exit
|
||||
}
|
||||
|
|
@ -138,7 +140,7 @@ download_hypervisor_fw() {
|
|||
}
|
||||
|
||||
download_linux() {
|
||||
KERNEL_TAG="ch-release-v6.12.8-20250114"
|
||||
KERNEL_TAG="ch-release-v6.12.8-20250613"
|
||||
if [ -n "$AUTH_DOWNLOAD_TOKEN" ]; then
|
||||
echo "Using authenticated download from GitHub"
|
||||
KERNEL_URLS=$(curl --silent https://api.github.com/repos/cloud-hypervisor/linux/releases/tags/${KERNEL_TAG} \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue