diff --git a/systemtest/tests/integration/test.sh b/systemtest/tests/integration/test.sh index 2f6e4170..eedba697 100755 --- a/systemtest/tests/integration/test.sh +++ b/systemtest/tests/integration/test.sh @@ -2,6 +2,17 @@ set -eu set -x +. /etc/os-release +if test "${ID}" = fedora -a ${VERSION_ID} -ge 39; then + # HACK + # on newer gnupg import the key to the local keyring; this will be solved + # once both insights-core and insights-client are fixed to not rely on + # root's .gnupg directory: + # - https://github.com/RedHatInsights/insights-core/pull/3930 + # - https://github.com/RedHatInsights/insights-client/pull/154 + gpg --import /etc/insights-client/redhattools.pub.gpg +fi + # get to project root cd ../../../