-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d06869e
commit 4bed66f
Showing
7 changed files
with
23 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ on: [push, pull_request] | |
|
||
jobs: | ||
lint: | ||
runs-on: ubuntu-18.04 | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/[email protected] | ||
|
@@ -26,12 +26,12 @@ jobs: | |
ansible-lint -x experimental,package-latest,unnamed-task -v *.yml roles/{local,cloud-*}/*/*.yml | ||
scripted-deploy: | ||
runs-on: ubuntu-16.04 | ||
runs-on: ubuntu-20.04 | ||
strategy: | ||
matrix: | ||
UBUNTU_VERSION: ["18.04", "20.04"] | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/checkout@v2 | ||
- uses: actions/[email protected] | ||
with: | ||
python-version: '3.7' | ||
|
@@ -40,29 +40,20 @@ jobs: | |
run: | | ||
sudo apt update -y | ||
sudo apt install -y \ | ||
python3-pip \ | ||
lxd \ | ||
expect-dev \ | ||
debootstrap \ | ||
tree \ | ||
bridge-utils \ | ||
dnsutils \ | ||
build-essential \ | ||
libssl-dev \ | ||
libffi-dev \ | ||
python3-dev \ | ||
linux-headers-$(uname -r) \ | ||
wireguard \ | ||
libxml2-utils \ | ||
crudini \ | ||
fping \ | ||
strongswan \ | ||
libstrongswan-standard-plugins \ | ||
resolvconf | ||
openresolv | ||
python3 -m pip install --upgrade pip | ||
python3 -m pip install -r requirements.txt | ||
sudo snap refresh lxd | ||
sudo lxd init --auto | ||
- name: Provision | ||
env: | ||
DEPLOY: cloud-init | ||
|
@@ -93,46 +84,36 @@ jobs: | |
sudo -E bash -x ./tests/wireguard-client.sh | ||
sudo env "PATH=$PATH" ./tests/ipsec-client.sh | ||
local-deploy: | ||
runs-on: ubuntu-16.04 | ||
docker-deploy: | ||
runs-on: ubuntu-20.04 | ||
strategy: | ||
matrix: | ||
UBUNTU_VERSION: ["18.04", "20.04"] | ||
steps: | ||
- uses: actions/checkout@v1 | ||
- uses: actions/checkout@v2 | ||
- uses: actions/[email protected] | ||
with: | ||
python-version: '3.7' | ||
|
||
- name: Install dependencies | ||
run: | | ||
set -x | ||
sudo add-apt-repository -yu ppa:ubuntu-lxc/stable | ||
sudo apt update -y | ||
sudo apt install -y \ | ||
python3-pip \ | ||
lxd \ | ||
expect-dev \ | ||
debootstrap \ | ||
tree \ | ||
bridge-utils \ | ||
dnsutils \ | ||
build-essential \ | ||
libssl-dev \ | ||
libffi-dev \ | ||
python3-dev \ | ||
linux-headers-$(uname -r) \ | ||
wireguard \ | ||
libxml2-utils \ | ||
crudini \ | ||
fping \ | ||
strongswan \ | ||
libstrongswan-standard-plugins \ | ||
resolvconf | ||
openresolv | ||
python3 -m pip install --upgrade pip | ||
python3 -m pip install -r requirements.txt | ||
sudo snap refresh lxd | ||
sudo lxd init --auto | ||
- name: Provision | ||
env: | ||
DEPLOY: docker | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
--- | ||
- name: restart strongswan | ||
service: name=strongswan state=restarted | ||
service: name={{ strongswan_service }} state=restarted |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters