Skip to content

Commit

Permalink
GHA: Revert kyeserver workaround & configure dirmgr (#3738)
Browse files Browse the repository at this point in the history
  • Loading branch information
steelhead31 authored Sep 24, 2024
1 parent a39cca2 commit 567fd76
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/build_mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 567fd76

Please sign in to comment.