mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-23 01:49:53 +03:00
Merge PR #773: ci repair and refactoring
This commit is contained in:
commit
9ae379bc31
@ -52,8 +52,9 @@ for:
|
|||||||
build_script:
|
build_script:
|
||||||
- make package -C tmp
|
- make package -C tmp
|
||||||
after_build:
|
after_build:
|
||||||
- sudo dpkg -i build/softether-vpn*.deb
|
- .ci/appveyor_afterbuild.sh
|
||||||
- sudo systemctl restart softether-vpnserver
|
on_failure:
|
||||||
|
- sudo journalctl -xe
|
||||||
artifacts:
|
artifacts:
|
||||||
- path: build/*.deb
|
- path: build/*.deb
|
||||||
name: Ubuntu
|
name: Ubuntu
|
||||||
@ -66,8 +67,9 @@ for:
|
|||||||
build_script:
|
build_script:
|
||||||
- make package -C tmp
|
- make package -C tmp
|
||||||
after_build:
|
after_build:
|
||||||
- sudo dpkg -i build/softether-vpn*.deb
|
- .ci/appveyor_afterbuild.sh
|
||||||
- sudo systemctl restart softether-vpnserver
|
on_failure:
|
||||||
|
- sudo journalctl -xe
|
||||||
artifacts:
|
artifacts:
|
||||||
- path: build/*.deb
|
- path: build/*.deb
|
||||||
name: Ubuntu
|
name: Ubuntu
|
||||||
|
12
.ci/appveyor_afterbuild.sh
Executable file
12
.ci/appveyor_afterbuild.sh
Executable file
@ -0,0 +1,12 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -eux
|
||||||
|
|
||||||
|
sudo dpkg -i build/softether-common*.deb
|
||||||
|
sudo dpkg -i build/softether-vpnbridge*.deb
|
||||||
|
sudo dpkg -i build/softether-vpnclient*.deb
|
||||||
|
sudo dpkg -i build/softether-vpncmd*.deb
|
||||||
|
sudo dpkg -i build/softether-vpnserver*.deb
|
||||||
|
|
||||||
|
sudo systemctl restart softether-vpnserver
|
||||||
|
|
@ -12,14 +12,6 @@
|
|||||||
- make package -C tmp
|
- make package -C tmp
|
||||||
- dpkg -i build/softether-vpn*.deb
|
- dpkg -i build/softether-vpn*.deb
|
||||||
|
|
||||||
bionic:
|
|
||||||
<<: *ubuntu_def
|
|
||||||
image: ubuntu:bionic
|
|
||||||
|
|
||||||
xenial:
|
|
||||||
<<: *ubuntu_def
|
|
||||||
image: ubuntu:xenial
|
|
||||||
|
|
||||||
trusty:
|
trusty:
|
||||||
<<: *ubuntu_def
|
<<: *ubuntu_def
|
||||||
image: ubuntu:trusty
|
image: ubuntu:trusty
|
||||||
|
Loading…
Reference in New Issue
Block a user