ci: test rpm install with yum
This commit is contained in:
parent
7759d94d6b
commit
03c8d35480
|
@ -125,13 +125,8 @@ emqx_test(){
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
"rpm")
|
"rpm")
|
||||||
if [[ "${ARCH}" == "amd64" && $(rpm -E '%{rhel}') == 7 ]] ; then
|
yum install -y "${PACKAGE_PATH}/${packagename}"
|
||||||
# EMQX OTP requires openssl11 to have TLS1.3 support
|
if ! rpm -q ${EMQX_NAME} | grep -q "${EMQX_NAME}"; then
|
||||||
yum install -y openssl11
|
|
||||||
fi
|
|
||||||
|
|
||||||
rpm -ivh "${PACKAGE_PATH}/${packagename}"
|
|
||||||
if ! rpm -q emqx | grep -q emqx; then
|
|
||||||
echo "package install error"
|
echo "package install error"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue