Skip to content
This repository has been archived by the owner on Jun 28, 2024. It is now read-only.

Commit

Permalink
correct tarball build directory
Browse files Browse the repository at this point in the history
  • Loading branch information
jongwu committed Nov 15, 2023
1 parent b1c8cdd commit c8de205
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
1 change: 0 additions & 1 deletion .ci/aarch64/configuration_aarch64.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ test:
kubernetes:
- k8s-cpu-ns
- k8s-limit-range
- k8s-number-cpus
- k8s-expose-ip
- k8s-oom
- k8s-block-volume
Expand Down
3 changes: 3 additions & 0 deletions .ci/install_kata_kernel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
;;
Expand Down
12 changes: 10 additions & 2 deletions .ci/install_qemu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -110,8 +113,13 @@ main() {

build_and_install_qemu
;;
"x86_64"|"s390x")
"aarch64"|"x86_64"|"s390x")
build_static_artifact_and_install "${qemu_type}"
# Install UEFI ROM for qemu
ENABLE_ARM64_UEFI="${ENABLE_ARM64_UEFI:-true}"
[ "${ENABLE_ARM64_UEFI}" == "true" ] && ${cidir}/aarch64/install_rom_aarch64.sh
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"
Expand Down
3 changes: 2 additions & 1 deletion .ci/lib.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c8de205

Please sign in to comment.