Skip to content

Commit

Permalink
tmt: Disable fedora repo for C10 tests
Browse files Browse the repository at this point in the history
https://issues.redhat.com/browse/TFT-2564 roars its ugly head again and
completely breaks installation due to installing Fedora packages on
CentOS 10.

Move the cockpit-podman to procedural code after disabling that repo.

See containers/podman#24255
  • Loading branch information
martinpitt committed Oct 14, 2024
1 parent fee8751 commit 57c0ea4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions test/browser/browser.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
set -eux
cd "${0%/*}/../.."

# counteract https://issues.redhat.com/browse/TFT-2564 which breaks EVERYthing
if grep -q 'platform:el10' /etc/os-release; then
rm -f --verbose /etc/yum.repos.d/fedora.repo
fi
dnf install -y cockpit-podman

# HACK: ensure that critical components are up to date: https://github.com/psss/tmt/issues/682
dnf update -y podman crun conmon criu

Expand Down
3 changes: 2 additions & 1 deletion test/browser/main.fmf
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
require:
- systemd-container
- cockpit-podman
# install dynamically due to https://issues.redhat.com/browse/TFT-2564
# - cockpit-podman
- cockpit-ws
- cockpit-system
- criu
Expand Down

0 comments on commit 57c0ea4

Please sign in to comment.