tests: Fix wrong crb repo name for CentOS

Related: rhbz#2001107
This commit is contained in:
Jesus Checa Hidalgo 2022-02-03 16:19:34 +01:00
parent ca684864ca
commit 90636cd9e5
1 changed files with 10 additions and 3 deletions

View File

@ -23,17 +23,24 @@ adjust:
WITH_SCL: "scl enable llvm-toolset-13.0 rust-toolset-1.58"
when: "collection == llvm-toolset-13.0"
# Unfortunatelly, TMT does not support more declarative approach, we need to run commands on our own.
# Unfortunately, TMT does not support more declarative approach, we need to run commands on our own.
- because: "On RHEL, CRB must be enabled to provide rarer packages"
when: >-
distro == centos
or distro == rhel-9
distro == rhel-9
or distro == rhel-8
prepare+:
- name: Enable CRB
how: shell
script: dnf config-manager --set-enabled rhel-CRB
- because: "On CentOS, CRB must be enabled to provide rarer packages"
when: >-
distro == centos
prepare+:
- name: Enable CRB
how: shell
script: dnf config-manager --set-enabled crb
discover:
- name: upstream-lldb-tests
how: fmf