File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,6 +59,15 @@ prepare:
5959 if grep -q 'CentOS Linux release 7.9' /etc/redhat-release; then
6060 sed -i '/^mirror/d;s/#\?\(baseurl=http:\/\/\)mirror/\1vault/' /etc/yum.repos.d/*.repo
6161 fi
62+ # Replace with feature: epel: enabled once https://github.com/teemtee/tmt/pull/3128 is merged
63+ - name: Enable epel to install beakerlib
64+ script: |
65+ # CS 10 and Fedora doesn't require epel
66+ if grep -q -e 'CentOS Stream release 10' -e 'Fedora release' /etc/redhat-release; then
67+ exit 0
68+ fi
69+ yum install epel-release yum-utils -y
70+ yum-config-manager --enable epel epel-debuginfo epel-source
6271discover:
6372 - name: Prepare managed node
6473 how: fmf
@@ -81,11 +90,5 @@ discover:
8190 # filter: tag:reserve_system
8291 # url: https://github.com/linux-system-roles/tft-tests
8392 # ref: main
84- adjust:
85- - when: distro == rhel-9 or distro == centos-stream-9 or distro == rhel-10 or distro == centos-stream-10
86- prepare+:
87- - how: feature
88- epel: enabled
89- order: 10
9093execute:
91- how: tmt
94+ how: tmt
You can’t perform that action at this time.
0 commit comments