mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-04 10:24:37 +00:00
kata-deploy-binaries: Temporarily disable using cached components
We need to rebuild those with the appropriate path. Signed-off-by: Fabiano Fidêncio <fabiano.fidencio@intel.com>
This commit is contained in:
@@ -124,6 +124,12 @@ cleanup_and_fail() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
install_cached_tarball_component() {
|
install_cached_tarball_component() {
|
||||||
|
case ${5} in
|
||||||
|
"kata-static-cc-rootfs-image.tar.xz" | "kata-static-cc-rootfs-initrd.tar.xz" | "kata-static-cc-se-image.tar.xz" | "kata-static-cc-tdx-rootfs-image.tar.xz" | "kata-static-cc-tdx-td-shim.tar.xz" | "kata-static-cc-sev-rootfs-initrd.tar.xz" )
|
||||||
|
USE_CACHE="no"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
if [ "${USE_CACHE}" != "yes" ]; then
|
if [ "${USE_CACHE}" != "yes" ]; then
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
@@ -163,6 +169,16 @@ install_cached_tarball_component() {
|
|||||||
# we have to rely and check some artefacts coming from the cc-rootfs-image and the
|
# we have to rely and check some artefacts coming from the cc-rootfs-image and the
|
||||||
# cc-tdx-rootfs-image jobs.
|
# cc-tdx-rootfs-image jobs.
|
||||||
install_cached_cc_shim_v2() {
|
install_cached_cc_shim_v2() {
|
||||||
|
case ${5} in
|
||||||
|
"kata-static-cc-shim-v2.tar.xz")
|
||||||
|
USE_CACHE="no"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
if [ "${USE_CACHE}" != "yes" ]; then
|
||||||
|
return 1
|
||||||
|
fi
|
||||||
|
|
||||||
local component="${1}"
|
local component="${1}"
|
||||||
local jenkins_build_url="${2}"
|
local jenkins_build_url="${2}"
|
||||||
local current_version="${3}"
|
local current_version="${3}"
|
||||||
|
Reference in New Issue
Block a user