1
0
mirror of synced 2024-11-25 14:26:09 +03:00

Update tests

This commit is contained in:
hwdsl2 2022-01-23 00:13:30 -06:00
parent 0f27ebbfad
commit b26555b9dc
2 changed files with 0 additions and 60 deletions

View File

@ -173,8 +173,6 @@ jobs:
systemctl start rsyslog
wget -t 3 -T 30 -nv -O vpnsetup.sh https://git.io/vpnsetup
sed -i '/curl /a sed -i "/swan_ver_latest=/s/^/#/" "$tmpdir/vpn.sh"' vpnsetup.sh
sh vpnsetup.sh
systemctl start xl2tpd
@ -209,9 +207,6 @@ jobs:
fi
wget -t 3 -T 30 -nv -O quickstart.sh https://git.io/vpnquickstart
sed -i -e '/curl /a sed -i "/swan_ver_latest=/s/^/#/" "$tmpdir/vpn.sh"' \
-e '/sleep 1/a sed -i "/swan_ver_latest=/s/^/#/" /opt/src/ikev2.sh' quickstart.sh
sh quickstart.sh
systemctl restart xl2tpd
@ -252,7 +247,6 @@ jobs:
else
wget -t 3 -T 30 -nv -O vpnsetup.sh https://git.io/vpnsetup-amzn
fi
sed -i '/swan_ver_latest=/s/^/#/' vpnsetup.sh
VPN_IPSEC_PSK='your_ipsec_pre_shared_key' \
VPN_USER='your_vpn_username' \
@ -288,8 +282,6 @@ jobs:
ls -l /opt/src/ikev2.sh
wget -t 3 -T 30 -nv -O ikev2.sh https://git.io/ikev2setup # hwdsl2
sed -i '/swan_ver_latest=/s/^/#/' ikev2.sh
bash ikev2.sh <<ANSWERS
@ -509,7 +501,6 @@ jobs:
ipsec status | grep -q ikev2-cp
wget -t 3 -T 30 -nv -O vpnup.sh https://git.io/vpnupgrade
sed -i '/curl /a sed -i "/swan_ver_latest=/s/^/#/" "$tmpdir/vpnup.sh"' vpnup.sh
for ver in 4.4 4.6; do
sed -i "s/^SWAN_VER=.*/SWAN_VER=$ver/" vpnup.sh
@ -528,7 +519,6 @@ jobs:
else
wget -t 3 -T 30 -nv -O vpnup.sh https://git.io/vpnupgrade-amzn
fi
sed -i '/swan_ver_latest=/s/^/#/' vpnup.sh
for ver in 4.5 4.6; do
sed -i "s/^SWAN_VER=.*/SWAN_VER=$ver/" vpnup.sh
@ -660,8 +650,6 @@ jobs:
service rsyslog start
wget -t 3 -T 30 -nv -O vpnsetup.sh https://git.io/vpnsetup
sed -i '/curl /a sed -i "/swan_ver_latest=/s/^/#/" "$tmpdir/vpn.sh"' vpnsetup.sh
sh vpnsetup.sh
restart_ipsec
@ -692,9 +680,6 @@ jobs:
rm -f /usr/bin/ikev2.sh /opt/src/ikev2.sh
wget -t 3 -T 30 -nv -O quickstart.sh https://git.io/vpnquickstart
sed -i -e '/curl /a sed -i "/swan_ver_latest=/s/^/#/" "$tmpdir/vpn.sh"' \
-e '/sleep 1/a sed -i "/swan_ver_latest=/s/^/#/" /opt/src/ikev2.sh' quickstart.sh
sh quickstart.sh
restart_ipsec
@ -727,7 +712,6 @@ jobs:
rm -f /usr/bin/ikev2.sh /opt/src/ikev2.sh
wget -t 3 -T 30 -nv -O vpnsetup.sh https://git.io/vpnsetup-ubuntu
sed -i '/swan_ver_latest=/s/^/#/' vpnsetup.sh
VPN_IPSEC_PSK='your_ipsec_pre_shared_key' \
VPN_USER='your_vpn_username' \
@ -762,8 +746,6 @@ jobs:
ls -l /opt/src/ikev2.sh
wget -t 3 -T 30 -nv -O ikev2.sh https://git.io/ikev2setup
sed -i '/swan_ver_latest=/s/^/#/' ikev2.sh
bash ikev2.sh <<ANSWERS
@ -984,7 +966,6 @@ jobs:
ipsec status | grep -q ikev2-cp
wget -t 3 -T 30 -nv -O vpnup.sh https://git.io/vpnupgrade
sed -i '/curl /a sed -i "/swan_ver_latest=/s/^/#/" "$tmpdir/vpnup.sh"' vpnup.sh
for ver in 4.4 4.6; do
sed -i "s/^SWAN_VER=.*/SWAN_VER=$ver/" vpnup.sh
@ -999,7 +980,6 @@ jobs:
done
wget -t 3 -T 30 -nv -O vpnup.sh https://git.io/vpnupgrade-ubuntu
sed -i '/swan_ver_latest=/s/^/#/' vpnup.sh
for ver in 4.5 4.6; do
sed -i "s/^SWAN_VER=.*/SWAN_VER=$ver/" vpnup.sh
@ -1065,8 +1045,6 @@ jobs:
rsyslogd
wget -t 3 -T 30 -nv -O vpnsetup.sh https://git.io/vpnsetup
sed -i '/curl /a sed -i "/swan_ver_latest=/s/^/#/" "$tmpdir/vpn.sh"' vpnsetup.sh
sh vpnsetup.sh
ipsec initnss
@ -1099,9 +1077,6 @@ jobs:
killall xl2tpd || true
wget -t 3 -T 30 -nv -O quickstart.sh https://git.io/vpnquickstart
sed -i -e '/curl /a sed -i "/swan_ver_latest=/s/^/#/" "$tmpdir/vpn.sh"' \
-e '/sleep 1/a sed -i "/swan_ver_latest=/s/^/#/" /opt/src/ikev2.sh' quickstart.sh
sh quickstart.sh
xl2tpd -c /etc/xl2tpd/xl2tpd.conf
@ -1135,7 +1110,6 @@ jobs:
killall xl2tpd || true
wget -t 3 -T 30 -nv -O vpnsetup.sh https://git.io/vpnsetup-alpine
sed -i '/swan_ver_latest=/s/^/#/' vpnsetup.sh
VPN_IPSEC_PSK='your_ipsec_pre_shared_key' \
VPN_USER='your_vpn_username' \
@ -1172,8 +1146,6 @@ jobs:
ls -l /opt/src/ikev2.sh
wget -t 3 -T 30 -nv -O ikev2.sh https://git.io/ikev2setup
sed -i '/swan_ver_latest=/s/^/#/' ikev2.sh
bash ikev2.sh <<ANSWERS
@ -1394,7 +1366,6 @@ jobs:
ipsec status | grep -q ikev2-cp
wget -t 3 -T 30 -nv -O vpnup.sh https://git.io/vpnupgrade
sed -i '/curl /a sed -i "/swan_ver_latest=/s/^/#/" "$tmpdir/vpnup.sh"' vpnup.sh
for ver in 4.5 4.6; do
ipsec whack --shutdown || true
@ -1411,7 +1382,6 @@ jobs:
done
wget -t 3 -T 30 -nv -O vpnup.sh https://git.io/vpnupgrade-alpine
sed -i '/swan_ver_latest=/s/^/#/' vpnup.sh
for ver in 4.5 4.6; do
ipsec whack --shutdown || true

