Skip to content

Commit 2a6ea65

Browse files
committed
try with native epel feature
Signed-off-by: Lokesh Mandvekar <[email protected]>
1 parent 2861d3f commit 2a6ea65

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

plans/main.fmf

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,15 @@ discover:
33
execute:
44
how: tmt
55
prepare:
6-
- when: distro == centos-stream or distro == rhel
7-
how: shell
8-
script: |
9-
dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-$(rpm --eval '%{?rhel}').noarch.rpm
10-
dnf -y config-manager --set-enabled epel
11-
order: 10
6+
- how: feature
7+
epel: enabled
128
- when: initiator == packit
139
how: shell
1410
script: |
1511
COPR_REPO_FILE="/etc/yum.repos.d/*podman-next*.repo"
1612
if compgen -G $COPR_REPO_FILE > /dev/null; then
1713
sed -i -n '/^priority=/!p;$apriority=1' $COPR_REPO_FILE
1814
fi
19-
# We don't want the podman-next rpm to override the one from the PR copr build
20-
dnf -y upgrade --allowerasing --exclude=container-selinux
21-
order: 20
2215

2316
/basic_check:
2417
discover+:

0 commit comments

Comments
 (0)