test: No need to create cargo vendor tarball in CI

There is no need to create cargo vendor tarball in CI as it has
internet access.

Signed-off-by: Gris Ge <fge@redhat.com>
This commit is contained in:
Gris Ge 2022-08-16 12:53:56 +08:00 committed by Fernando Fernández Mancera
parent bb155c6908
commit 36daf00158

View File

@ -65,7 +65,7 @@ function install_nmstate {
if [ -n "$COMPILED_RPMS_DIR" ];then
exec_cmd "rpm -ivh ${COMPILED_RPMS_DIR}/*.rpm || exit 1"
else
exec_cmd "make rpm"
exec_cmd "SKIP_VENDOR_CREATION=1 make rpm"
exec_cmd "rpm -ivh *.rpm"
fi
fi