forked from adoptium/infrastructure
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GHA: Revert kyeserver workaround & configure dirmgr (adoptium#3738)
- Loading branch information
1 parent
a39cca2
commit 567fd76
Showing
1 changed file
with
6 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,16 +27,15 @@ jobs: | |
- name: Install Python | ||
run: brew install [email protected] --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 | ||
|