Merge pull request #647 from flatcar/krnowak/vms-fix

ci-automation: Get two files to build vms instead of a whole directory
This commit is contained in:
Krzesimir Nowak 2023-02-09 11:45:25 +01:00 committed by GitHub
commit 0a89347747
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,7 +109,8 @@ function _vm_build_impl() {
local images_in="images-in/"
rm -rf "${images_in}"
copy_dir_from_buildcache "images/${arch}/${vernum}/" "${images_in}"
copy_from_buildcache "images/${arch}/${vernum}/flatcar_production_image.bin.bz2" "${images_in}"
copy_from_buildcache "images/${arch}/${vernum}/version.txt" "${images_in}"
lbunzip2 "${images_in}/flatcar_production_image.bin.bz2"
./run_sdk_container -x ./ci-cleanup.sh -n "${vms_container}" -C "${packages_image}" \
-v "${vernum}" \