mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-27 15:57:09 +00:00
release: Allow functions to take release versions
Allow functions to take release tags Signed-off-by: Archana Shinde <archana.m.shinde@intel.com>
This commit is contained in:
parent
6c8df7fc3d
commit
dc8fe05654
@ -92,6 +92,7 @@ verify_hub() {
|
|||||||
|
|
||||||
#Install guest image/initrd asset
|
#Install guest image/initrd asset
|
||||||
install_image() {
|
install_image() {
|
||||||
|
kata_version=${1:-kata_version}
|
||||||
image_destdir="${destdir}/${prefix}/share/kata-containers/"
|
image_destdir="${destdir}/${prefix}/share/kata-containers/"
|
||||||
info "Create image"
|
info "Create image"
|
||||||
image_tarball=$(find . -name 'kata-containers-'"${kata_version}"'-*.tar.gz')
|
image_tarball=$(find . -name 'kata-containers-'"${kata_version}"'-*.tar.gz')
|
||||||
@ -180,6 +181,7 @@ install_docker_config_script() {
|
|||||||
|
|
||||||
#Install all components that are not assets
|
#Install all components that are not assets
|
||||||
install_kata_components() {
|
install_kata_components() {
|
||||||
|
kata_version=${1:-kata_version}
|
||||||
for p in "${projects[@]}"; do
|
for p in "${projects[@]}"; do
|
||||||
echo "Download ${p}"
|
echo "Download ${p}"
|
||||||
go get "github.com/${project}/$p" || true
|
go get "github.com/${project}/$p" || true
|
||||||
|
Loading…
Reference in New Issue
Block a user