From 78b01775d4a04df4a5fec8bbdb606a54fb2dea58 Mon Sep 17 00:00:00 2001 From: "Yankel Scialom (YSC)" Date: Mon, 1 Apr 2024 18:10:08 +0200 Subject: [PATCH] test --- .github/workflows/continuous-integration.yaml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/continuous-integration.yaml b/.github/workflows/continuous-integration.yaml index f755365..a170986 100644 --- a/.github/workflows/continuous-integration.yaml +++ b/.github/workflows/continuous-integration.yaml @@ -42,6 +42,15 @@ jobs: mkdir dist envsubst 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 @@ -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