Skip to content

Commit a1b70e2

Browse files
ci: Skip GPG checks when installing rawhide sssd rpms
At this time, workaround rawhide dnf issue causing failed install Total size of inbound packages is 11 MiB. Need to download 0 B. After this operation, 30 MiB extra will be used (install 40 MiB, remove 10 MiB). Running transaction Transaction failed: Rpm transaction failed. Warning: skipped OpenPGP checks for 60 packages from repository: @commandline - package sssd-2.13.0-0.fc45.x86_64 does not verify: no signature - package sssd-common-2.13.0-0.fc45.x86_64 does not verify: no signature ...
1 parent 1571946 commit a1b70e2

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/ci.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,13 @@ jobs:
167167
#!/bin/bash
168168
set -ex
169169
170-
dnf install -y /dev/shm/sssd/rpmbuild/RPMS/*/*.rpm
170+
# Workaround Fedora rawhide (45) bug which causes the dnf error:
171+
# package sssd-2.13.0-0.fc45.x86_64 does not verify: no signature
172+
if grep Rawhide /etc/redhat-release; then
173+
ARG="--no-gpgchecks"
174+
fi
175+
176+
dnf $ARG install -y /dev/shm/sssd/rpmbuild/RPMS/*/*.rpm
171177
rm -fr /dev/shm/sssd
172178
173179
# We need to reenable sssd-kcm since it was disabled by removing sssd not not enabled again

0 commit comments

Comments
 (0)