Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
yscialom committed Apr 1, 2024
1 parent eb843e1 commit 78b0177
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/continuous-integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,15 @@ jobs:
mkdir dist
envsubst <test/settings.yaml.d/ci.yaml >dist/settings.yaml
- name: "Prepare test environment: Disable DNS cache server to free 53/udp up"
run: |
sudo mkdir -p /etc/systemd/resolved.conf.d
echo -e '[Resolve]\nDNSStubListener=no' | sudo tee -a /etc/systemd/resolved.conf.d/disable-for-pinanas.conf
sudo systemctl force-reload systemd-resolved
sudo rm /etc/resolv.conf
sudo ln -s ../run/systemd/resolve/resolv.conf /etc/resolv.conf
sudo echo "nameserver 8.8.8.8" >>/etc/resolv.conf
- name: Install
run: cd dist && ../src/install/installer.sh

Expand All @@ -51,14 +60,6 @@ jobs:
docker-compose pull
docker-compose build
- name: "Prepare test environment: Disable DNS cache server to free 53/udp up"
run: |
sudo mkdir -p /etc/systemd/resolved.conf.d
echo -e '[Resolve]\nDNSStubListener=no' | sudo tee -a /etc/systemd/resolved.conf.d/disable-for-pinanas.conf
sudo systemctl force-reload systemd-resolved
sudo rm /etc/resolv.conf
sudo ln -s ../run/systemd/resolve/resolv.conf /etc/resolv.conf
- name: Start
run: |
cd dist
Expand Down

0 comments on commit 78b0177

Please sign in to comment.