File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -129,6 +129,7 @@ often useful to redirect/duplicate to a log by setting `ANSIBLE_LOG_PATH`.
129129
130130There is also ` /tmp/blivet.log ` in case there are problems doing the actual
131131storage management.
132+
132133## Running CI Tests Locally
133134
134135### Use tox-lsr with qemu
Original file line number Diff line number Diff line change @@ -59,15 +59,6 @@ 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
7162discover:
7263 - name: Prepare managed node
7364 how: fmf
@@ -90,5 +81,11 @@ discover:
9081 # filter: tag:reserve_system
9182 # url: https://github.com/linux-system-roles/tft-tests
9283 # 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
9390execute:
94- how: tmt
91+ how: tmt
You can’t perform that action at this time.
0 commit comments