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:
Kamil Godzwon 2022-12-06 05:16:35 -05:00 committed by Tomasz Zawadzki
parent 985d64688e
commit 94d03c66b6

View File

@ -595,9 +595,14 @@ 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
if [[ $ID == fedora ]] && (( VERSION_ID >= 36 )); then
echo "Serialized SPDK release builds are not used anymore for newer Fedora images. Skip."
return 0
else
install_refspdk latest install_refspdk latest
install_refspdk LTS install_refspdk LTS
fi fi
fi
} }
GIT_VERSION=2.25.1 GIT_VERSION=2.25.1