forked from coreos/fedora-coreos-config
-
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.
manifests: workaround F37 GPG key issue for rawhide
We'll workaround the issue by removing the F37 key from the list of gpgkeys to load. We'll also add a test that fails if the f37 entry isn't put back in place and we'll snooze that test. This gives us a reminder to followup on this issue if we don't get it resolved in upstream libdnf/rpm in the immediate future. coreos/fedora-coreos-tracker#925
- Loading branch information
Showing
3 changed files
with
39 additions
and
0 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
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
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/bash | ||
set -xeuo pipefail | ||
|
||
# No need to run an other platforms than QEMU. | ||
# kola: { "platforms": "qemu-unpriv" } | ||
|
||
# We can delete this test when the following issue is resolved: | ||
# https://github.com/coreos/fedora-coreos-tracker/issues/925 | ||
|
||
ok() { | ||
echo "ok" "$@" | ||
} | ||
|
||
fatal() { | ||
echo "$@" >&2 | ||
exit 1 | ||
} | ||
|
||
source /etc/os-release | ||
if [ "$VERSION_ID" -eq "36" ]; then | ||
if ! grep 'RPM-GPG-KEY-fedora-37' /etc/yum.repos.d/fedora-rawhide.repo; then | ||
fatal "Fedora 37 gpg key should be in rawhide repo" | ||
fi | ||
fi | ||
ok rawhiderepo |