pkgdep/git: do not use install_refspdk for newer fedora images
As we are using spdk-abi repo to compare SO files, we do not need newer images to prepare serialized spdk releases inside VM. For release tests (22.01, 22.09), let's use the older images, e.g. Fedora 35 Signed-off-by: Kamil Godzwon <kamilx.godzwon@intel.com> Change-Id: Ief8f2b1a25e642f3cbe9e3038ba39e634cbf0c5e Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15788 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
This commit is contained in:
parent
985d64688e
commit
94d03c66b6
@ -595,8 +595,13 @@ function install_sources() {
|
|||||||
if [[ $INSTALL_REFSPDK == true ]]; then
|
if [[ $INSTALL_REFSPDK == true ]]; then
|
||||||
# Serialize builds as refspdk depends on spdk
|
# Serialize builds as refspdk depends on spdk
|
||||||
[[ $INSTALL_SPDK != true ]] && install_spdk
|
[[ $INSTALL_SPDK != true ]] && install_spdk
|
||||||
install_refspdk latest
|
if [[ $ID == fedora ]] && (( VERSION_ID >= 36 )); then
|
||||||
install_refspdk LTS
|
echo "Serialized SPDK release builds are not used anymore for newer Fedora images. Skip."
|
||||||
|
return 0
|
||||||
|
else
|
||||||
|
install_refspdk latest
|
||||||
|
install_refspdk LTS
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user