Commit 94d03c66 authored by Kamil Godzwon's avatar Kamil Godzwon Committed by Tomasz Zawadzki
Browse files

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: default avatarKamil Godzwon <kamilx.godzwon@intel.com>
Change-Id: Ief8f2b1a25e642f3cbe9e3038ba39e634cbf0c5e
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15788


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarJim Harris <james.r.harris@intel.com>
Reviewed-by: default avatarTomasz Zawadzki <tomasz.zawadzki@intel.com>
parent 985d6468
Loading
Loading
Loading
Loading
+7 −2
Original line number Diff line number Diff line
@@ -595,9 +595,14 @@ function install_sources() {
	if [[ $INSTALL_REFSPDK == true ]]; then
		# Serialize builds as refspdk depends on 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 LTS
		fi
	fi
}

GIT_VERSION=2.25.1