autopackage.sh: add flag for release builds
Using another flag for the conditional will let us run release build test in selected job configurations for per-patch testing on CI side, not just for nightly tests. Signed-off-by: Karol Latecki <karol.latecki@intel.com> Change-Id: Ib9de1c98bf6d7380670f22321f2df7784f2517de Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/4734 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
d526c73c61
commit
af62eb57fc
@ -28,7 +28,7 @@ if [ $(git status --porcelain --ignore-submodules | wc -l) -ne 0 ]; then
|
||||
fi
|
||||
timing_exit porcelain_check
|
||||
|
||||
if [[ $RUN_NIGHTLY -eq 0 ]]; then
|
||||
if [[ $RUN_NIGHTLY -eq 0 && $SPDK_TEST_RELEASE_BUILD -eq 0 ]]; then
|
||||
timing_finish
|
||||
exit 0
|
||||
fi
|
||||
|
@ -64,6 +64,8 @@ export SPDK_RUN_FUNCTIONAL_TEST
|
||||
export SPDK_TEST_UNITTEST
|
||||
: ${SPDK_TEST_AUTOBUILD=0}
|
||||
export SPDK_TEST_AUTOBUILD
|
||||
: ${SPDK_TEST_RELEASE_BUILD=0}
|
||||
export SPDK_TEST_RELEASE_BUILD
|
||||
: ${SPDK_TEST_ISAL=0}
|
||||
export SPDK_TEST_ISAL
|
||||
: ${SPDK_TEST_ISCSI=0}
|
||||
|
Loading…
Reference in New Issue
Block a user