diff --git a/.github/workflows/task_acceptance_tests.yaml b/.github/workflows/task_acceptance_tests.yaml index 29e39d20..1c467e04 100644 --- a/.github/workflows/task_acceptance_tests.yaml +++ b/.github/workflows/task_acceptance_tests.yaml @@ -22,11 +22,31 @@ jobs: runs-on: 'ubuntu-latest' steps: - - name: Connect to Twingate uses: twingate/github-action@v1 with: - service-key: ${{ secrets.TWINGATE_PUBLIC_REPO_KEY }} + service-key: ${{ secrets.TWINGATE_PUBLIC_REPO_KEY }} + + env: + TWINGATE_LOG_LEVEL: debug + + - name: Fix dns + run: | + echo "=== Remove Azure DNS from eth0 interface ===" + sudo resolvectl dns eth0 "" + + echo "=== Configure Twingate DNS properly ===" + sudo resolvectl dns sdwan0 100.95.0.251 100.95.0.252 + sudo resolvectl domain sdwan0 delivery.puppetlabs.net + + echo "=== Flush DNS cache ===" + sudo resolvectl flush-caches + + echo "=== Check new configuration ===" + resolvectl status + + echo "=== Test DNS resolution ===" + nslookup artifactory.delivery.puppetlabs.net - name: Checkout current PR code uses: actions/checkout@v4