Skip to content

Commit

Permalink
Update Red Hat GPG Key URL to new location (oamg#1367)
Browse files Browse the repository at this point in the history
Since September 3rd the location of the GPG Key has changed. This patch
is to introduce the new URL in order to keep the tests working
consistenly in the future.
  • Loading branch information
r0x0d authored Sep 4, 2024
1 parent 2a0ed40 commit 5ff4ca7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/integration/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def add_keys_and_certificates(self):
"curl --create-dirs -ko /etc/rhsm/ca/redhat-uep.pem https://cdn-public.redhat.com/content/public/repofiles/redhat-uep.pem"
)
self.shell(
"curl -o /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release https://www.redhat.com/security/data/fd431d51.txt"
"curl -o /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release https://security.access.redhat.com/data/fd431d51.txt"
)

def add_client_tools_repo(self):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def setup_rhsm(shell):

assert (
shell(
f"curl -o /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release https://www.redhat.com/security/data/fd431d51.txt \
f"curl -o /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release https://security.access.redhat.com/data/fd431d51.txt \
--proxy http://{TEST_VARS['PROXY_SERVER']}:{TEST_VARS['PROXY_PORT']}",
silent=True,
).returncode
Expand Down

0 comments on commit 5ff4ca7

Please sign in to comment.