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