1
0
mirror of synced 2024-11-22 13:06:02 +03:00

Update tests

This commit is contained in:
hwdsl2 2022-03-20 23:21:23 -05:00
parent 2ff2ec3cf9
commit f96af75dbd

View File

@ -17,7 +17,7 @@ jobs:
if: github.repository_owner == 'hwdsl2'
strategy:
matrix:
os_version: ["centos:8s", "centos:7", "rockylinux:8", "almalinux:8", "amazonlinux:2"]
os_version: ["centos:8s", "centos:7", "rockylinux:8", "almalinux:8", "amazonlinux:2", "oraclelinux:8", "oraclelinux:7"]
fail-fast: false
env:
OS_VERSION: ${{ matrix.os_version }}
@ -51,6 +51,9 @@ jobs:
}
restart_ipsec() {
if grep -qs 'release 8' /etc/oracle-release; then
return 0
fi
if ! command -v amazon-linux-extras; then
systemctl restart ipsec
fi
@ -126,7 +129,8 @@ jobs:
ANSWERS
rm -f /usr/bin/ikev2.sh /opt/src/ikev2.sh
rm -f /etc/ipsec.d/vpnclient*
if grep -qi stream /etc/redhat-release; then
if grep -qi stream /etc/redhat-release \
|| grep -qs 'release 8' /etc/oracle-release; then
mkdir /etc/xl2tpd
fi
done