Skip to content

Commit 9de50eb

Browse files
committed
ci: fix yum repos to use devel site instead of old site name [citest_skip]
Some of the older Testing Farm machines refer to the old site name in the yum repos. Ensure that they use the correct site name. Signed-off-by: Rich Megginson <rmeggins@redhat.com>
1 parent ac79a37 commit 9de50eb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

plans/test_playbooks_parallel.fmf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ prepare:
3434
if grep -q 'CentOS Linux release 7.9' /etc/redhat-release; then
3535
sed -i '/^mirror/d;s/#\?\(baseurl=http:\/\/\)mirror/\1vault/' /etc/yum.repos.d/*.repo
3636
fi
37+
- name: Ensure use of devel site for yum repos
38+
script: |
39+
sed -i -e 's|\.lab\.bos\.|.devel.|g' -e 's|\.eng\.bos\.|.devel.|g' /etc/yum.repos.d/*.repo
3740
discover:
3841
- name: Prepare managed node
3942
how: fmf

0 commit comments

Comments
 (0)