View File

@ -202,8 +202,6 @@ jobs:
systemctl start rsyslog
wget -t 3 -T 30 -nv -O vpnsetup.sh https://git.io/vpnsetup
sed -i '/curl /a sed -i "/swan_ver_latest=/s/^/#/" "$tmpdir/vpn.sh"' vpnsetup.sh
sh vpnsetup.sh
systemctl start xl2tpd
@ -238,9 +236,6 @@ jobs:
fi
wget -t 3 -T 30 -nv -O quickstart.sh https://git.io/vpnquickstart
sed -i -e '/curl /a sed -i "/swan_ver_latest=/s/^/#/" "$tmpdir/vpn.sh"' \
-e '/sleep 1/a sed -i "/swan_ver_latest=/s/^/#/" /opt/src/ikev2.sh' quickstart.sh
sh quickstart.sh
systemctl restart xl2tpd
@ -281,7 +276,6 @@ jobs:
else
wget -t 3 -T 30 -nv -O vpnsetup.sh https://git.io/vpnsetup-amzn
fi
sed -i '/swan_ver_latest=/s/^/#/' vpnsetup.sh
VPN_IPSEC_PSK='your_ipsec_pre_shared_key' \
VPN_USER='your_vpn_username' \
@ -317,8 +311,6 @@ jobs:
ls -l /opt/src/ikev2.sh
wget -t 3 -T 30 -nv -O ikev2.sh https://git.io/ikev2setup # hwdsl2
sed -i '/swan_ver_latest=/s/^/#/' ikev2.sh
bash ikev2.sh <<ANSWERS
@ -538,7 +530,6 @@ jobs:
ipsec status | grep -q ikev2-cp
wget -t 3 -T 30 -nv -O vpnup.sh https://git.io/vpnupgrade
sed -i '/curl /a sed -i "/swan_ver_latest=/s/^/#/" "$tmpdir/vpnup.sh"' vpnup.sh
for ver in 4.4 4.6; do
sed -i "s/^SWAN_VER=.*/SWAN_VER=$ver/" vpnup.sh
@ -557,7 +548,6 @@ jobs:
else
wget -t 3 -T 30 -nv -O vpnup.sh https://git.io/vpnupgrade-amzn
fi
sed -i '/swan_ver_latest=/s/^/#/' vpnup.sh
for ver in 4.5 4.6; do
sed -i "s/^SWAN_VER=.*/SWAN_VER=$ver/" vpnup.sh
@ -689,8 +679,6 @@ jobs:
service rsyslog start
wget -t 3 -T 30 -nv -O vpnsetup.sh https://git.io/vpnsetup
sed -i '/curl /a sed -i "/swan_ver_latest=/s/^/#/" "$tmpdir/vpn.sh"' vpnsetup.sh
sh vpnsetup.sh
restart_ipsec
@ -721,9 +709,6 @@ jobs:
rm -f /usr/bin/ikev2.sh /opt/src/ikev2.sh
wget -t 3 -T 30 -nv -O quickstart.sh https://git.io/vpnquickstart
sed -i -e '/curl /a sed -i "/swan_ver_latest=/s/^/#/" "$tmpdir/vpn.sh"' \
-e '/sleep 1/a sed -i "/swan_ver_latest=/s/^/#/" /opt/src/ikev2.sh' quickstart.sh
sh quickstart.sh
restart_ipsec
@ -756,7 +741,6 @@ jobs:
rm -f /usr/bin/ikev2.sh /opt/src/ikev2.sh
wget -t 3 -T 30 -nv -O vpnsetup.sh https://git.io/vpnsetup-ubuntu
sed -i '/swan_ver_latest=/s/^/#/' vpnsetup.sh
VPN_IPSEC_PSK='your_ipsec_pre_shared_key' \
VPN_USER='your_vpn_username' \
@ -791,8 +775,6 @@ jobs:
ls -l /opt/src/ikev2.sh
wget -t 3 -T 30 -nv -O ikev2.sh https://git.io/ikev2setup
sed -i '/swan_ver_latest=/s/^/#/' ikev2.sh
bash ikev2.sh <<ANSWERS
@ -1013,7 +995,6 @@ jobs:
ipsec status | grep -q ikev2-cp
wget -t 3 -T 30 -nv -O vpnup.sh https://git.io/vpnupgrade
sed -i '/curl /a sed -i "/swan_ver_latest=/s/^/#/" "$tmpdir/vpnup.sh"' vpnup.sh
for ver in 4.4 4.6; do
sed -i "s/^SWAN_VER=.*/SWAN_VER=$ver/" vpnup.sh
@ -1028,7 +1009,6 @@ jobs:
done
wget -t 3 -T 30 -nv -O vpnup.sh https://git.io/vpnupgrade-ubuntu
sed -i '/swan_ver_latest=/s/^/#/' vpnup.sh
for ver in 4.5 4.6; do
sed -i "s/^SWAN_VER=.*/SWAN_VER=$ver/" vpnup.sh
@ -1094,8 +1074,6 @@ jobs:
rsyslogd
wget -t 3 -T 30 -nv -O vpnsetup.sh https://git.io/vpnsetup
sed -i '/curl /a sed -i "/swan_ver_latest=/s/^/#/" "$tmpdir/vpn.sh"' vpnsetup.sh
sh vpnsetup.sh
ipsec initnss
@ -1128,9 +1106,6 @@ jobs:
killall xl2tpd || true
wget -t 3 -T 30 -nv -O quickstart.sh https://git.io/vpnquickstart
sed -i -e '/curl /a sed -i "/swan_ver_latest=/s/^/#/" "$tmpdir/vpn.sh"' \
-e '/sleep 1/a sed -i "/swan_ver_latest=/s/^/#/" /opt/src/ikev2.sh' quickstart.sh
sh quickstart.sh
xl2tpd -c /etc/xl2tpd/xl2tpd.conf
@ -1164,7 +1139,6 @@ jobs:
killall xl2tpd || true
wget -t 3 -T 30 -nv -O vpnsetup.sh https://git.io/vpnsetup-alpine
sed -i '/swan_ver_latest=/s/^/#/' vpnsetup.sh
VPN_IPSEC_PSK='your_ipsec_pre_shared_key' \
VPN_USER='your_vpn_username' \
@ -1201,8 +1175,6 @@ jobs:
ls -l /opt/src/ikev2.sh
wget -t 3 -T 30 -nv -O ikev2.sh https://git.io/ikev2setup
sed -i '/swan_ver_latest=/s/^/#/' ikev2.sh
bash ikev2.sh <<ANSWERS
@ -1423,7 +1395,6 @@ jobs:
ipsec status | grep -q ikev2-cp
wget -t 3 -T 30 -nv -O vpnup.sh https://git.io/vpnupgrade
sed -i '/curl /a sed -i "/swan_ver_latest=/s/^/#/" "$tmpdir/vpnup.sh"' vpnup.sh
for ver in 4.5 4.6; do
ipsec whack --shutdown || true
@ -1440,7 +1411,6 @@ jobs:
done
wget -t 3 -T 30 -nv -O vpnup.sh https://git.io/vpnupgrade-alpine
sed -i '/swan_ver_latest=/s/^/#/' vpnup.sh
for ver in 4.5 4.6; do
ipsec whack --shutdown || true