mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 18:18:55 +00:00
use sudo to install packages
This commit is contained in:
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
@@ -85,9 +85,18 @@ jobs:
|
||||
name: fireguard-deb
|
||||
- name: Test Install package
|
||||
run: |
|
||||
apt update
|
||||
apt install -y postgresql wireguard iptables net-tools
|
||||
dpkg -i fireguard*.deb
|
||||
sudo apt update
|
||||
sudo apt install -y postgresql wireguard iptables net-tools
|
||||
sudo dpkg -i fireguard*.deb
|
||||
|
||||
# Wait for app to start
|
||||
sleep 5
|
||||
|
||||
# Ensure it's running
|
||||
echo "FireGuard status:"
|
||||
status=$(sudo systemctl status fireguard)
|
||||
echo $status
|
||||
echo $status | grep "active (running)"
|
||||
|
||||
publish:
|
||||
needs: build
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
- wireguard
|
||||
- postgresql
|
||||
- iptables
|
||||
- net-tools
|
||||
- name: Configure System
|
||||
hosts: all
|
||||
become: yes
|
||||
|
||||
Reference in New Issue
Block a user