diff --git a/plans/main.fmf b/plans/main.fmf index d87b1f75d..213cdba92 100644 --- a/plans/main.fmf +++ b/plans/main.fmf @@ -2,26 +2,28 @@ discover: how: fmf execute: how: tmt -adjust: +prepare: + - how: feature + epel: enabled - when: initiator == packit because: "We need to test with updated packages from rhcontainerbot/podman-next copr" - prepare+: - how: shell - script: | - sed -i -n '/^priority=/!p;$apriority=1' /etc/yum.repos.d/*podman-next*.repo - dnf -y upgrade --allowerasing + how: shell + script: | + sed -i -n '/^priority=/!p;$apriority=1' /etc/yum.repos.d/*podman-next*.repo + dnf -y upgrade --allowerasing + if [[ $(rpm --eval '%{?rhel}') == 10 ]]; then + dnf -y copr enable rhcontainerbot/bats-el10 + dnf -y install bats + fi # FIXME: Use epel10 once bats is available there - - when: distro == centos-stream-10 or distro == rhel-10 - because: "bats isn't yet available on epel10" - prepare+: - how: install - copr: rhcontainerbot/bats-el10 - package: bats - - when: distro == centos-stream-9 or distro == rhel-9 - because: "bats is present on EPEL on rhel9 / c9s" - prepare+: - how: feature - epel: enabled + #- when: + # - distro == centos-stream-10 + # - distro == rhel-10 + # because: "bats isn't yet available on epel10" + # how: install + # copr: rhcontainerbot/bats-el10 + # package: bats + # missing: skip /upstream: summary: Run crun specific Podman system tests on upstream PRs