Update tests
This commit is contained in:
parent
2ff2ec3cf9
commit
f96af75dbd
8
.github/workflows/test_set_1.yml
vendored
8
.github/workflows/test_set_1.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user