Skip to content

Commit

Permalink
schutzbot: remove dnf upgrade
Browse files Browse the repository at this point in the history
Fedora 31 is EOL. We don't need this anymore.
  • Loading branch information
ondrejbudai committed Dec 16, 2020
1 parent 74d6418 commit 2e66661
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions schutzbot/deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,6 @@ fi
# Enable fastestmirror to speed up dnf operations.
echo -e "fastestmirror=1" | sudo tee -a /etc/dnf/dnf.conf

# 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

Expand Down

0 comments on commit 2e66661

Please sign in to comment.