From b86d4f5bb22f673fec8874c3440ea7535405da04 Mon Sep 17 00:00:00 2001 From: "Christian Y. Brenninkmeijer" Date: Wed, 28 Aug 2024 07:08:39 +0100 Subject: [PATCH 1/2] set dns --- .github/workflows/build.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 619d3d6150..784da96e5a 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -53,6 +53,13 @@ jobs: key: ${{ runner.os }}-node-${{ hashFiles('SpiNNaker-allocserv/pom.xml') }} restore-keys: ${{ runner.os }}-node- + - name: Set dns server + run: | + sudo sed -i 's/#DNS=/DNS=8.8.8.8 8.8.4.4/g' /etc/systemd/resolved.conf + sudo systemctl daemon-reload + sudo systemctl restart systemd-networkd + sudo systemctl restart systemd-resolved + - name: Compile run: mvn clean install --settings $SETTINGS_FILE -B -DskipTests=true -Dmaven.javadoc.skip=true -P "!jsp-precompile" - name: Resolve Remaining Dependencies From f3fe94c260850cd1ec354547ac5df350ede06f3b Mon Sep 17 00:00:00 2001 From: "Christian Y. Brenninkmeijer" Date: Wed, 28 Aug 2024 07:44:35 +0100 Subject: [PATCH 2/2] more dns setting to test phase --- .github/workflows/build.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 784da96e5a..510a69329f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -53,13 +53,6 @@ jobs: key: ${{ runner.os }}-node-${{ hashFiles('SpiNNaker-allocserv/pom.xml') }} restore-keys: ${{ runner.os }}-node- - - name: Set dns server - run: | - sudo sed -i 's/#DNS=/DNS=8.8.8.8 8.8.4.4/g' /etc/systemd/resolved.conf - sudo systemctl daemon-reload - sudo systemctl restart systemd-networkd - sudo systemctl restart systemd-resolved - - name: Compile run: mvn clean install --settings $SETTINGS_FILE -B -DskipTests=true -Dmaven.javadoc.skip=true -P "!jsp-precompile" - name: Resolve Remaining Dependencies @@ -82,6 +75,13 @@ jobs: java-version: ${{ matrix.java }} cache: 'maven' + - name: Set dns server + run: | + sudo sed -i 's/#DNS=/DNS=8.8.8.8 8.8.4.4/g' /etc/systemd/resolved.conf + sudo systemctl daemon-reload + sudo systemctl restart systemd-networkd + sudo systemctl restart systemd-resolved + - name: Build with Java ${{ matrix.java }} run: mvn install --settings $SETTINGS_FILE -DskipTests=true -Dmaven.javadoc.skip=true - name: "Check: Test"