ci: install openssl11 for centos7 amd64 only
This commit is contained in:
parent
0dd09b06f1
commit
6e7d3d05e4
|
@ -91,8 +91,12 @@ emqx_test(){
|
||||||
;;
|
;;
|
||||||
"rpm")
|
"rpm")
|
||||||
packagename=$(basename "${PACKAGE_PATH}/${EMQX_NAME}"-*.rpm)
|
packagename=$(basename "${PACKAGE_PATH}/${EMQX_NAME}"-*.rpm)
|
||||||
|
|
||||||
|
if [[ "${ARCH}" == "amd64" && $(rpm -E '%{rhel}') == 7 ]] ;
|
||||||
|
then
|
||||||
# EMQX OTP requires openssl11 to have TLS1.3 support
|
# EMQX OTP requires openssl11 to have TLS1.3 support
|
||||||
yum install -y openssl11
|
yum install -y openssl11;
|
||||||
|
fi
|
||||||
rpm -ivh "${PACKAGE_PATH}/${packagename}"
|
rpm -ivh "${PACKAGE_PATH}/${packagename}"
|
||||||
if ! rpm -q emqx | grep -q emqx; then
|
if ! rpm -q emqx | grep -q emqx; then
|
||||||
echo "package install error"
|
echo "package install error"
|
||||||
|
|
Loading…
Reference in New Issue