From 6dea28937cb02d1771e7ce0f3266296d9357fb35 Mon Sep 17 00:00:00 2001 From: Jesus Checa Hidalgo Date: Thu, 3 Feb 2022 15:47:43 +0100 Subject: [PATCH] tests: Fix wrong crb repo name for CentOS Related: rhbz#2107785 --- tests/build-gating.fmf | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/tests/build-gating.fmf b/tests/build-gating.fmf index 03417e9..6ce97b8 100644 --- a/tests/build-gating.fmf +++ b/tests/build-gating.fmf @@ -18,17 +18,24 @@ adjust: and trigger != build enabled: false - # 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: lld-upstream-tests how: fmf