diff --git a/.ci/aarch64/configuration_aarch64.yaml b/.ci/aarch64/configuration_aarch64.yaml index 8474a67fc..fd8c3191a 100644 --- a/.ci/aarch64/configuration_aarch64.yaml +++ b/.ci/aarch64/configuration_aarch64.yaml @@ -14,7 +14,6 @@ test: kubernetes: - k8s-cpu-ns - k8s-limit-range - - k8s-number-cpus - k8s-expose-ip - k8s-oom - k8s-block-volume diff --git a/.ci/install_kata_kernel.sh b/.ci/install_kata_kernel.sh index ebeb5db85..a5db17c1f 100755 --- a/.ci/install_kata_kernel.sh +++ b/.ci/install_kata_kernel.sh @@ -77,6 +77,9 @@ main() { experimental) build_and_install_kernel "kernel-experimental" ;; + arm-experimental) + build_and_install_kernel "kernel-arm-experimental" + ;; vanilla) build_and_install_kernel "kernel" ;; diff --git a/.ci/install_qemu.sh b/.ci/install_qemu.sh index d2df296fd..cb800525f 100755 --- a/.ci/install_qemu.sh +++ b/.ci/install_qemu.sh @@ -90,13 +90,16 @@ main() { vanilla) qemu_type="qemu" ;; + arm-experimental) + qemu_type="qemu-arm-experimental" + ;; *) die_unsupported_qemu_type "$qemu_type" ;; esac case ${QEMU_ARCH} in - "aarch64"|"ppc64le") + "ppc64le") # We're still no there for using the kata-deploy # scripts with ppc64le and aarch64. CURRENT_QEMU_VERSION=$(get_version "assets.hypervisor.qemu.version") @@ -110,8 +113,10 @@ main() { build_and_install_qemu ;; - "x86_64"|"s390x") + "aarch64"|"x86_64"|"s390x") build_static_artifact_and_install "${qemu_type}" + sudo rm -f /opt/kata/bin/qemu-system-aarch64 + sudo ln -s /opt/kata/bin/qemu-system-aarch64-arm-experimental /opt/kata/bin/qemu-system-aarch64 ;; *) die "Architecture ${QEMU_ARCH} not supported" diff --git a/.ci/lib.sh b/.ci/lib.sh index 7156a3a26..c783bc0c2 100755 --- a/.ci/lib.sh +++ b/.ci/lib.sh @@ -173,8 +173,9 @@ function build_static_artifact_and_install() { clone_katacontainers_repo - pushd "$katacontainers_repo_dir" >/dev/null + pushd "$katacontainers_repo_dir/tools/packaging/kata-deploy/local-build" >/dev/null sudo -E PATH=$PATH make "$make_target" + pwd sudo tar -xvJpf "build/${tarball}" -C "${destdir}" sudo rm -rf "build/" popd >/dev/null