Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
Signed-off-by: Lokesh Mandvekar <[email protected]>
  • Loading branch information
lsm5 committed Jan 2, 2025
1 parent bd4f773 commit 7a09663
Showing 1 changed file with 19 additions and 17 deletions.
36 changes: 19 additions & 17 deletions plans/main.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7a09663

Please sign in to comment.