From 2bd38592c1de70c60dde43505b084c80935e2d08 Mon Sep 17 00:00:00 2001 From: Scott Fryer <60462088+steelhead31@users.noreply.github.com> Date: Mon, 23 Sep 2024 14:29:08 +0100 Subject: [PATCH] GHA: Revert kyeserver workaround & configure dirmgr --- .github/workflows/build_mac.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build_mac.yml b/.github/workflows/build_mac.yml index 1bdfe7a994..25be5218c5 100644 --- a/.github/workflows/build_mac.yml +++ b/.github/workflows/build_mac.yml @@ -27,16 +27,15 @@ jobs: - name: Install Python run: brew install python@3.12 --overwrite + - name: Configure dirmgr + run: | + mkdir -p ~/.gnupg/ + touch ~/.gnupg/dirmngr.conf + echo "standard-resolver" > ~/.gnupg/dirmngr.conf + - name: Install Ansible run: brew install ansible - # This is to fix an issue with the github macos14 runner, that cant resolve keyserver.ubuntu.com - # but this does work when replaced with the IP address. Spotted during the GPG verification of ANT step - # Upstream Bug : https://github.com/actions/runner-images/issues/9777 - - name: Replace keyserver address with IP address - run: | - sed -i '' 's/keyserver\.ubuntu\.com/185.125.188.27/g' ansible/playbooks/Supporting_Scripts/package_signature_verification.sh - - name: Run Ansible Playbook run: | echo "localhost ansible_user=runner ansible_connection=local" > ansible/hosts