feat(ci): increase dnf timeout to combat network flakes (#2401)
The default is 30s, let's see if this is already enough. Most packages should usually be cached, it's the retrieval of metadata that is often the reason for the network related flakes. xref: https://github.com/ublue-os/aurora/issues/2337
This commit is contained in:
parent
66a3ad622a
commit
e1e718b6a4
2 changed files with 4 additions and 3 deletions
|
|
@ -4,8 +4,9 @@ set -eoux pipefail
|
|||
|
||||
echo "::group:: Copy Files"
|
||||
|
||||
# Speeds up local builds
|
||||
dnf config-manager setopt keepcache=1
|
||||
# Speeds up local builds and workaround network flakes, mainly for COPR and negativo
|
||||
cp /etc/dnf/dnf.conf /etc/dnf/dnf.conf.bak
|
||||
dnf config-manager setopt keepcache=1 timeout=60
|
||||
|
||||
# We need to remove this package here because lots of files we add from `{projectbluefin,get-aurora-dev}/common` override the rpm files
|
||||
# they go away when you do dnf remove
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ echo "::group:: ===$(basename "$0")==="
|
|||
set -eoux pipefail
|
||||
|
||||
# Revert back to upstream defaults
|
||||
dnf config-manager setopt keepcache=0
|
||||
mv /etc/dnf/dnf.conf.bak /etc/dnf/dnf.conf
|
||||
dnf versionlock clear
|
||||
|
||||
# This comes last because we can't *ever* afford to ship fedora flatpaks on the image
|
||||
|
|
|
|||
Loading…
Reference in a new issue