Skip to content

Commit 6c9f933

Browse files
committed
hack: Drop skip_if_unavailable from COPR repo definitions
Both COPR repos (rhcontainerbot/bootc and @CoreOS/continuous) had skip_if_unavailable=True, which caused a subtle failure mode: a transient 502 on repomd.xml would cause dnf to silently skip the repo, leaving $bootupd_nevra empty, and the subsequent 'dnf install $bootupd_nevra' would fail with the confusing error 'the following arguments are required: PACKAGE' rather than a clear COPR unavailability message. Without skip_if_unavailable the 502 fails fast and visibly, making flaky CI failures from transient COPR outages much easier to diagnose. COPR is either available or it isn't; silently skipping it just defers the failure to a harder-to-read error. Assisted-by: OpenCode (claude-sonnet-4-6) Signed-off-by: Colin Walters <walters@verbum.org>
1 parent c0656cc commit 6c9f933

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

hack/provision-derived.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ cat >/etc/yum.repos.d/rhcontainerbot-bootc.repo <<REPOEOF
8686
name=Copr repo for bootc owned by rhcontainerbot
8787
baseurl=https://download.copr.fedorainfracloud.org/results/rhcontainerbot/bootc/${copr_distro}-\$releasever-\$basearch/
8888
type=rpm-md
89-
skip_if_unavailable=True
9089
gpgcheck=1
9190
gpgkey=https://download.copr.fedorainfracloud.org/results/rhcontainerbot/bootc/pubkey.gpg
9291
repo_gpgcheck=0
@@ -100,7 +99,6 @@ cat >/etc/yum.repos.d/coreos-continuous.repo <<REPOEOF
10099
name=Copr repo for continuous owned by @CoreOS
101100
baseurl=https://download.copr.fedorainfracloud.org/results/@CoreOS/continuous/${copr_distro}-\$releasever-\$basearch/
102101
type=rpm-md
103-
skip_if_unavailable=True
104102
gpgcheck=1
105103
gpgkey=https://download.copr.fedorainfracloud.org/results/@CoreOS/continuous/pubkey.gpg
106104
repo_gpgcheck=0

0 commit comments

Comments
 (0)