From 6c325811ed3374bac24f5ad1a0ab8a5d4dd2b89d Mon Sep 17 00:00:00 2001 From: Lars Karlitski Date: Sun, 15 Nov 2020 10:52:16 +0100 Subject: [PATCH] schutzbot/deploy.sh: drop upgrading dnf According to the comment, this addressed priority bugs that dnf had in fedora-31. We're not testing on that anymore, because it is end of life. --- schutzbot/deploy.sh | 9 --------- 1 file changed, 9 deletions(-) diff --git a/schutzbot/deploy.sh b/schutzbot/deploy.sh index dd6cf6ee..5276c40f 100755 --- a/schutzbot/deploy.sh +++ b/schutzbot/deploy.sh @@ -11,15 +11,6 @@ if [[ -n "${RHN_REGISTRATION_SCRIPT:-}" ]] && ! sudo subscription-manager status sudo $RHN_REGISTRATION_SCRIPT fi -# Ensure we are using the latest dnf since early revisions of Fedora 31 had -# some dnf repo priority bugs like BZ 1733582. -# NOTE(mhayden): We can exclude kernel updates here to save time with dracut -# and module updates. The system will not be rebooted in CI anyway, so a -# kernel update is not needed. -if [[ $ID == fedora ]]; then - sudo dnf -y upgrade --exclude kernel --exclude kernel-core -fi - # Add osbuild team ssh keys. cat schutzbot/team_ssh_keys.txt | tee -a ~/.ssh/authorized_keys > /dev/null