Skip to content

Commit

Permalink
TMT: account for environments on internal testing farm ranch
Browse files Browse the repository at this point in the history
RHEL envs on the internal redhat testing farm ranch don't have any easy way
to install and enable the `epel-release` package.

Also, CentOS-Stream envs on the internal ranch have EPEL installed but
disabled.

This PR should account for both these envs. The tests on public ranch
should continue unaffected.

The packages required for testing have also been moved to the plan
preparation stage itself.

Signed-off-by: Lokesh Mandvekar <[email protected]>
  • Loading branch information
lsm5 committed Jan 17, 2025
1 parent 8d17a91 commit 018f774
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions plans/main.fmf
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,25 @@ discover:
execute:
how: tmt
prepare:
- how: feature
epel: enabled
- when: distro == rhel
how: install
package: https://dl.fedoraproject.org/pub/epel/epel-release-latest-$(rpm --eval '%{?rhel}').noarch.rpm
order: 5
- when: distro == centos-stream or distro == rhel
how: shell
script: dnf -y config-manager --set-enabled epel
order: 10
- when: initiator == packit
because: "We need to test with updated packages from rhcontainerbot/podman-next copr"
how: shell
script: |
sed -i -n '/^priority=/!p;$apriority=1' /etc/yum.repos.d/*podman-next*.repo
dnf -y upgrade --allowerasing
order: 20
- how: install
package:
- bats
- crun
- podman-tests

/upstream:
summary: Run crun specific Podman system tests on upstream PRs
Expand Down

0 comments on commit 018f774

Please sign in to comment.